mrp!
git-svn-id: file:///home/svn/incoming/trunk@2811 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ded1cec87a
commit
2e9d8751fa
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/ruby
|
||||
|
||||
$: << 'lib' << '../lib' << '../../lib'
|
||||
|
||||
require 'socket'
|
||||
reqiure 'rex'
|
||||
require 'Rex/Post/Meterpreter'
|
||||
|
||||
if(ARGV.length != 2)
|
||||
puts "usage: <ip> <port>"
|
||||
exit(1)
|
||||
end
|
||||
|
||||
sock = TCPSocket.new(ARGV[0], ARGV[1])
|
||||
|
||||
c = Rex::Post::Meterpreter::Client.new(sock)
|
||||
|
||||
c.core.use('Stdapi')
|
||||
|
||||
@c = c
|
||||
|
||||
irb
|
Loading…
Reference in New Issue