pwn 0.5.408 → 0.5.409

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: 8d06c6b5e12a9f4cf4234fac12f6ab411827e323c3e9e0a47619f0dbef244c48
4
- data.tar.gz: 3add4e6e3d8aa13f210500668182dafccc85c212e1d4b13cabda9d932ccaf668
3
+ metadata.gz: a5719931540871a6eb0ff38a2c85c9f7ea79e96aa7f49a04dea737c7fa957687
4
+ data.tar.gz: e186acacbdc7c464cba4c8fb4d748e8c033394b7f39e322c2ae7d11450b41666
5
5
  SHA512:
6
- metadata.gz: 715b74eaecca58b65bfabe0b9e025eb807068ce7774ab04d3ed21ba29c52b597a7e730c45fff58a6a97d95566dd9d987fb29f2f63b212f28e0d9869c21822374
7
- data.tar.gz: 7d93377be56f0f32aa29f4e8321d789fb63b100b0a6b212f2857286045035706afcee3138998c7f15428f919a195457449e9945feba15678838c85a724cf44e4
6
+ metadata.gz: 405eaaec00031a74bcdf1cde79127c352a3d0115fae29c7ad605c649ab91355aa971a9a079bb57c663e1c1ab6e617cd4f4680bc5f3eedff612ce7baea977f167
7
+ data.tar.gz: 3fb87bc84c8edd34b2e855514a2e6b3eb31315c9c885e73b734c823488a18434064daad3b03fb9f5d202574510d94510c066ab525814e31870d67f1a402bd797
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.408]:001 >>> PWN.help
40
+ pwn[v0.5.409]: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.408]:001 >>> PWN.help
55
+ pwn[v0.5.409]: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.408]:001 >>> PWN.help
65
+ pwn[v0.5.409]: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:
@@ -121,6 +121,7 @@ begin
121
121
  if headless
122
122
  burp_obj = PWN::Plugins::BurpSuite.start(
123
123
  burp_jar_path: burp_jar_path,
124
+ headless: headless,
124
125
  browser_type: :headless
125
126
  )
126
127
  else
@@ -76,6 +76,7 @@ begin
76
76
  if headless
77
77
  burp_obj = PWN::Plugins::BurpSuite.start(
78
78
  burp_jar_path: burp_jar_path,
79
+ headless: headless,
79
80
  browser_type: :headless
80
81
  )
81
82
  else
@@ -116,11 +116,14 @@ begin
116
116
  if headless
117
117
  zap_obj = PWN::Plugins::Zaproxy.start(
118
118
  zap_bin_path: zap_bin_path,
119
- headless: headless
119
+ api_key: api_key,
120
+ headless: headless,
121
+ browser_type: :headless
120
122
  )
121
123
  else
122
124
  zap_obj = PWN::Plugins::Zaproxy.start(
123
125
  zap_bin_path: zap_bin_path,
126
+ api_key: api_key,
124
127
  browser_type: browser_type
125
128
  )
126
129
  end
@@ -728,7 +728,10 @@ module PWN
728
728
  session_path = zap_obj[:session_path]
729
729
  session_path_files = Dir.glob("#{session_path}*")
730
730
  # Remove session files - need to add a slight delay between each unlink to work around file locks
731
- session_path_files.each { |f| FileUtils.rm_f(f); sleep 0.3 }
731
+ session_path_files.each do |f|
732
+ FileUtils.rm_f(f)
733
+ sleep 0.3
734
+ end
732
735
 
733
736
  zap_obj = nil
734
737
  rescue StandardError, SystemExit, Interrupt => e
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.408'
4
+ VERSION = '0.5.409'
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.408
4
+ version: 0.5.409
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.