pwn 0.5.175 → 0.5.176

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: 300e41c66f40408ec5b70e7fae6041db76179a47d73d8ab17689f368a36abe70
4
- data.tar.gz: 72c923cad6b163f7800ce559d5612e234edfc7e9a375f0d906a10cff7b0e0e16
3
+ metadata.gz: 5c3d37e16946790ad592bcfdb4f2031b204b8d802a418961e050cadf57d7047d
4
+ data.tar.gz: dea1918a16a88cf0211191c4f6c1181669c97a8d0a55d1e4326ef76fa7a51bf8
5
5
  SHA512:
6
- metadata.gz: 95bd450e5782826ab8ae5c23f90bd40225fe1c2526bc6a202b50abca525e8788b2eaf17abc4dd82577a98188b89fccc331097bec30a1e493ae2876ab32666cb1
7
- data.tar.gz: 818a27ca5b79647e027ffeaa743c9ac7c062c337ba969a05e5f920d7123ad30f3c4fc5cef6b7eccfde9a48137793519575e6d8b0d293d6c9c13cf638b1074c2d
6
+ metadata.gz: 14795a14dcc5f6e730e132455c7a1a7f08ae8a62ec5b0d7ef6bb3de4e4d7363ed0a85f249a2aa9d02ac5a51fd86e4598d035a68e1f42a6418c4091c3dbe6389a
7
+ data.tar.gz: 8388eb45e120b1b67be57956d825a6d986824254a3e55b35f33e45d124ef4f2ca9aacd747e94e0e90a0b23dff57012b1783e67888792dc070e53728fa1ab9df7
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.175]:001 >>> PWN.help
40
+ pwn[v0.5.176]: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.175]:001 >>> PWN.help
55
+ pwn[v0.5.176]: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.175]:001 >>> PWN.help
65
+ pwn[v0.5.176]: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:
@@ -462,7 +462,8 @@ module PWN
462
462
  browser = browser_obj[:browser]
463
463
  all_tabs = browser.windows
464
464
  tab = all_tabs.select { |tab| tab.use if tab.title.include?(keyword) || tab.url.include?(keyword) }
465
- { title: tab.last.title, url: tab.last.url, active: active } unless tab.empty?
465
+
466
+ { title: tab.last.title, url: tab.last.url, active: true } unless tab.empty?
466
467
  rescue StandardError => e
467
468
  raise e
468
469
  end
@@ -486,7 +487,7 @@ module PWN
486
487
  browser.execute_script("document.title = '#{rand_tab}'")
487
488
  browser.goto(url) unless url.nil?
488
489
 
489
- { title: browser.title, url: browser.url, active: active }
490
+ { title: browser.title, url: browser.url, active: true }
490
491
  rescue StandardError => e
491
492
  raise e
492
493
  end
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.175'
4
+ VERSION = '0.5.176'
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.175
4
+ version: 0.5.176
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.