Module: PWN::Banner::OffTheAir

Defined in:
lib/pwn/banner/off_the_air.rb

Overview

This plugin processes images into readable text

Class Method Summary collapse

Class Method Details

.authorsObject

Author(s)

0day Inc. <[email protected]>



56
57
58
59
60
# File 'lib/pwn/banner/off_the_air.rb', line 56

public_class_method def self.authors
  "AUTHOR(S):
    0day Inc. <[email protected]>
  "
end

.getObject

Supported Method Parameters

PWN::Banner::OffTheAir.get



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/pwn/banner/off_the_air.rb', line 12

public_class_method def self.get
  c1 = '.....'.light_black
  c2 = '====='.yellow
  c3 = ':::::'.light_blue
  c4 = '====='.light_green
  c5 = '+++++'.magenta
  c6 = '%%%%%'.red
  c7 = '#####'.blue
  d1 = '+++++'.blue
  d2 = '%%%%%'.black
  d3 = '+++++'.magenta
  d4 = '%%%%%'.black
  d5 = '-----'.light_blue
  d6 = '@@@@@'.black
  d7 = 'PWN::'.red
  ee1 = '######'.red
  ee2 = '......'.white
  ee3 = '******'.blue
  ee4 = '::::::'.black
  ee5 = '@@@@@@'.black
  f1 = '%%%%%'.black

  "
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{c1}#{c2}#{c3}#{c4}#{c5}#{c6}#{c7}
    #{d1}#{d2}#{d3}#{d4}#{d5}#{d6}#{d7}
    #{ee1}#{ee2}#{ee3}#{ee4}#{ee5}#{f1}
    #{ee1}#{ee2}#{ee3}#{ee4}#{ee5}#{f1}
    #{ee1}#{ee2}#{ee3}#{ee4}#{ee5}#{f1}
  "
rescue StandardError => e
  raise e
end

.helpObject

Display Usage for this Module



64
65
66
67
68
69
70
# File 'lib/pwn/banner/off_the_air.rb', line 64

public_class_method def self.help
  puts "USAGE:
    #{self}.get

    #{self}.authors
  "
end