Loki icon indicating copy to clipboard operation
Loki copied to clipboard

unable to build agent

Open tehseensagar opened this issue 6 years ago • 1 comments

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 `

tehseensagar avatar Oct 02 '19 06:10 tehseensagar

Try changing directories into agent folder

Bitwise-01 avatar Oct 02 '19 12:10 Bitwise-01