pwn 0.5.183 → 0.5.184

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e161168ec4e7ed6fcd20561f41c06b7384745315789599c3c8e0eb7c3ad43be
4
- data.tar.gz: db81047064bc1f86326be061dae1bcc09df84927137ec03959067e8a108bd367
3
+ metadata.gz: 9503d9d61acf12e65e98a43f39a436e7b8ee536b366e8e41a30ab549a4b3cf68
4
+ data.tar.gz: 348b098b00fc505b4ad1e02ab90c29b1e30ecfcd6f45ee36ccf8a3907933b774
5
5
  SHA512:
6
- metadata.gz: 3fe8139c1e5955273e522d9abb769aa918b392fc8f222990aabba8ef744eb06ebd4b6a02581d3e4318b209b75bf27a5791b025bff216c97e24fa28f4dd044769
7
- data.tar.gz: 4bef397dd3ad09634fb06f8932d29d5d25074acf32c18dfeb7a51c41486481a79a009ae97dc32dd769c259299e1a9d15900eef008135359a78da23bea037ef21
6
+ metadata.gz: 7488056e30f9e6ca9b14501cad819da3e429ae9b403c663182350e662717822bb2f00e3480b571acac5fcacf5438b5e72b1dc0e6054b455c0b49c3fa68f3c647
7
+ data.tar.gz: 2b35e01ca7cd9839a6e49aae4addcc1073027d93d0ded6ad73eaaa80a221c1d25f6b0cbad393b81fcdddaf9cf35153a7db73cf13b9ff1f2d5f1ac7008034cb2b
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.183]:001 >>> PWN.help
40
+ pwn[v0.5.184]: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.183]:001 >>> PWN.help
55
+ pwn[v0.5.184]: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.183]:001 >>> PWN.help
65
+ pwn[v0.5.184]: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:
@@ -486,6 +486,8 @@ module PWN
486
486
 
487
487
  browser = browser_obj[:browser]
488
488
  browser.execute_script('window.open()')
489
+ switch_tab(browser_obj: browser_obj, keyword: 'about:blank')
490
+ browser.goto('about:about') if url.nil?
489
491
  rand_tab = SecureRandom.hex(8)
490
492
  browser.execute_script("document.title = '#{rand_tab}'")
491
493
  browser.goto(url) unless url.nil?
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.183'
4
+ VERSION = '0.5.184'
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.183
4
+ version: 0.5.184
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.