NullArray / AutoSploit

Automated Mass Exploiter
GNU General Public License v3.0
4.99k stars 1.13k forks source link

Unhandled Exception (f4121f8a2) #1288

Open AutosploitReporter opened 3 years ago

AutosploitReporter commented 3 years ago

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.txt and /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