Symlink-friendly msf interfaces
git-svn-id: file:///home/svn/framework3/trunk@3795 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
a2c0c8fb7c
commit
ce52979566
3
msfcli
3
msfcli
|
@ -5,7 +5,8 @@
|
|||
# or web-based interface.
|
||||
#
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'rex'
|
||||
require 'msf/ui'
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
# framework.
|
||||
#
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'rex'
|
||||
require 'msf/ui'
|
||||
|
|
3
msfd
3
msfd
|
@ -6,7 +6,8 @@
|
|||
# possible for sessions to to be shared from a single vantage point.
|
||||
#
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'msf/base'
|
||||
require 'msf/ui'
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'rex'
|
||||
require 'msf/ui'
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
# This script lists each module by its licensing terms
|
||||
#
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'rex'
|
||||
require 'msf/ui'
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
# and to display information about modules.
|
||||
#
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'rex'
|
||||
require 'rex/ui'
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'rex'
|
||||
require 'msf/ui'
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
require 'rex/peparsey'
|
||||
require 'rex/pescan'
|
||||
|
|
4
msfweb
4
msfweb
|
@ -4,7 +4,9 @@
|
|||
# framework that can be shared.
|
||||
#
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
|
||||
require 'rex'
|
||||
require 'msf/ui'
|
||||
|
|
4
msfwx
4
msfwx
|
@ -3,7 +3,9 @@
|
|||
# This is a basic user interface using the Wx GUI library
|
||||
#
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
||||
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
|
||||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
|
||||
|
||||
require 'rex'
|
||||
require 'msf/base'
|
||||
|
|
Loading…
Reference in New Issue