Open pwna5aurus opened 5 years ago
@pwna5aurus: Will look into this. BDW I have noticed from your comment that you are using windows box to run astra. We have not tested it in windows so we are not sure if that will work. I would recommend to use it linux or mac. Also, ImportError mentioned in your comment is limited to CLI version so you can use web interface of Astra to run the scan.
Same problem on OS X with python 2.7.15 . I'll try the web interface as well
I have tried with couple of versions 2.7.14 & 2.7.15 on OSX still no luck.
@brianonn : Are you able to access through web interface?
@coffee-cat-007 : Try through web interface.
Heya,
OS: Ubuntu 16.04 Python version 2.7
Here's the traceback while trying to run the web interface
Traceback (most recent call last): File "api.py", line 38, in
from astra import File "../astra.py", line 14, in from core.zapscan import ImportError: No module named zapscan
While there is zapscan.py inside the directory core, looks like the path is not read
Commenting out line 38 in api.py works with web interface. '# from astra import *'
I have to try this
astra.py has to be launched from directory /app/API, like this:
/app/API # python /app/astra.py --help
A mi me funciono de la siguiente manera:
cd Astra/API/
python ../astra.py --help
y listo! Gracias @true-hero por la idea!
The API/api.py is importing * from astra which recursively imports API/api.py, and the logic to skip the import on iterative imports:
isn't working. Here's the trace-back: