Bitwise-01 / Loki

Remote Access Tool
MIT License
570 stars 220 forks source link

Traceback when creating payload #39

Open f1nzo opened 2 years ago

f1nzo commented 2 years ago

Traceback (most recent call last): File "/usr/lib/python3.8/shutil.py", line 791, in move os.rename(src, real_dst) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpm0txckab/application/.payload.exe' -> '.bin/.payload.exe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "builder.py", line 159, in executor.start() File "builder.py", line 124, in start self.compile_bot() File "builder.py", line 108, in compile_bot self.move_file(self.bot_compiled, payload_output) File "builder.py", line 121, in move_file shutil.move(path, output_dir) File "/usr/lib/python3.8/shutil.py", line 811, in move copy_function(src, real_dst) File "/usr/lib/python3.8/shutil.py", line 435, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "/usr/lib/python3.8/shutil.py", line 264, in copyfile with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpm0txckab/application/.payload.exe'