1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/msfweb
HD Moore 3231175b0e Replacement msfweb that starts up webrick
git-svn-id: file:///home/svn/framework3/trunk@3926 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-24 00:16:23 +00:00

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')