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

only working with ethernet? #115

Closed Burgercraft closed 1 year ago

Burgercraft commented 1 year ago

I can't connect with Kali or Villain with Wlan and its just not working without lan. I kinda need it for a school project there is only Wlan so i don't know what to do. I have the adapters o briged and a wireless networkadapter. In the internet slot is only Ethernet network. maybe it has to do with that.

t3l3machus commented 1 year ago

In order to establish cross network communications, you need to implement the appropriate routes. Villain uses (by default) port 6501 to connect with others, and ports 4443 & 8080 to catch incoming shells. These ports must be publicly accessible on the machine(s) you are running Villain in order to work. To do that, you have to log in to your router's interface and navigate to the port forwarding menu, usually called "Virtual Servers" (it could have other names depending on the router, you must look around to locate it). From there, you can set a public port on your router to redirect all traffic to a specified host (ip) and port in your LAN. After you set port forwarding correctly for the 3 ports i mentioned, Villaint will work fine. I suggest you first try setting up a simple python or apache http server, configure the port forwarding and verify it works by accessing the server using your public ip address.

Burgercraft commented 1 year ago

Thx it worked your a life saver.