Closed AmandaBSobrinho closed 5 years ago
@AmandaBSobrinho Can you try the same from the web interface?
With the web interface, I also have no response after the scan has supposedly started. When I click "Submit" after informing the Product Name, the URL and the Method (the Headers and the Body are left blank), I get a status.
After clicking "OK", nothing happens. There is no information about the scan, if it has started, ended or anything.
Clicking on "Reports" gives me the same answer I got before with the CLI.
Am I using the Web Interface incorrectly?
Are you using Docker version? Also, can you check if your mongo server is running properly ?
No, I'm not using docker version, I installed it with pip (sudo pip install -r requirements.txt), because I wasn't able to make it work with Docker. I first run nohup mongod &, and then netstat -ntlvp, which gives me the answer:
Then, I run the command to start Astra (python api.py, inside the API folder).
Oh, and this error is showing up on terminal after I start the scan on the web interface. Maybe it can help.
@AmandaBSobrinho Can you share your flask,python and mongo version?
Sure! Here it is:
Flask version: 0.10.1 Python version: 2.7.15+ Mongo version: v3.4.18
@AmandaBSobrinho This might be a problem with flask version. Can you update the flask version and try?
I think your mongo is not running. Please check the status for the same. you can see before and after mongod server start and stop.
Hi! So, I tried starting MongoDB with "service mongdb start", but it's still not working. In the image below, we can see that MongoDB has been started and is running on port 27017.
Then, I run "python api.py" to start the Web Interface, and I click on "Submit" to start the scan.
Again, nothing shows up and when I click on "Reports", I still can't see anything.
The terminal where I ran "python api.py" shows the same error I mentioned before:
@sagarpo Thank you so much for your suggestion, that was the problem exactly! I ran "pip install --upgrade Flask" and everything worked out just fine! @lucky73 thanks for your help as well!
I tested 25 web services and I am getting the same error on 8 of them. I am using the docker version. Any help would be appreciated
I installed Astra on Kali Linux 2018.4, and after the scan is finished on CLI (the message "Scan has been completed" shows up), a tab opens on Firefox and I believe it should show the report and the results. However, it shows the message "NoProduct NameurlStatus", and no report. What am I doing wrong? The images with this process follow.
This is the scan.log file: