Skip to content

Commit d26a299

Browse files
author
Brent Cook
committed
Land rapid7#6052, organize tools into the new structure
2 parents 3a0f7ce + 10dc637 commit d26a299

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+43
-44
lines changed

spec/tools/cpassword_decrypt_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'spec_helper'
22

3-
load Metasploit::Framework.root.join('tools/cpassword_decrypt.rb').to_path
3+
load Metasploit::Framework.root.join('tools/password/cpassword_decrypt.rb').to_path
44

55
require 'msfenv'
66
require 'msf/base'

spec/tools/egghunter_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load Metasploit::Framework.root.join('tools/egghunter.rb').to_path
1+
load Metasploit::Framework.root.join('tools/exploit/egghunter.rb').to_path
22

33
require 'stringio'
44

spec/tools/java_deserializer_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'rex/java'
22
require 'stringio'
33

4-
load Metasploit::Framework.root.join('tools/java_deserializer.rb').to_path
4+
load Metasploit::Framework.root.join('tools/exploit/java_deserializer.rb').to_path
55

66
describe JavaDeserializer do
77

spec/tools/jsobfu_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'spec_helper'
22

3-
load Metasploit::Framework.root.join('tools/jsobfu.rb').to_path
3+
load Metasploit::Framework.root.join('tools/exploit/jsobfu.rb').to_path
44

55
require 'stringio'
66

spec/tools/md5_lookup_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load Metasploit::Framework.root.join('tools/md5_lookup.rb').to_path
1+
load Metasploit::Framework.root.join('tools/password/md5_lookup.rb').to_path
22

33
require 'rex/proto/http/response'
44
require 'stringio'

spec/tools/msu_finder_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load Metasploit::Framework.root.join('tools/msu_finder.rb').to_path
1+
load Metasploit::Framework.root.join('tools/exploit/msu_finder.rb').to_path
22

33
require 'nokogiri'
44
require 'uri'

spec/tools/virustotal_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'spec_helper'
22

3-
load Metasploit::Framework.root.join('tools/virustotal.rb').to_path
3+
load Metasploit::Framework.root.join('tools/exploit/virustotal.rb').to_path
44

55
require 'msfenv'
66
require 'msf/base'

tools/egghunter.rb renamed to tools/exploit/egghunter.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
while File.symlink?(msfbase)
55
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
66
end
7-
$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', 'lib')))
8-
require 'msfenv'
7+
$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', '..', 'lib')))
98
require 'rex'
109
require 'msf/core'
1110
require 'msf/base'

tools/exe2vba.rb renamed to tools/exploit/exe2vba.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
1414
end
1515

16-
$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', 'lib')))
16+
$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', '..', 'lib')))
1717
require 'msfenv'
1818

1919
$:.unshift(ENV['MSF_LOCAL_LIB']) if ENV['MSF_LOCAL_LIB']

tools/exe2vbs.rb renamed to tools/exploit/exe2vbs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
1313
end
1414

15-
$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', 'lib')))
15+
$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', '..', 'lib')))
1616
require 'msfenv'
1717

1818
$:.unshift(ENV['MSF_LOCAL_LIB']) if ENV['MSF_LOCAL_LIB']

0 commit comments

Comments
 (0)