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 -*- # -*- coding: binary -*-
require 'rex' require 'rex'
require 'forwardable'
module Rex module Rex
module Exploitation module Exploitation
@ -13,7 +14,7 @@ module Powershell
include Parser include Parser
include Obfu include Obfu
# Pretend we are actually a string # Pretend we are actually a string
extend Forwardable extend ::Forwardable
# In case someone messes with String we delegate based on its instance methods # 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(', :')}| # 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, def_delegators :@code, :each_line, :strip, :chars, :intern, :chr, :casecmp, :ascii_only?, :<, :tr_s,