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

Error generating windows payloads with domain argument. #70

Closed dchughes2 closed 1 year ago

dchughes2 commented 1 year ago

I get an error when trying to generate a windows payload with domain specified instead of lhost Villain was started with the command "sudo python3 Villain.py -c /etc/letsencrypt/live/mydomain.com/fullchain.pem -k /etc/letsencrypt/live/mydomain.com/privkey.pem" when i went to generate a payload i use this syntax "generate os=windows domain=mydomain.com" i have tried appending www. or removing the .com or even supplying google.com but no matter what is supplied the error message given back is always "Error parsing arguments. Check your input and try again." I will say that my domain is a bit longer than normal at 28 characters including the .com just in case that contributes to the problem. Any assistance you can offer is appreciated.

t3l3machus commented 1 year ago

I'll check it out, probably my mistake in the payload generation class, thanks

t3l3machus commented 1 year ago

@dchughes2 ok, I applied a fix, please update and try again, should work now. Thanks for opening an issue about this. In the next major update I am actually going to redesign the payload generator, it will be better and support more types of payloads.

dchughes2 commented 1 year ago

Sorry I completely forgot to reply to this months ago but obviously this fixed the issues I had, Thanks for fixing it so quick!

t3l3machus commented 1 year ago

@dchughes2 no problem! The update I was talking about is coming this week. The payload generator has been completely redesigned.