pwn 0.4.410 → 0.4.411

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: ac3b2c8c32ec0a1486e6844f0ff94c7c7d5bf17d26905d530c8a0582dac0599f
4
- data.tar.gz: dd8bb1cb2bf951127544ca65a857adce7ce92e248f99d99041ac3ae05ca5318f
3
+ metadata.gz: e38a582864ee5d0b2b52f536e79a9d7267d84691eefeaeee91dd593d26a417b9
4
+ data.tar.gz: dc5b595018b4c7f1f7abb28c14aa752e7b522802d2c230d62cd359f7d3629c6f
5
5
  SHA512:
6
- metadata.gz: 9ff1dcbcb8f7b27f40bda87cf0777e3de6ba764678f8a1484569008310ab8b2fb11050286362e50cdfb72c3818481878dae07995afefb27f58899e23ac372094
7
- data.tar.gz: 7d3d3e7024b3ec1d8f5cce15fc22b104be21bf8991569fc4c3387a9007425555f495c841cdb4ab7a46744df715212345980b3b4c9db42ff0192abfbdfdb08eb6
6
+ metadata.gz: f4efb201692bfb43f4d50030f29098210876f72697a4e93ecc818ce8c1d6ab7e8e0d96c2ce88c07764e50d8001e23c8275e5fc7fbca3a8571dcbcd650eb57c7c
7
+ data.tar.gz: 1979be2303e92c5a4d2d026b889c8cd91cdb62904c331df73be1a0be33a004fe93f1e7129750f86be29da123f1b45f9a233fe7082d06792ae50e409d7b9e5d76
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.410]:001 >>> PWN.help
40
+ pwn[v0.4.411]: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.1.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.410]:001 >>> PWN.help
55
+ pwn[v0.4.411]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
data/build_pwn_gem.sh CHANGED
@@ -1,10 +1,6 @@
1
1
  #!/bin/bash --login
2
- if [[ $PWN_ROOT == '' ]]; then
3
- if [[ ! -d '/pwn' ]]; then
4
- pwn_root=$(pwd)
5
- else
6
- pwn_root='/pwn'
7
- fi
2
+ if [[ -d '/opt/pwn' ]]; then
3
+ pwn_root='/opt/pwn'
8
4
  else
9
5
  pwn_root="${PWN_ROOT}"
10
6
  fi
data/install.sh CHANGED
@@ -1,10 +1,6 @@
1
1
  #!/bin/bash --login
2
- if [[ $PWN_ROOT == '' ]]; then
3
- if [[ ! -d '/pwn' ]]; then
4
- pwn_root=$(pwd)
5
- else
6
- pwn_root='/pwn'
7
- fi
2
+ if [[ -d '/opt/pwn' ]]; then
3
+ pwn_root='/opt/pwn'
8
4
  else
9
5
  pwn_root="${PWN_ROOT}"
10
6
  fi
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.410'
4
+ VERSION = '0.4.411'
5
5
  end
@@ -12,7 +12,8 @@ fi
12
12
  sudo tee -a $pwn_env_file << EOF
13
13
  export PWN_ROOT=\$(
14
14
  source /etc/profile.d/rvm.sh; \
15
- ruby -r pwn -e 'puts "#{Gem.path.first}/gems/pwn-#{PWN::VERSION}"'
15
+ ruby -r pwn -e 'puts "#{Gem.path.first}/gems/pwn-#{PWN::VERSION}"' \
16
+ 2> /dev/null
16
17
  )
17
18
  export PWN_PROVIDER='${pwn_provider}'
18
19
  EOF
@@ -1,11 +1,7 @@
1
1
  #!/bin/bash --login
2
2
  # USE THIS SCRIPT WHEN UPGRADING VERSIONS IN Gemfile
3
- if [[ $PWN_ROOT == '' ]]; then
4
- if [[ ! -d '/pwn' ]]; then
5
- pwn_root=$(pwd)
6
- else
7
- pwn_root='/pwn'
8
- fi
3
+ if [[ -d '/opt/pwn' ]]; then
4
+ pwn_root='/opt/pwn'
9
5
  else
10
6
  pwn_root="${PWN_ROOT}"
11
7
  fi
data/update_pwn.sh CHANGED
@@ -1,10 +1,6 @@
1
1
  #!/bin/bash --login
2
- if [[ $PWN_ROOT == '' ]]; then
3
- if [[ ! -d '/pwn' ]]; then
4
- pwn_root=$(pwd)
5
- else
6
- pwn_root='/pwn'
7
- fi
2
+ if [[ -d '/opt/pwn' ]]; then
3
+ pwn_root='/opt/pwn'
8
4
  else
9
5
  pwn_root="${PWN_ROOT}"
10
6
  fi
data/upgrade_ruby.sh CHANGED
@@ -1,11 +1,7 @@
1
1
  #!/bin/bash --login
2
2
  # USE THIS SCRIPT WHEN UPGRADING RUBY
3
- if [[ $PWN_ROOT == '' ]]; then
4
- if [[ ! -d '/pwn' ]]; then
5
- pwn_root=$(pwd)
6
- else
7
- pwn_root='/pwn'
8
- fi
3
+ if [[ -d '/opt/pwn' ]]; then
4
+ pwn_root='/opt/pwn'
9
5
  else
10
6
  pwn_root="${PWN_ROOT}"
11
7
  fi
@@ -12,7 +12,8 @@ fi
12
12
  sudo tee -a $pwn_env_file << EOF
13
13
  export PWN_ROOT=\$(
14
14
  source /etc/profile.d/rvm.sh; \
15
- ruby -r pwn -e 'puts "#{Gem.path.first}/gems/pwn-#{PWN::VERSION}"'
15
+ ruby -r pwn -e 'puts "#{Gem.path.first}/gems/pwn-#{PWN::VERSION}"' \
16
+ 2> /dev/null
16
17
  )
17
18
  export PWN_PROVIDER='${pwn_provider}'
18
19
  EOF
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.410
4
+ version: 0.4.411
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -1964,7 +1964,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1964
1964
  - !ruby/object:Gem::Version
1965
1965
  version: '0'
1966
1966
  requirements: []
1967
- rubygems_version: 3.3.7
1967
+ rubygems_version: 3.3.12
1968
1968
  signing_key:
1969
1969
  specification_version: 4
1970
1970
  summary: Automated Security Testing for CI/CD Pipelines & Beyond