No real reason for this check

And it breaks stuff when msfvenom is run as a symlink
bug/bundler_fix
James Lee 2016-02-12 10:49:18 -06:00
parent 1ec87d6250
commit 541e3972f0
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 306 additions and 310 deletions

View File

@ -1,8 +1,6 @@
#!/usr/bin/env ruby
# -*- coding: binary -*-
if __FILE__ == $0
msfbase = __FILE__
while File.symlink?(msfbase)
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
@ -361,5 +359,3 @@ if __FILE__ == $0
# trailing newline for pretty output
$stderr.puts unless payload =~ /\n$/
end
end