Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/usr/local/bin/thirdparty/bottle/bottle.py", line 935, in _inner_handle
- return route.call(**args)
- File "/usr/local/bin/thirdparty/bottle/bottle.py", line 1888, in wrapper
- rv = callback(*a, **ka)
- File "/usr/local/bin/lib/utils/api.py", line 493, in scan_start
- DataStore.tasks[taskid].engine_start()
- File "/usr/local/bin/lib/utils/api.py", line 172, in engine_start
- ["sqlmap", "--pickled-options", base64pickle(self.options)], shell=False, close_fds=not IS_WIN)
- File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
- errread, errwrite)
- File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
- raise child_exception
- OSError: [Errno 2] No such file or directory
- def scan_start(self):
- '''
- Start Scan
- '''
- payload = {'url': self.target}
- url = self.server + 'scan/' + self.taskid + '/start'
- print url
- re = requests.post(url, data=json.dumps(
- payload), headers=self.headers).text
- print json.dumps(payload)
- task = json.loads(re)
- self.engineid = task['engineid']
- if len(str(self.engineid)) > 0 and task['success']:
- print 'Started scan'
- return True
- return False
Add Comment
Please, Sign In to add comment