Jump to content

Recon status - completed: false


Recommended Posts

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?

Link to post
Share on other sites
  • 1 month later...

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 + "\"}

  • Upvote 1
Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...