pwn 0.5.339 → 0.5.341

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: 7f09033c249d0270fe3a5441733aadce2b58668e4d06313f0569750e0d712172
4
- data.tar.gz: 2f363f631c4aa7de308c0611d874092f19e7da132a60826f5ea61acfd52d791e
3
+ metadata.gz: 0dd9162b90bfa7892a141fa903f93e63d9670de49c502d051e3fb80599fcefbc
4
+ data.tar.gz: fd923fa3a38badc914957cb14b7eee7bd9224898b69a767388cd04ffcb2acede
5
5
  SHA512:
6
- metadata.gz: 12af36bc15adde0ecd8cf4d19b64ec2b22be4a71ff1585d467aebb0488ffe3758d0605a2fdf6b587d99e85c3b1e4f7f2b0b123400cc35c9b2eefec9eeb9603df
7
- data.tar.gz: 63d586c9493b154e259aaa9ab3cd3887219b4c44e605d7d6b960b9c5b0051e651faa08422385d2a3e9cd72bb05ccdc952b0827150a0d8353fc3da5c08fadebc3
6
+ metadata.gz: 84086b5c4b77c9683ef59069f7207fde7c030e688b8cbc47658b9c03ca2db715b71fa74dda0a14a3ad34078ed95794210421b42082997eff347bcdeb9fd9b8a8
7
+ data.tar.gz: 1bff96f6a277c6e4d4cddb3ba02e7ee2f085313791cd7ea028c1a90b96155b449101c9628fb06affc1de132b96d80f84b31a2fd6834823b881cd19099b72b651
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.5.329]:001 >>> PWN.help
40
+ pwn[v0.5.341]: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.4.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.329]:001 >>> PWN.help
55
+ pwn[v0.5.341]: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.4.4@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.329]:001 >>> PWN.help
65
+ pwn[v0.5.341]: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:
@@ -183,10 +183,13 @@ module PWN
183
183
 
184
184
  in_scope = rest_browser.post(
185
185
  "http://#{pwn_burp_api}/spider",
186
- post_body, content_type: 'application/json; charset=UTF8'
186
+ post_body,
187
+ content_type: 'application/json; charset=UTF8'
187
188
  )
188
189
  spider_json = JSON.parse(in_scope, symbolize_names: true)
189
190
  spider_id = spider_json[:id]
191
+
192
+ spider_status_json = {}
190
193
  loop do
191
194
  print '.'
192
195
  spider_status_resp = rest_browser.get("http://#{pwn_burp_api}/spider/#{spider_id}")
@@ -705,7 +708,7 @@ module PWN
705
708
 
706
709
  active_scan_url_arr # Return array of targeted URIs to pass to #generate_scan_report method
707
710
  rescue StandardError => e
708
- stop(burp_obj: burp_obj) unless burp_obj.nil?
711
+ # stop(burp_obj: burp_obj) unless burp_obj.nil?
709
712
  raise e
710
713
  end
711
714
 
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.5.339'
4
+ VERSION = '0.5.341'
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.5.339
4
+ version: 0.5.341
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.