Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build agent #21

Open
tehseensagar opened this issue Oct 2, 2019 · 1 comment
Open

unable to build agent #21

tehseensagar opened this issue Oct 2, 2019 · 1 comment

Comments

@tehseensagar
Copy link

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
Copy link
Owner

Try changing directories into agent folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants