frikky / malware_verify

New version of malware_verification. Controlled system
0 stars 0 forks source link

On Nontype input - QRadar test #1

Open frikky opened 7 years ago

frikky commented 7 years ago

Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.kwargs) File "server.py", line 187, in handle_request vt_positive = vt["positives"] TypeError: 'bool' object has no attribute 'getitem__'

frikky commented 7 years ago

Added TypeError to trycatch

frikky commented 7 years ago

Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "server.py", line 194, in handle_request if ret["rule_counter"] > 0: KeyError: 'rule_counter'

Another /o\