mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
3231175b0e
git-svn-id: file:///home/svn/framework3/trunk@3926 4d416f70-5f16-0410-b530-b9f4589650da
13 lines
371 B
Ruby
Executable File
13 lines
371 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
#
|
|
# This user interface provides users with a command console interface to the
|
|
# framework.
|
|
#
|
|
|
|
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
|
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
|
|
|
msfserv = File.join(File.dirname(msfbase), 'data', 'msfweb', 'script', 'server')
|
|
system(msfserv, '-p', '55555', '-b', '127.0.0.1')
|
|
|