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 609 forks source link

Upload command crashes session/tool #157

Closed R3d-Developer closed 3 months ago

R3d-Developer commented 3 months ago

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 918, in activate_pseudo_shell_session file_path = os.path.expanduser(cmd_list[1])


IndexError: list index out of range

is what im getting when typing upload not sure why this happens
t3l3machus commented 3 months ago

@R3d-Developer this happens because you're omitting the destination path (check help upload). The issue has been fixed in the dev branch among other things. It will be merged with the main branch soon. You can download and use the latest version with:

git clone https://github.com/t3l3machus/Villain.git --branch dev