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.77k stars 611 forks source link

Fix quotation in linux payloads #43

Closed buckley310 closed 1 year ago

buckley310 commented 1 year ago

The linux payload frequently emits this error message when processing commands.

bash: [: too many arguments

This just adds some quotes so the "if" statement processes correctly.