-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
With the current form of the script, it would error out when uploading the ear file with the following message:
Uploading EAR file...
Traceback (most recent call last):
4: from me.rb:360:in <main>' 3: from /var/lib/gems/2.7.0/gems/librex-0.0.999/lib/rex/zip/archive.rb:107:in pack'
2: from /var/lib/gems/2.7.0/gems/librex-0.0.999/lib/rex/zip/archive.rb:107:in each' 1: from /var/lib/gems/2.7.0/gems/librex-0.0.999/lib/rex/zip/archive.rb:109:in block in pack'
/var/lib/gems/2.7.0/gems/librex-0.0.999/lib/rex/zip/blocks.rb:119:in pack': undefined method blank?' for nil:NilClass (NoMethodError)
I was able to resolve this and get the exploit working by requiring the ActiveSupport gem (require 'active_support').
Metadata
Metadata
Assignees
Labels
No labels