TechnafellerSlim Posted October 24, 2016 Share Posted October 24, 2016 Recon + startScan runs with success {\"module\": \"Recon\", \"action\": \"startScan\", \"scanType\": \"apOnly\", \"scanDuration\": \"15\", \"apiToken\": \"" + token + "\"} response {\"success\":true,\"scanID\":53717986} Now trying to get the scan status gives no proper response for {\"module\": \"Recon\", \"action\": \"scanStatus\", \"scan\":{\"scanID\": \"921564248\", \"scanType\": \"apOnly\"}, \"apiToken\": \"" + token + "\"} response {\"completed\":false} what is wrong here? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted October 25, 2016 Share Posted October 25, 2016 A bug that has been located and fixed in the upcoming firmware release. Quote Link to comment Share on other sites More sharing options...
TechnafellerSlim Posted October 25, 2016 Author Share Posted October 25, 2016 Thanks. Any idea when is the next firmware update? Quote Link to comment Share on other sites More sharing options...
caldera Posted December 16, 2016 Share Posted December 16, 2016 Hi, Any update to this? I've got 1.1.3 and it's still garnering the same "completed: false" response. Thanks! Quote Link to comment Share on other sites More sharing options...
TechnafellerSlim Posted December 16, 2016 Author Share Posted December 16, 2016 caldera, The documentation says one thing and it's implemented another way. After many tries i was able to get it working. Here are the correct calls: START SCAN: "{\"module\": \"Recon\", \"action\": \"startScan\", \"scanType\": \"2\", \"scanDuration\": \"" + duration + "\", \"apiToken\": \"" + token + "\"}" GET RESULT - call it until you get the results after the specified duration: {\"module\": \"Recon\", \"action\": \"scanStatus\", \"scanID\": " + scanID + ", \"percent\": 0, \"apiToken\": \"" + token + "\"} 1 Quote Link to comment Share on other sites More sharing options...
caldera Posted January 4, 2017 Share Posted January 4, 2017 Just seeing this now—thanks so much for figuring this out and posting! Will give it a try this week. Quote Link to comment Share on other sites More sharing options...
caldera Posted January 5, 2017 Share Posted January 5, 2017 Just wanted to close this out: TechnafellerSlim's solution worked for me. Thanks again! Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted January 6, 2017 Share Posted January 6, 2017 We need to find a better way to keep track of any API updates, as right now it's mostly forgotten. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.