pwn 0.5.173 → 0.5.174

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: 4896cb625aad3bcb7fcc5ecc506851860530486d84a9fa956e5cc526f15c2437
4
- data.tar.gz: 131b84769166bc8cceaabc66263a8ed70370eb9a996c94c4f326c3027ca62bc1
3
+ metadata.gz: 2941eb1a5d3b51c3c5ca5b577a3c672076c4aba487b56fe53c8ccf2c81de4618
4
+ data.tar.gz: 7781e6c421ae89bb944bb93c44d0613bc76863c5bf9810f86f669b0393c3e698
5
5
  SHA512:
6
- metadata.gz: '06832bdbed010c3629c262193b6e102db2da103d3ca6edeb3923039a4bf5f111cab556abc038c45d4aa522024ebbe5b312352ba94ecf0db703738280dd43b3cc'
7
- data.tar.gz: 53cb1a3b9069c3dfa9025d45fb7fdf5eccabcb7517e5aa27c23cd359403d762d5737310b24fca7a238f3e542bc13d177469e49f5718d8a8cf5a240bce75abd7a
6
+ metadata.gz: ba0704805b057c2a875280faf0acaf39e3bc15971fbf37b7ba7f088877b9dbe3c8959b12ac48f2c44cf314caf5940bca00241d543e0d4efb6c224cb1fb32fdc7
7
+ data.tar.gz: 5500bdff4b838fb34fa89d4b8c24fb0e8780e65c98cfe15ba80d92ee0dc755af5fe6cea18c8ef300ce1ae186805a02d8bbe12ffe010000e1efc9936b75160d07
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.173]:001 >>> PWN.help
40
+ pwn[v0.5.174]: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.3@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.173]:001 >>> PWN.help
55
+ pwn[v0.5.174]: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.3@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.173]:001 >>> PWN.help
65
+ pwn[v0.5.174]: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:
@@ -25,11 +25,11 @@ module PWN
25
25
  # Supported Method Parameters::
26
26
  # verify_devtools_browser(
27
27
  # browser_obj: 'required - browser_obj returned from #open method',
28
- # supported: 'optional - array of supported browser types (defaults to [:chrome, :headless_chrome, :firefox, :headless_firefox])'
28
+ # supported: 'optional - array of supported browser types (defaults to [:chrome, :headless_chrome, :firefox, :headless_firefox, :headless])'
29
29
  # )
30
30
  private_class_method def self.verify_devtools_browser(opts = {})
31
31
  browser_obj = opts[:browser_obj]
32
- supported = opts[:supported] ||= %i[chrome headless_chrome firefox headless_firefox]
32
+ supported = opts[:supported] ||= %i[chrome headless_chrome firefox headless_firefox headless]
33
33
 
34
34
  browser_type = browser_obj[:type]
35
35
  raise "ERROR: browser_type must be #{supported}" unless supported.include?(browser_type)
@@ -282,7 +282,7 @@ module PWN
282
282
  end
283
283
 
284
284
  browser_type = browser_obj[:type]
285
- supported = %i[chrome headless_chrome firefox headless_firefox]
285
+ supported = %i[chrome headless_chrome firefox headless_firefox headless]
286
286
  if with_devtools && supported.include?(browser_type)
287
287
  browser_obj[:browser].goto('about:blank')
288
288
  rand_tab = SecureRandom.hex(8)
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.173'
4
+ VERSION = '0.5.174'
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.173
4
+ version: 0.5.174
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.