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

Alias not working for exec command #152

Closed WafflesExploits closed 1 week ago

WafflesExploits commented 4 weeks ago

Works fine for shell command:

image image ![image](https://github.com/t3l3machus/Villain/assets/15943431/7cf09115-1fd4-4721-9934-97c45d833e69

Doesn't work for exec command:

image

Still gives an error even if the command is quoted:

image

I think the problem is that for the exec command, it doesn't convert the alias to the original session id:

image image

t3l3machus commented 2 weeks ago

Thanks a lot for reporting this @WafflesExploits , I'll fix it.

WafflesExploits commented 2 weeks ago

Glad to hear that, really liked your tool!

t3l3machus commented 1 week ago

Fixed this in the Dev branch, soon to be merged with main. Thanks again @WafflesExploits