Guest User

Untitled

a guest
Oct 19th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/local/bin/thirdparty/bottle/bottle.py", line 935, in _inner_handle
  3. return route.call(**args)
  4. File "/usr/local/bin/thirdparty/bottle/bottle.py", line 1888, in wrapper
  5. rv = callback(*a, **ka)
  6. File "/usr/local/bin/lib/utils/api.py", line 493, in scan_start
  7. DataStore.tasks[taskid].engine_start()
  8. File "/usr/local/bin/lib/utils/api.py", line 172, in engine_start
  9. ["sqlmap", "--pickled-options", base64pickle(self.options)], shell=False, close_fds=not IS_WIN)
  10. File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
  11. errread, errwrite)
  12. File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
  13. raise child_exception
  14. OSError: [Errno 2] No such file or directory
  15.  
  16. def scan_start(self):
  17. '''
  18. Start Scan
  19. '''
  20. payload = {'url': self.target}
  21. url = self.server + 'scan/' + self.taskid + '/start'
  22. print url
  23. re = requests.post(url, data=json.dumps(
  24. payload), headers=self.headers).text
  25. print json.dumps(payload)
  26. task = json.loads(re)
  27. self.engineid = task['engineid']
  28. if len(str(self.engineid)) > 0 and task['success']:
  29. print 'Started scan'
  30. return True
  31. return False
Add Comment
Please, Sign In to add comment