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.75k stars 605 forks source link

Unable to connect #101

Closed AyazJenkins closed 1 year ago

t3l3machus commented 1 year ago

Villain and hoaxshell use classic socket creation libraries. If the ports for some reason are not establish / not working, it is probably an issue with the specific host-OS you are running them on. Try a different machine / different user. Also, if you are port scanning a host running Villain from a machine in another network, you should probably port forward (search for "virtual servers" in your router's interface) to be able to reach those ports. This must be your case, since you say it works with ngrok.

t3l3machus commented 1 year ago

I've never tried these tools on Fedora, not sure what may be the issue. I would check again my port forwarding settings. Sometimes, depending on the router, there are protocol templates (and other configurations) for a socket route, which actually can mess things up if not configured correctly. Try port forwarding a simple python http server or netcat tcp listener and check if it works from a remote host. If you can make that work, it would be really weird for villain/hoaxshell to not work with the same settings.