Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

x4v1l0k
Copy link

@x4v1l0k x4v1l0k commented Jan 26, 2024

…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

…ad" function.

Villain > upload /tmp/test.txt
Traceback (most recent call last):
  File "/usr/share/villain/Villain.py", line 1534, in <module>
    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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant