t3l3machus / Villain

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

Prob a simple issue to fix :) #96

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hey whats up? So ive been playing around with Villain and i got these errors, (im connected via ssh to a raspberrypi with villain on it so thats prob why i get the missing symbol thingy) it works when i copy paste it to powershell but when i pull it from my github repository its wonky and gives me these errors. Im assuming that peers is a connected Villain machine but i havent shared any shells/connected to anyone. Thanks for the help :). (Btw ive obfuscated it like in ur videos but it works when i copy paste so i doubt thats the problem.)

[Error] Failed to establish a backdoor session: Connection reset by peer. [Error] Failed to establish a backdoor session: ConnectionResetError. Villain >

t3l3machus commented 1 year ago

Hey, the "Connection reset by peer" error indicates that the remote host that you are trying to establish a session against has sent you a RST packet, which means it dropped the connection. I can't know why this happens, it could be a number of reasons. Keep in mind: 1. Villain works better on kali linux (essentially Debian). What linux distro is your raspberry running on (should have Kali Linux for Raspberry installed)? Since you ssh into the raspeberry, are you sure that the host you are injecting a reverse shell can reach it (network wise)? Check that out and if you still have issues provide further info. Thanks for using Villain!

ghost commented 1 year ago

i am runing the raspberrian simple 32 bit one (i think the names something like that), its only the terminal, and as for being able to reach it it can because they are on the same network and it had also worked before. Im pretty sure it has something to do with the isues ive been having setting up a static ip and port forwarding, ill try again after i get those figured out. Thanks :).