bats3c / shad0w

A post exploitation framework designed to operate covertly on heavily monitored environments
https://blog.dylan.codes/shad0w/
MIT License
2.03k stars 323 forks source link

port number in first execution #41

Closed merlin123h closed 4 years ago

merlin123h commented 4 years ago

Hi. i executed shad0w for first time. so, port number 80 is always in use. can i change port number to other numbers, such as 443, 8080 or ...? please guide me on how to do it. thanks.

bats3c commented 4 years ago

Hey, It is possible but will require you to not use the wrapper found in /usr/bin/shad0w and instead launch the shad0w docker container manually. This can be done with docker run -v $(pwd):/root/shad0w/.bridge -p 443:443 -it shad0w listen. Be warned that using this method will break the sharpsocks -q command. For sharpsocks to still be used you will have to be set it up manually both inside shad0w and when exposing ports though docker.