Skip to content

Commit

Permalink
add severity, cgi paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Sep 29, 2020
1 parent 9a3b351 commit cf07ccc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rules/vulnerabilities/rule_shellshock.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self):
self.rule_confirm = 'Shellshock RCE'
self.rule_details = ''
self.rule_mitigation = '''Patch the vulnerable system's kernel to a non-vulnerable version.'''
self.intensity = 1
self.intensity = 3

def check_rule(self, ip, port, values, conf):
c = ConfParser(conf)
Expand All @@ -33,7 +33,6 @@ def check_rule(self, ip, port, values, conf):
if not resp:
continue


if resp and re.search('root:[x*]:0:0', resp.text):
self.rule_details = 'Remote Code Execution Shellshock'
js_data = {
Expand Down

0 comments on commit cf07ccc

Please sign in to comment.