Jump to content

Recon Scan API return "Module returned empty response"


Rainybow
 Share

Recommended Posts

use python api to scan,return {'error': 'Module returned empty response'}

device:NANO 2.4.2

python :

payload: {"apiToken": "c1e60aafbaff57574dc141a6be5050f32aef704825727150180a507bc0c4b336d1ed529218cbff41f222fd404236ffc4c255f147c5f03e2b05acb4f6ee868154", "system": "notifications", "action": "addNotification", "message": "Hello API"}
url: http://172.16.42.1:1471/api/
headers: {'User-Agent': 'PyPapple v0.1', 'Content-Type': 'application/json', 'Accept': 'application/json,'}
{'success': True}
payload: {"apiToken": "c1e60aafbaff57574dc141a6be5050f32aef704825727150180a507bc0c4b336d1ed529218cbff41f222fd404236ffc4c255f147c5f03e2b05acb4f6ee868154", "system": "notifications", "action": "listNotifications"}
url: http://172.16.42.1:1471/api/
headers: {'User-Agent': 'PyPapple v0.1', 'Content-Type': 'application/json', 'Accept': 'application/json,'}
[{'message': 'Hello API', 'time': '2019-03-23 14:31:29'}]
payload: {"apiToken": "c1e60aafbaff57574dc141a6be5050f32aef704825727150180a507bc0c4b336d1ed529218cbff41f222fd404236ffc4c255f147c5f03e2b05acb4f6ee868154", "module": "Recon", "action": "startScan", "scanType": "apOnly", "scanDuration": 10}
url: http://172.16.42.1:1471/api/
headers: {'User-Agent': 'PyPapple v0.1', 'Content-Type': 'application/json', 'Accept': 'application/json,'}
{'error': 'Module returned empty response'}

 

Link to comment
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.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...