pwn 0.4.626 → 0.4.627

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: cf7fa86f1fa5d0ebb2ed85f5647c60e05dcb6d86d591666c2b3edf67a97ffbc5
4
- data.tar.gz: e5ef0175b120e83ba6f036d322ebf25eaec6de36b609c5c3e48a03193fb56706
3
+ metadata.gz: 6bb7b47a555f63203342098f5142a197e8b1cbdca20f8e68e4775352ae87baac
4
+ data.tar.gz: 8d976e65c7aa3d03a99dcc04a331408f3beb8f8d6f62eca56a2efbeb1da1a92a
5
5
  SHA512:
6
- metadata.gz: 43f0f14faf88a2b1124363bce8b50e71dbc5a8ac0db23a3836fd46c5dd642d62c0c1ab062ce91516f07dba5b9df29d2d959b4fa57ac13bbc30dcb34b457356af
7
- data.tar.gz: 5a6003272fc9d237d2777f7c74865a99aefa51538bcc91984142c5aa421544f1c2ecc482a0d3f7edd2656150daa37a27658adcc6ec268c5fc2ad6ad153af090b
6
+ metadata.gz: 863f68ce678563979a08b372cdfc349dfee3bcadcae212a365d1fce639d2a56691a98e557477ec9791c9c6bc5b4604a477becb3e7c47cb6410bdd69267e90a54
7
+ data.tar.gz: fb5a42c8680b6417592640b87b8a4fbdadd23aff771cd70af3844cff1d4c4f89d134fdd3465f3e3744d687918dc1ff1cd06919f2bc008d9034b85256b2e6fdce
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ 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.626]:001 >>> PWN.help
40
+ pwn[v0.4.627]: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-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.626]:001 >>> PWN.help
55
+ pwn[v0.4.627]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
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.626'
4
+ VERSION = '0.4.627'
5
5
  end
data/pwn.gemspec CHANGED
@@ -22,6 +22,24 @@ Gem::Specification.new do |spec|
22
22
  File.basename(f)
23
23
  end
24
24
 
25
+ spec_tests = spec.files.grep(%r{^spec/})
26
+ pwn_modules = spec.files.grep(%r{^lib/})
27
+
28
+ missing_rspec = false
29
+ pwn_modules.each do |pwn_path|
30
+ spec_test_for_mod = "#{File.basename(pwn_path).split('.').first}_spec.rb"
31
+ next unless spec_tests.grep(/#{spec_test_for_mod}/).empty?
32
+
33
+ missing_rspec = true
34
+ pwn_mod_dir = File.dirname(pwn_path)
35
+ spec_test = "/spec/#{pwn_mod_dir}/#{spec_test_for_mod}"
36
+ error_msg = "ERROR: RSpec: #{spec_test} missing for PWN Module: #{pwn_path}"
37
+ # Display error message in red (octal encoded ansi sequence)
38
+ puts "\001\e[1m\002\001\e[31m\002#{error_msg}\001\e[0m\002"
39
+ end
40
+
41
+ raise if missing_rspec
42
+
25
43
  spec.require_paths = ['lib']
26
44
 
27
45
  dev_dependency_arr = %i[
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.4.626
4
+ version: 0.4.627
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -1956,7 +1956,7 @@ files:
1956
1956
  - spec/lib/pwn/plugins/nmap_it_spec.rb
1957
1957
  - spec/lib/pwn/plugins/oauth2_spec.rb
1958
1958
  - spec/lib/pwn/plugins/ocr_spec.rb
1959
- - spec/lib/pwn/plugins/openai_spec.rb
1959
+ - spec/lib/pwn/plugins/open_ai_spec.rb
1960
1960
  - spec/lib/pwn/plugins/openvas_spec.rb
1961
1961
  - spec/lib/pwn/plugins/owasp_zap_spec.rb
1962
1962
  - spec/lib/pwn/plugins/packet_spec.rb
@@ -2028,7 +2028,7 @@ files:
2028
2028
  - spec/lib/pwn/sast_spec.rb
2029
2029
  - spec/lib/pwn/www/app_cobalt_io_spec.rb
2030
2030
  - spec/lib/pwn/www/bing_spec.rb
2031
- - spec/lib/pwn/www/bug_crowd.rb
2031
+ - spec/lib/pwn/www/bug_crowd_spec.rb
2032
2032
  - spec/lib/pwn/www/checkip_spec.rb
2033
2033
  - spec/lib/pwn/www/coinbase_pro_spec.rb
2034
2034
  - spec/lib/pwn/www/duckduckgo_spec.rb