pwn 0.4.610 → 0.4.612
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 +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/README.md +5 -5
- data/lib/pwn/plugins/transparent_browser.rb +8 -4
- data/lib/pwn/version.rb +1 -1
- data/pwn.gemspec +2 -4
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f141553a7305ea21ebddd2be8a4224be7369e28ce3da15a03fedc6ae2198edeb
|
|
4
|
+
data.tar.gz: 0c80c7fd0605f481af8f66e2d4b54754b2023ebd717ec9f67d39a0cf3690f7e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e53c09f7b82d6da4b24633f6ae1d40e2353fcb3683df2e13afaa8b708e38420598872aeab726cd4ce7eb741e7ac04ee86d64c805f1b96ee02d4b0c2682e05154
|
|
7
|
+
data.tar.gz: b3a9bf1c7f1a975873777e59aa041ebd5c5b4130b8b3244cfd6aeba9e0b74406783b9c97af0ce2007cde2ea3278245ecdbbda816879653b2e896faa335c49bb6
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
ruby-3.2.1
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -31,13 +31,13 @@ Leveraging various pre-built modules and the pwn prototyper, you can mix-and-mat
|
|
|
31
31
|
Tested on Linux, & OSX leveraging Ruby via RVM.
|
|
32
32
|
|
|
33
33
|
```
|
|
34
|
-
$ rvm use ruby-3.2.
|
|
34
|
+
$ rvm use ruby-ruby-3.2.1@global
|
|
35
35
|
$ rvm gemset create pwn
|
|
36
|
-
$ rvm use ruby-3.2.
|
|
36
|
+
$ rvm use ruby-ruby-3.2.1@pwn
|
|
37
37
|
$ rvm list gemsets
|
|
38
38
|
$ gem install --verbose pwn
|
|
39
39
|
$ pwn
|
|
40
|
-
pwn[v0.4.
|
|
40
|
+
pwn[v0.4.612]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
|
@@ -48,11 +48,11 @@ pwn[v0.4.610]:001 >>> PWN.help
|
|
|
48
48
|
It's wise to update pwn often as numerous versions are released/week:
|
|
49
49
|
```
|
|
50
50
|
$ rvm list gemsets
|
|
51
|
-
$ rvm use ruby-3.2.
|
|
51
|
+
$ rvm use ruby-ruby-3.2.1@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
|
53
53
|
$ gem install --verbose pwn
|
|
54
54
|
$ pwn
|
|
55
|
-
pwn[v0.4.
|
|
55
|
+
pwn[v0.4.612]:001 >>> PWN.help
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
|
@@ -96,7 +96,8 @@ module PWN
|
|
|
96
96
|
args.push('--devtools') if with_devtools
|
|
97
97
|
options = Selenium::WebDriver::Firefox::Options.new(args: args, accept_insecure_certs: true)
|
|
98
98
|
options.profile = this_profile
|
|
99
|
-
driver = Selenium::WebDriver.for(:firefox, capabilities: options)
|
|
99
|
+
# driver = Selenium::WebDriver.for(:firefox, capabilities: options)
|
|
100
|
+
driver = Selenium::WebDriver.for(:firefox, options: options)
|
|
100
101
|
this_browser = Watir::Browser.new(driver)
|
|
101
102
|
|
|
102
103
|
when :chrome
|
|
@@ -124,7 +125,8 @@ module PWN
|
|
|
124
125
|
)
|
|
125
126
|
|
|
126
127
|
options.profile = this_profile
|
|
127
|
-
driver = Selenium::WebDriver.for(:chrome, capabilities: options)
|
|
128
|
+
# driver = Selenium::WebDriver.for(:chrome, capabilities: options)
|
|
129
|
+
driver = Selenium::WebDriver.for(:chrome, options: options)
|
|
128
130
|
this_browser = Watir::Browser.new(driver)
|
|
129
131
|
|
|
130
132
|
when :headless, :headless_firefox
|
|
@@ -181,7 +183,8 @@ module PWN
|
|
|
181
183
|
|
|
182
184
|
options = Selenium::WebDriver::Firefox::Options.new(args: ['-headless'], accept_insecure_certs: true)
|
|
183
185
|
options.profile = this_profile
|
|
184
|
-
driver = Selenium::WebDriver.for(:firefox, capabilities: options)
|
|
186
|
+
# driver = Selenium::WebDriver.for(:firefox, capabilities: options)
|
|
187
|
+
driver = Selenium::WebDriver.for(:firefox, options: options)
|
|
185
188
|
this_browser = Watir::Browser.new(driver)
|
|
186
189
|
|
|
187
190
|
when :headless_chrome
|
|
@@ -205,7 +208,8 @@ module PWN
|
|
|
205
208
|
)
|
|
206
209
|
|
|
207
210
|
options.profile = this_profile
|
|
208
|
-
driver = Selenium::WebDriver.for(:chrome, capabilities: options)
|
|
211
|
+
# driver = Selenium::WebDriver.for(:chrome, capabilities: options)
|
|
212
|
+
driver = Selenium::WebDriver.for(:chrome, options: options)
|
|
209
213
|
this_browser = Watir::Browser.new(driver)
|
|
210
214
|
|
|
211
215
|
when :rest
|
data/lib/pwn/version.rb
CHANGED
data/pwn.gemspec
CHANGED
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
lib = File.expand_path('lib', __dir__)
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
+
|
|
5
6
|
require 'pwn/version'
|
|
6
7
|
|
|
7
8
|
Gem::Specification.new do |spec|
|
|
8
|
-
|
|
9
|
-
# spec.required_ruby_version = ">= #{File.read('.ruby-version')}"
|
|
10
|
-
required_minor_ruby_version = File.read('.ruby-version').split('.')[0..1].join('.')
|
|
11
|
-
spec.required_ruby_version = ">= #{required_minor_ruby_version}"
|
|
9
|
+
spec.required_ruby_version = ">= #{File.read('.ruby-version').split('-').last.chomp}"
|
|
12
10
|
spec.name = 'pwn'
|
|
13
11
|
spec.version = PWN::VERSION
|
|
14
12
|
spec.authors = ['0day Inc.']
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pwn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.612
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 0day Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -730,14 +730,14 @@ dependencies:
|
|
|
730
730
|
requirements:
|
|
731
731
|
- - '='
|
|
732
732
|
- !ruby/object:Gem::Version
|
|
733
|
-
version: 1.
|
|
733
|
+
version: 1.45.1
|
|
734
734
|
type: :runtime
|
|
735
735
|
prerelease: false
|
|
736
736
|
version_requirements: !ruby/object:Gem::Requirement
|
|
737
737
|
requirements:
|
|
738
738
|
- - '='
|
|
739
739
|
- !ruby/object:Gem::Version
|
|
740
|
-
version: 1.
|
|
740
|
+
version: 1.45.1
|
|
741
741
|
- !ruby/object:Gem::Dependency
|
|
742
742
|
name: rubocop-rake
|
|
743
743
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -2058,7 +2058,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
2058
2058
|
requirements:
|
|
2059
2059
|
- - ">="
|
|
2060
2060
|
- !ruby/object:Gem::Version
|
|
2061
|
-
version:
|
|
2061
|
+
version: 3.2.1
|
|
2062
2062
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2063
2063
|
requirements:
|
|
2064
2064
|
- - ">="
|