git-svn-id: file:///home/svn/incoming/trunk@2811 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Spoon M 2005-07-22 03:52:10 +00:00
parent ded1cec87a
commit 2e9d8751fa
1 changed files with 22 additions and 0 deletions

22
dev/meterpreter/mrp.rb Executable file
View File

@ -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