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

Generate the same payload each time. #85

Closed Blast02 closed 1 year ago

Blast02 commented 1 year ago

Hello, I wanted to try the tool on a windows 10 but the obfuscate function does not work and generates the same payload each time. If you can explain to me why that would be nice.

t3l3machus commented 1 year ago

@Blast02 the generate function was redesigned. You can still use the "obfuscate" keyword for windows/hoaxshell/powershell* payloads.

image

You can enable it for TCP socket type of payloads as well if you edit the templates and set "obfuscate" to True in the attrs but the obfuscator class has not been properly adjusted to work with them, meaning, sometimes it will generate obfuscated versions that may not work because of syntax errors.

image