No real reason for this check
And it breaks stuff when msfvenom is run as a symlinkbug/bundler_fix
parent
1ec87d6250
commit
541e3972f0
4
msfvenom
4
msfvenom
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue