Skip to content

Commit 417f34e

Browse files
committed
Fix random compile c tool
1 parent 63822f6 commit 417f34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/exploit/random_compile_c.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def help
1616
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
1717
end
1818
$:.unshift(File.expand_path(File.join(File.dirname(msfbase), '..', '..', 'lib')))
19-
19+
require 'msfenv'
2020
require 'metasploit/framework/compiler/windows'
2121

2222
weight = ARGV.shift

0 commit comments

Comments
 (0)