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.64k stars 590 forks source link

Python library error #135

Closed calex80 closed 7 months ago

calex80 commented 7 months ago

I need help to solve this Python issue, which basically refers to UnboundLocalError: cannot access local variable 'raw_data' where it is not associated with a value

Any help?

image

t3l3machus commented 7 months ago

Hi, try commenting out line 1749 in villain_core.py

calex80 commented 7 months ago

I did it and the error is gone! but now I am receiving this another failure [Warning] failed to process a request.

image

t3l3machus commented 7 months ago

@calex80 make a backup of your villain_core.py. Then replace it with the one i attached and correct the file extension. Try whatever it is you are doing again, this time the full error msg will print and we can see the reason. villain_core.py.txt

calex80 commented 7 months ago

Thank you! it's working! so appretiated ;)

t3l3machus commented 7 months ago

if the error comes up, post it here so I can see what was the deal, thanks