fixed msfcli with missing require

bug/bundler_fix
byt3bl33d3r 2014-08-05 09:38:33 +02:00
parent f25bb735a0
commit 77bba6e4ee
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# -*- coding: binary -*-
require 'rex'
require 'forwardable'
module Rex
module Exploitation
@ -13,7 +14,7 @@ module Powershell
include Parser
include Obfu
# Pretend we are actually a string
extend Forwardable
extend ::Forwardable
# In case someone messes with String we delegate based on its instance methods
# eval %Q|def_delegators :@code, :#{::String.instance_methods[0..(String.instance_methods.index(:class)-1)].join(', :')}|
def_delegators :@code, :each_line, :strip, :chars, :intern, :chr, :casecmp, :ascii_only?, :<, :tr_s,