/usr/bin/ruby vs /usr/bin/env ruby

git-svn-id: file:///home/svn/incoming/trunk@3242 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore
2005-12-17 06:46:23 +00:00
parent e434262050
commit 88658064df
203 changed files with 203 additions and 203 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'machinetestinternal'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I../../lib
#!/usr/bin/env ruby -I../../lib
require 'Rex/Post'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I. -I../../lib
#!/usr/bin/env ruby -I. -I../../lib
require 'DemoClient'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I. -I../../lib
#!/usr/bin/env ruby -I. -I../../lib
require 'DemoClient'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I. -I../../lib
#!/usr/bin/env ruby -I. -I../../lib
require 'DemoClient'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I. -I../../lib
#!/usr/bin/env ruby -I. -I../../lib
require 'DemoClient'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I. -I../../lib
#!/usr/bin/env ruby -I. -I../../lib
require 'DemoClient'
require 'Rex/Socket/Parameters'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I../../lib
#!/usr/bin/env ruby -I../../lib
require 'Rex/Post'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$: << 'lib' << '../lib' << '../../lib'
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# This sample demonstrates how a module's information can be easily serialized
# to a readable format.
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# This sample demonstrates how a file can be encoded using a framework
# encoder.
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# This sample demonstrates enumerating all of the modules in the framework and
# displays their module type and reference name.
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# This sample demonstrates using the framework core directly to launch an
# exploit. It makes use of the simplified exploit wrapper method provided by
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# This sample demonstrates using the framework core directly to launch an
# exploit. It uses the framework base Framework class so that the
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'test/unit'
require 'msf/base'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'test/unit'
require 'msf/base'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'test/unit'
require 'msf/core'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# This is a helper to a easy way to specify support platforms. It will take a
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I..
#!/usr/bin/env ruby -I..
require 'test/unit'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Arch
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Arch
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'tempfile'
require 'rex/file'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Encoder
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoder/xor'
require 'rex/encoding/xor/dword'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoder/xor'
require 'rex/encoding/xor/dword_additive'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/arch/x86'
require 'rex/encoder/xor/dword'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', 'dev', 'machinetest'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoder/xor/dword_additive'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', 'dev', 'machinetest'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# make sure the namespace is created
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoding/xor/generic'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoding/xor/generic'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoding/xor/exceptions'
require 'rex/encoding/xor/generic'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Encoding
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoding/xor/exceptions'
require 'rex/text'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/encoding/xor/generic'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'socket'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'socket'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
# General independent containers
require 'rex/post/permission'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Post
+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/dispatch_ninja/client.rb'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/dispatch_ninja/file'
require 'rex/post/dispatch_ninja/file_stat'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/dir'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/file'
require 'rex/post/dispatch_ninja/io'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/file_stat'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/io'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/process'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/io'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# This is just a container class basically, that acts like File::Struct
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Post
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/meterpreter/client'
require 'rex/post/meterpreter/ui/console'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/meterpreter/inbound_packet_handler'
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Post
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/meterpreter/channel'
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/meterpreter/channels/pool'
require 'rex/post/meterpreter/extensions/stdapi/tlv'
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/meterpreter/channels/pool'
require 'rex/post/meterpreter/extensions/stdapi/tlv'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/io/stream_abstraction'
require 'rex/post/meterpreter/channel'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'socket'
require 'rex/post/meterpreter/client_core'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/meterpreter/packet'
require 'rex/post/meterpreter/extension'
+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/permission'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Post
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Post
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
module Rex
module Post
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
require 'rex/post/meterpreter/extensions/priv/tlv'
require 'rex/post/meterpreter/extensions/priv/passwd'

Some files were not shown because too many files have changed in this diff Show More