pwn 0.4.610 → 0.4.612

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: 0446e4910a77fbad2d9cd1741ca3512381159942a04e6e62ac8f20e3c533909e
4
- data.tar.gz: c52ebec64bb57ab09834bb6b342b0fcd671f798c3b83012146282f7c41ab0ece
3
+ metadata.gz: f141553a7305ea21ebddd2be8a4224be7369e28ce3da15a03fedc6ae2198edeb
4
+ data.tar.gz: 0c80c7fd0605f481af8f66e2d4b54754b2023ebd717ec9f67d39a0cf3690f7e3
5
5
  SHA512:
6
- metadata.gz: 93ff9c664ff6885e5a8d328dc67ed331692e3d507f7eea7065e602d5decc3e255157c7575a548373fffb8ecf83c7b587b4fde9dbffecda062a9219018f4a651e
7
- data.tar.gz: ff3d9b90e7dfe11638822dc1e5da4b1d0e67fa9e790c69af935f0828b72a154efe5d6649dd52a54240bd0bbb6ad1926604a1cfdd8a530fed4576ea00ba11583d
6
+ metadata.gz: e53c09f7b82d6da4b24633f6ae1d40e2353fcb3683df2e13afaa8b708e38420598872aeab726cd4ce7eb741e7ac04ee86d64c805f1b96ee02d4b0c2682e05154
7
+ data.tar.gz: b3a9bf1c7f1a975873777e59aa041ebd5c5b4130b8b3244cfd6aeba9e0b74406783b9c97af0ce2007cde2ea3278245ecdbbda816879653b2e896faa335c49bb6
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.0
1
+ ruby-3.2.1
data/Gemfile CHANGED
@@ -63,7 +63,7 @@ gem 'rex', '2.0.13'
63
63
  gem 'rmagick', '5.1.0'
64
64
  gem 'rspec', '3.12.0'
65
65
  gem 'rtesseract', '3.1.2'
66
- gem 'rubocop', '1.44.1'
66
+ gem 'rubocop', '1.45.1'
67
67
  gem 'rubocop-rake', '0.6.0'
68
68
  gem 'rubocop-rspec', '2.18.1'
69
69
  gem 'ruby-audio', '1.6.1'
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.0@global
34
+ $ rvm use ruby-ruby-3.2.1@global
35
35
  $ rvm gemset create pwn
36
- $ rvm use ruby-3.2.0@pwn
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.610]:001 >>> PWN.help
40
+ pwn[v0.4.612]: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)
@@ -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.0@pwn
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.610]:001 >>> PWN.help
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.4.610'
4
+ VERSION = '0.4.612'
5
5
  end
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
- # Switch back when RVM has stable 3.1.2 (i.e. not just preview / p20)
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.610
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-07 00:00:00.000000000 Z
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.44.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.44.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: '3.2'
2061
+ version: 3.2.1
2062
2062
  required_rubygems_version: !ruby/object:Gem::Requirement
2063
2063
  requirements:
2064
2064
  - - ">="