Sha256: 5595a2fdb605bae596550049d74f245bcc2cd85af73b425afdac789a566b6639
Contents?: true
Size: 670 Bytes
Versions: 4
Compression:
Stored size: 670 Bytes
Contents
require 'ronin/exploits/exploit' require 'ronin/payloads/payload' require 'spec_helper' EXPLOITS_DIR = File.expand_path(File.join(File.dirname(__FILE__),'..','objects','exploits')) PAYLOADS_DIR = File.expand_path(File.join(File.dirname(__FILE__),'..','objects','payloads')) PAYLOAD_ENCODERS_DIR = File.join(PAYLOADS_DIR,'encoders') def load_exploit(name,base=Exploits::Exploit) base.load_from(File.join(EXPLOITS_DIR,"#{name}.rb")) end def load_payload(name,base=Payloads::Payload) base.load_from(File.join(PAYLOADS_DIR,"#{name}.rb")) end def load_payload_encoder(name,base=Payloads::Encoder) base.load_from(File.join(PAYLOAD_ENCODERS_DIR,"#{name}.rb")) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ronin-exploits-0.3.1 | spec/helpers/objects.rb |
ronin-exploits-0.3.0 | spec/helpers/objects.rb |
ronin-exploits-0.2.1 | spec/helpers/objects.rb |
ronin-exploits-0.2.0 | spec/helpers/objects.rb |