pwn 0.5.195 → 0.5.196

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: 47aed4a8bf16f9e7f878c2a0655461c5e2d550d4bc6c4137af9800215eb11dec
4
- data.tar.gz: bc696bc468851bed2b9afb1d64dbcc00f47c6a37dfc24119372a49ff3744c386
3
+ metadata.gz: 10e94d1c0d582fd41daa3c12e28c19ab20dafabe6116b447e031be47152f2f45
4
+ data.tar.gz: b6915b546e50f4be059170aa253b522666861e2095dc764d4b35de8d3aa52876
5
5
  SHA512:
6
- metadata.gz: 920c23d05ccba9d6b3721c79248eacf1f1167aa5e9c13f79d3f39449ee0fed7d500eca39f72469d1b8fffb25fa9b0f9883a24c46eca61acdf34425c88603eb69
7
- data.tar.gz: f1534b2cdf0eac1da6cd95271ea7a9a0d1fd8bdb035d0635ed061426afd0d8adbbc2a6b0c26be4557b225f272dd484e8b4e38288a4129ffee744eb2605168670
6
+ metadata.gz: 3782bcf8a7bda68d533d48588b5cc5b12571f14d01423f0f1db8309c66fec36f3c0b9df8385f5fb7fda78e9eff1251a505c4c195b7165cc27f88df369106d21f
7
+ data.tar.gz: 82fc2481d9a45a82b9a2fe6e7c56124c7fe24eef56cfd87fec7c2ab942b284e107aa48c692ccc305d958b4672ef0f67588635ea1ec1c0d30c78cdf7afdbedc2e
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.195]:001 >>> PWN.help
40
+ pwn[v0.5.196]: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.195]:001 >>> PWN.help
55
+ pwn[v0.5.196]: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.195]:001 >>> PWN.help
65
+ pwn[v0.5.196]: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:
@@ -670,8 +670,8 @@ module PWN
670
670
  browser_type = browser_obj[:type]
671
671
  chrome_types = %i[chrome headless_chrome]
672
672
  tab_id = browser.title.split('-').last.strip
673
- devtools_tab_title = "DevTools-#{tab_id}"
674
673
  if chrome_types.include?(browser_type)
674
+ devtools_tab_title = "DevTools-#{tab_id}"
675
675
  jmp_tab(browser_obj: browser_obj, keyword: 'DevTools', explicit: true)
676
676
  browser.execute_script("document.title = '#{devtools_tab_title}'")
677
677
  end
@@ -682,7 +682,7 @@ module PWN
682
682
  sleep 1
683
683
  browser.send_keys(:escape)
684
684
  end
685
- tab_tied_to_devtools = "about:about-#{devtools_tab_title.split('-').last.strip}"
685
+ tab_tied_to_devtools = "about:about-#{tab_id}"
686
686
  jmp_tab(browser_obj: browser_obj, keyword: tab_tied_to_devtools, explicit: true)
687
687
  rescue StandardError => e
688
688
  raise 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.195'
4
+ VERSION = '0.5.196'
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.195
4
+ version: 0.5.196
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.