t3l3machus / Villain

Villain is a high level stage 0/1 C2 framework that can handle multiple reverse TCP & HoaxShell-based shells, enhance their functionality with additional features (commands, utilities) and share them among connected sibling servers (Villain instances running on different machines).
Other
3.77k stars 611 forks source link

Add an option to enable the use of personalized port #12

Closed Leooliveoi closed 1 year ago

Leooliveoi commented 1 year ago

Hey guys, your tool is amazing but does not allow the user to change the default local port as the local host . by default, this is aways 8080.

For example:

generate os=windows lhost=10.0.0.1

This works, but if I want to use it with ngrok to avoid port forwarding restrictions, for example, I will need to change the port manually. When I use the 'encode' parameter I need to decode, edit the payload and encode again.

image

The Local Port parameter could improve the user experience 😉

t3l3machus commented 1 year ago

You can change the Hoaxshell engine port (default 8080) by specifying it with option -x when running Villain.py and Core server port (default 65001) with option -p.