Open ampresent opened 8 years ago
I got "kinda" the same problem - process monitor is fine for me though, and restarts target as it should:
But the fuzzer fails to continue, and gives the same error as above:
[2016-06-17 10:04:59,865] [INFO] -> procmon detected access violation on test case #1082 [2016-06-17 10:04:59,865] [INFO] -> primitive lacks a name, type: delim, default value: [2016-06-17 10:04:59,866] [INFO] -> [10:04.59] Crash : Test - 1082 Reason - Segmentation fault [2016-06-17 10:04:59,867] [WARNING] -> restarting target process
[2016-06-17 10:05:04,875] [CRITICAL] -> Restarting the target failed, exiting.
Exception happened during processing of request from ('127.0.0.1', 46996) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request self.RequestHandlerClass(request, client_address, self) File "/home/vagrant/PCS/week7-final/assignment/sulley/sulley/sessions.py", line 906, in init BaseHTTPServer.BaseHTTPRequestHandler.init(self, request, client_address, server) File "/usr/lib/python2.7/SocketServer.py", line 649, in init self.handle() File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle self.handle_one_request() File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request method() File "/home/vagrant/PCS/week7-final/assignment/sulley/sulley/sessions.py", line 922, in do_GET self.do_everything() File "/home/vagrant/PCS/week7-final/assignment/sulley/sulley/sessions.py", line 949, in do_everything response = self.view_index() File "/home/vagrant/PCS/week7-final/assignment/sulley/sulley/sessions.py", line 1083, in view_index response += '
' % (key, key, val.split("\n")[0], bytes) %06d %s %s AttributeError: 'NoneType' object has no attribute 'split'
I got this exception when I was trying my first sulley project, fuzzing apache. Any idea? I'm under ubuntu 15.04, btw
The output of process_monitor is as follows:
The fuzzing program:
from sulley import * from requests import http
def try_recv(sock): print 'SKIP!'
sess = sessions.session(session_filename="audits/apache2.session") target = sessions.target('127.0.0.1', 80) target.netmon = pedrpc.client('127.0.0.1', 26001) target.procmon = pedrpc.client('127.0.0.1', 26002) target.procmon_options = {'proc_name': 'apache2'}
sess.pre_send = try_recv sess.add_target(target) sess.connect(s_get("HTTP VERBS")) sess.connect(s_get("HTTP VERBS BASIC")) sess.connect(s_get("HTTP VERBS POST")) sess.connect(s_get("HTTP HEADERS")) sess.connect(s_get("HTTP COOKIE")) sess.fuzz()