Module: PWN::Banner::Radare2
- Defined in:
- lib/pwn/banner/radare2.rb
Overview
This plugin processes images into readable text
Class Method Summary collapse
-
.authors ⇒ Object
- Author(s)
-
0day Inc.
-
.get ⇒ Object
- Supported Method Parameters
-
PWN::Banner::Radare2.get.
-
.help ⇒ Object
Display Usage for this Module.
Class Method Details
.authors ⇒ Object
- Author(s)
-
0day Inc. <[email protected]>
24 25 26 27 28 |
# File 'lib/pwn/banner/radare2.rb', line 24 public_class_method def self. "AUTHOR(S): 0day Inc. <[email protected]> " end |
.get ⇒ Object
- Supported Method Parameters
-
PWN::Banner::Radare2.get
12 13 14 15 16 17 18 19 20 |
# File 'lib/pwn/banner/radare2.rb', line 12 public_class_method def self.get ' $ target_arm_bin="/usr/bin/id"; $ alias r2="setarch $(uname -m) -R r2 -AA -c \"v /opt/pwn/third_party/r2-pwn-layout\"" $ r2 -c "db (0x`readelf -S $target_arm_bin | grep text | awk "{print $NF}"`)+0x4+0x00000328" -c "ood" -c "dc" -c "v" $target_arm_bin '.yellow rescue StandardError => e raise e end |
.help ⇒ Object
Display Usage for this Module
32 33 34 35 36 37 38 |
# File 'lib/pwn/banner/radare2.rb', line 32 public_class_method def self.help puts "USAGE: #{self}.get #{self}.authors " end |