sweetsoftware / Ares

Python botnet and backdoor
1.52k stars 476 forks source link

Agent.py #33

Closed AndrHacK closed 6 years ago

AndrHacK commented 7 years ago

Server.py and agent.py erorr

JavaRockstar commented 7 years ago

I'm having no problems running the Server on my Kali Linux machine I can see the HTTP Bot net page fine the problem I'm having is when I create the payload in Linux it gives of errors when executing in Windows. I will next try and create the agent with a Windows host has anyone had a similar problem when building the payloads.

simantmohan commented 6 years ago

I get the following error while I try to run the agent.py in Windows environment. File "agent.py", line 63 print command ^ SyntaxError: Missing parentheses in call to 'print'

sagar03d commented 6 years ago

Which version of python you are using?

simantmohan commented 6 years ago

i am using python 3

simantmohan commented 6 years ago

I have installed the Server on VPS. it works fine. No problem. I am trying to run the agent.py on my windows machine....

sagar03d commented 6 years ago

In python 3, you can only print as:

print("STRING") But in python 2, the parentheses are not necessary. You can try with python 2

simantmohan commented 6 years ago

I have tried to compile it in kali linux with pythin 2.7 this is the error i get. I guess it is meant to be complied in Windows Environment only.

File "agent.py", line 16, in from modules import screenshot File "/root/Desktop/Ares/agent/python/modules/screenshot.py", line 1, in from PIL import ImageGrab File "/usr/lib/python2.7/dist-packages/PIL/ImageGrab.py", line 22, in raise ImportError("ImageGrab is macOS and Windows only") ImportError: ImageGrab is macOS and Windows only

simantmohan commented 6 years ago

even I installed python 2.7 in windows. i get following error

Traceback (most recent call last): File "agent.py", line 3, in import requests ImportError: No module named requests

simantmohan commented 6 years ago

Hi Thanks For your help, I had to install dependencies. Also, PIL was creating a problem so I installed Pillow and it got resolved. Yet there is an issue. I have posted it separately.

kimocoder commented 6 years ago

python-requests is missing. missing dependencies.

have pip? then install using "pip install requests"