pwn 0.4.969 → 0.4.970

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6654eeceac4b7c574a8940bc04ff518153a8c66c264940865d9bbe009395316
4
- data.tar.gz: b7f080c8781a7697f69b0c855dcad4dd726349e7242a4c3089416b955943078d
3
+ metadata.gz: acd21c71231dfb8a51372ba8c0a23575842b77b1a1efee17df5284d9328a89d0
4
+ data.tar.gz: 8094a72835605462472a5facc9894966de2464d4268c3b538752f4fc49cbdf2b
5
5
  SHA512:
6
- metadata.gz: a7cbe822b60724f43713ef3856ad2658b4d13979b0318bd2a8bd035b27c498cf10b038923f7349813ec7d87b1cf9894e9ff821835cae24d4f1fe4551dd2b0009
7
- data.tar.gz: 0ea04aa2e470903ad103a76d8c1dc598d6cc9b34816ada2e170f0b07e010d570c8ac810971631b666c2761daf0206958826ad77325ca8ef774e2ef1fa6a7dc4c
6
+ metadata.gz: c0fdd2c879370207c6878d1e93439da19c5f990e3f6ece674ba79408fa8ad3f8382323163aa1c52a175d5ea6ed2eebfca95e24d285884b084ae278da0568c100
7
+ data.tar.gz: f8b59f16ef2d1bcc0c389a6f1556a17523677ad2b3cc2030e548560746dd52f58815e2682269f5aec37ba8c5546fc99fd90eab819c06063ca5f60b195df928a5
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
37
37
  $ ./install.sh
38
38
  $ ./install.sh ruby-gem
39
39
  $ pwn
40
- pwn[v0.4.969]:001 >>> PWN.help
40
+ pwn[v0.4.970]:001 >>> PWN.help
41
41
  ```
42
42
 
43
43
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -52,7 +52,7 @@ $ rvm use ruby-3.3.0@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.969]:001 >>> PWN.help
55
+ pwn[v0.4.970]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
  If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.3.0@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.4.969]:001 >>> PWN.help
65
+ pwn[v0.4.970]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
  PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
@@ -24,7 +24,7 @@ module PWN
24
24
  `;. ,====\\=. .;"
25
25
  ``""""`==\\=="
26
26
  `;=====
27
- ===
27
+ ===
28
28
  '.green
29
29
  rescue StandardError => e
30
30
  raise e
@@ -11,23 +11,23 @@ module PWN
11
11
 
12
12
  public_class_method def self.get
13
13
  '
14
- _ _
15
- / \ / \
16
- { } { }
17
- { { } }
18
- \ \ / /
19
- \ Y /
20
- .-"`"`"-.
21
- ,` `.
22
- / \
23
- / \
24
- { ."";, }
25
- { /";`.`,; }
26
- \{ ;`,``;. /
27
- { }`""` } /}
28
- { } { //
29
- {||} { /
30
- `"` pwn
14
+ _ _
15
+ / \ / \
16
+ { } { }
17
+ { { } }
18
+ \ \ / /
19
+ \ Y /
20
+ .-"`"`"-.
21
+ ,` `.
22
+ / \
23
+ / \
24
+ { ."";, }
25
+ { /";`.`,; }
26
+ \{ ;`,``;. /
27
+ { }`""` } /}
28
+ { } { //
29
+ {||} { /
30
+ `"` pwn
31
31
  '.white
32
32
  rescue StandardError => e
33
33
  raise e
data/lib/pwn/banner.rb CHANGED
@@ -7,6 +7,7 @@ module PWN
7
7
  module Banner
8
8
  autoload :Bubble, 'pwn/banner/bubble'
9
9
  autoload :DontPanic, 'pwn/banner/dont_panic'
10
+ autoload :FSociety, 'pwn/banner/f_society'
10
11
  autoload :Matrix, 'pwn/banner/matrix'
11
12
  autoload :Ninja, 'pwn/banner/ninja'
12
13
  autoload :OffTheAir, 'pwn/banner/off_the_air'
@@ -20,7 +21,7 @@ module PWN
20
21
 
21
22
  public_class_method def self.get(opts = {})
22
23
  index = opts[:index].to_i
23
- index = Random.rand(1..7) unless index.positive?
24
+ index = Random.rand(1..8) unless index.positive?
24
25
 
25
26
  banner = ''
26
27
  case index
@@ -29,14 +30,16 @@ module PWN
29
30
  when 2
30
31
  banner = PWN::Banner::DontPanic.get
31
32
  when 3
32
- banner = PWN::Banner::Matrix.get
33
+ banner = PWN::Banner::FSociety.get
33
34
  when 4
34
- banner = PWN::Banner::Ninja.get
35
+ banner = PWN::Banner::Matrix.get
35
36
  when 5
36
- banner = PWN::Banner::OffTheAir.get
37
+ banner = PWN::Banner::Ninja.get
37
38
  when 6
38
- banner = PWN::Banner::Pirate.get
39
+ banner = PWN::Banner::OffTheAir.get
39
40
  when 7
41
+ banner = PWN::Banner::Pirate.get
42
+ when 8
40
43
  banner = PWN::Banner::WhiteRabbit.get
41
44
  else
42
45
  raise 'Invalid Index.'
data/lib/pwn/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.4.969'
4
+ VERSION = '0.4.970'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.969
4
+ version: 0.4.970
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.