Bitwise-01 / Loki

Remote Access Tool
MIT License
570 stars 220 forks source link

unable to build agent #21

Open tehseensagar opened 4 years ago

tehseensagar commented 4 years ago

I'm trying to build an agent for loki but failed to build

python3.7 -i x.x.x.x -p 443 -n mypayload -t exe

`Traceback (most recent call last): File "agent/builder.py", line 172, in executor.start() File "agent/builder.py", line 134, in start self.compile_bot() File "agent/builder.py", line 93, in compile_bot self.write_template(self.bot_template, self.bot_py_temp, _dict) File "agent/builder.py", line 77, in write_template for _data in File.read(template, False): File "/opt/Loki-master/agent/lib/file.py", line 12, in read with open(file, 'rb' if _bytes else 'rt') as f: FileNotFoundError: [Errno 2] No such file or directory: 'bot/template_bot.py'

I'm using Ubuntu 16.04 .

Regards `

Bitwise-01 commented 4 years ago

Try changing directories into agent folder