pwn 0.4.960 → 0.4.961

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: 755bbc5cdfeab1bd65cd011562cd4b5b996fded1a7a6bd0b47db234c48f840d6
4
- data.tar.gz: b1c46889926517b9afc0a610fa31b7c16ec72d942f84a93bcdee8e948544c605
3
+ metadata.gz: 20ef74cfd290def00c98a018522a5289dbbd11874e25a715b9b6c86e4bade238
4
+ data.tar.gz: d76261f22ee58d0ab71862d33d55bfaf25b28cc99d32264ebb3354448349e420
5
5
  SHA512:
6
- metadata.gz: a3c1b68944afc2aea6ad4e9b2e9f37da6080a4021bf4a382abb3a6bf302263ca8ac67a451be61c71939f3cad6bb0d0f18d190bca298a7715f4e09122cbb50e0c
7
- data.tar.gz: 17fe161a41641c1b2a0467789a1a78de8eece85f532c26d4695d2f9e80c37feb88a0c591f53640c9690471f368997f17bacac56a4e5570cced5c733b11259089
6
+ metadata.gz: 8dc3dd5a8c4d99ec2054b129551759e2a26b5dbacdee6aad8d58f6623e1fc34742fa0cb7111a5ce52ee1baf47614b4725944f6c81d5495040a0b58ecb16e931f
7
+ data.tar.gz: fb08e83577a72a5e6d7a274a57d2afebfbe5815b0c494c2ff0772e3e1c7ff4c7a994bd131a81f6d76acdc6f80c090f23889647372008c6b5e621379cd3ea5083
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.960]:001 >>> PWN.help
40
+ pwn[v0.4.961]: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.960]:001 >>> PWN.help
55
+ pwn[v0.4.961]: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.960]:001 >>> PWN.help
65
+ pwn[v0.4.961]: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:
data/bin/pwn_bdba_scan CHANGED
@@ -146,8 +146,10 @@ begin
146
146
  find_product_attempts = scan_attempts
147
147
  print 'Looking for Product in Apps by Group...'
148
148
  loop do
149
- find_product = scan_progress_resp[:products].find { |p| p[:name] == CGI.escape(File.basename(target_file)) }
150
- find_product = scan_progress_resp[:products].find { |p| p[:name] == File.basename(target_file) } if find_product.nil?
149
+ target_basename = File.basename(target_file)
150
+
151
+ find_product = scan_progress_resp[:products].find { |p| p[:name] == target_basename }
152
+ # find_product = scan_progress_resp[:products].find { |p| p[:name] == CGI.escape(target_basename) } if find_product.nil?
151
153
  break unless find_product.nil?
152
154
 
153
155
  find_product_attempts += 1
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.960'
4
+ VERSION = '0.4.961'
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.960
4
+ version: 0.4.961
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.