pwn 0.4.801 → 0.4.802

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: 4b7ad63e0b8d5b9b22fad319b8b520d083b11fc2d3cb27f2844adb090ae19a74
4
- data.tar.gz: '009b6c53800b30a61c0a16e26d1f1db4c5dae6877025f6663349a2ffeb0c7872'
3
+ metadata.gz: 5dd6ac362c796433cbdeb21b3f13ebd7e9b72a3bf3995c9fd203d5b6739f2e58
4
+ data.tar.gz: c704e7044aeeac624db2bfda416d78022d3cef3a211b8a170625063e0ce397e6
5
5
  SHA512:
6
- metadata.gz: 2effa631570ca78d2b9a9a160d276b63edf4a8c0684fb8abfee821cb97027af07afde92800a146dffc2636b039873071edacab33c33bb7d4606c6d81ee1fd424
7
- data.tar.gz: bf36c8999fa022eb266280ef4d736c96ddbcc0b52e0599ba710ec48a928e02fb642c3aa336df18c01d0093963f7b4928ff90997b3055b844035756de246a5a98
6
+ metadata.gz: f99b1bfbbbc00e3acca8eecfea0a57df37c75ec8473936c0ed61397573f12c1347405bbd142a24e1606987aa57a7ed8615379a27d492961cb692724add353032
7
+ data.tar.gz: aeb3e52dfd502b296274bc9cfb91acdf1400101dca4452d6da9fc5c45bf8b41cb7c76c1653dd135945b7a069ddb2258f82dcf7cea4605307f045b12ce58c6f59
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.801]:001 >>> PWN.help
40
+ pwn[v0.4.802]: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.2.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.801]:001 >>> PWN.help
55
+ pwn[v0.4.802]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -17,12 +17,8 @@ if (( $# == 3 )); then
17
17
  # Tag for every 100 commits (i.e. 0.1.100, 0.1.200, etc)
18
18
  tag_this_version_bool=`ruby -r 'pwn' -e 'if (PWN::VERSION.split(".")[-1].to_i + 1) % 100 == 0; then print true; else print false; end'`
19
19
  if [[ $tag_this_version_bool == 'true' ]]; then
20
- this_version=`ruby -r 'pwn' -e 'print PWN::VERSION'`
21
- echo "Tagging: ${this_version}"
22
- git tag $this_version
23
- last_tag=$(git tag | tail -n 2 | head -n 1)
24
- this_tag=$(git tag | tail -n 1)
25
- git log $last_tag...$this_tag --oneline > CHANGELOG_BETWEEN_TAGS.txt
20
+ last_tag=$(git tag | tail -n 1)
21
+ git log $last_tag.. --oneline > CHANGELOG_BETWEEN_TAGS.txt
26
22
  fi
27
23
 
28
24
  git commit -a -S --author="${1} <${2}>" -m "${3}"
@@ -33,8 +29,12 @@ if (( $# == 3 )); then
33
29
  echo "Pushing ${latest_gem} to RubyGems.org..."
34
30
  rvmsudo gem push $latest_gem --debug
35
31
  fi
32
+
36
33
  if [[ $tag_this_version_bool == 'true' ]]; then
37
- git push origin ${this_tag}
34
+ this_version=`ruby -r 'pwn' -e 'print PWN::VERSION'`
35
+ echo "Tagging: ${this_version}"
36
+ git tag $this_version
37
+ git push origin $this_version
38
38
  fi
39
39
  else
40
40
  usage
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.801'
4
+ VERSION = '0.4.802'
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.801
4
+ version: 0.4.802
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.