AutoSploit icon indicating copy to clipboard operation
AutoSploit copied to clipboard

Unhandled Exception (f4121f8a2)

Open AutosploitReporter opened this issue 5 years ago • 0 comments

Autosploit version: 4.0 OS information: Linux-5.4.0-52-generic-x86_64-with-Ubuntu-18.04-bionic Running context: autosploit.py Error mesage: ``hosts.txtand/home/pc/Downloads/AutoSploit/hosts.txt are the same file Error traceback:

Traceback (most recent call):
 File "/home/pc/Downloads/AutoSploit/lib/term/terminal.py", line 644, in terminal_main_display
    self.do_load_custom_hosts(choice_data_list[-1])
  File "/home/pc/Downloads/AutoSploit/lib/term/terminal.py", line 456, in do_load_custom_hosts
    shutil.copy(file_path, lib.settings.HOST_FILE)
  File "/usr/lib/python2.7/shutil.py", line 139, 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 `/home/pc/Downloads/AutoSploit/hosts.txt` are the same file

Metasploit launched: False

AutosploitReporter avatar Oct 29 '20 15:10 AutosploitReporter