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.75k stars 605 forks source link

Fixed exception when the destination path does not exist in the "uplo… #141

Closed x4v1l0k closed 2 months ago

x4v1l0k commented 8 months ago

…ad" function.

Villain > upload /tmp/test.txt Traceback (most recent call last): File "/usr/share/villain/Villain.py", line 1534, in main() File "/usr/share/villain/Villain.py", line 1162, in main Hoaxshell.activate_pseudo_shell_session(session_id, os_type) File "/usr/share/villain/Core/villain_core.py", line 934, in activate_pseudo_shell_session File_Smuggler.upload_file(file_contents, cmd_list[2], session_id)


IndexError: list index out of range
t3l3machus commented 2 months ago

Hi @x4v1l0k, thank you, I redirected this to the dev branch, soon to be merged with main.