Skip to content

Unhandled Exception (c40d27dd5) #1159

@AutosploitReporter

Description

@AutosploitReporter

Autosploit version: 3.1.2
OS information: Linux-3.10.0-862.el7.x86_64-x86_64-with-Ubuntu-18.04-bionic
Running context: autosploit.py
Error mesage: ``hosts.txtand/AutoSploit/hosts.txt` are the same file`
Error traceback:

Traceback (most recent call):
 File "/AutoSploit/autosploit/main.py", line 116, in main
    terminal.terminal_main_display(loaded_tokens)
  File "/AutoSploit/lib/term/terminal.py", line 543, in terminal_main_display
    self.do_load_custom_hosts(choice_data_list[-1])
  File "/AutoSploit/lib/term/terminal.py", line 407, in do_load_custom_hosts
    shutil.copy(file_path, lib.settings.HOST_FILE)
  File "/usr/lib/python2.7/shutil.py", line 133, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
    raise Error("`%s` and `%s` are the same file" % (src, dst))
Error: `hosts.txt` and `/AutoSploit/hosts.txt` are the same file

Metasploit launched: False

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions