pwn 0.4.628 → 0.4.629

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/pwn/version.rb +1 -1
  4. data/pwn.gemspec +5 -4
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd0eb23dc77cf549bb91a2eb77c7d7066c3c15e5b7b08e62d0e11bc871c43ae9
4
- data.tar.gz: cce7e0bd835f44f93d3313effc2bc9525fd72413a9e57b344bec6fb43e52f954
3
+ metadata.gz: 9e79336200464d0464ef7868661b7786f7165e25bfc7b2896e2f8989b2c75ba6
4
+ data.tar.gz: f4f2df198f2c2413942e07ed5aa273ac6adf96c7fbbd07a7984e17153277df55
5
5
  SHA512:
6
- metadata.gz: ac0068ed0b8974382f87b2fa390fb73738621af47baaef01bac90f9ea7487acc761ae3d79dff401c8f53242465784f3f48fbeb38a68eae9998a530dbb2f0a756
7
- data.tar.gz: db12e6b339a2722e9fc57f32d4b56c214c58e382abe1d7e519e7b541314ea2bb9692afde6a23e6b2bc73881b86815ccb155b566bbb1bdf7cd06191ed3ab69af5
6
+ metadata.gz: 80d44d8b320be66c5ff2a5dfada584f2e8dadcd028d088c711b5cf8809cafe856ad46c14e3ce548c0045a0be5fec1f34732666a7a15330af0cdb8c409aabbe53
7
+ data.tar.gz: eab4b00b7242ba650f0c323423f281ef0df7e703ef5da1bd4b3028c24040af0994937cdc9b2aa6ec6b75ad147ade946391d8b832f23a01e586ae8af3cebacdb2
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.628]:001 >>> PWN.help
40
+ pwn[v0.4.629]: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.628]:001 >>> PWN.help
55
+ pwn[v0.4.629]: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.628'
4
+ VERSION = '0.4.629'
5
5
  end
data/pwn.gemspec CHANGED
@@ -27,13 +27,14 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  missing_rspec = false
29
29
  pwn_modules.each do |pwn_path|
30
- spec_test_for_mod = "#{File.dirname(pwn_path)}/#{File.basename(pwn_path).split('.').first}_spec.rb"
31
- next unless spec_tests.grep(/#{spec_test_for_mod}/).empty?
30
+ spec_dirname_for_mod = "spec/#{File.dirname(pwn_path)}"
31
+ spec_test_for_mod = "#{File.basename(pwn_path).split('.').first}_spec.rb"
32
+ spec_path_for_mod = "#{spec_dirname_for_mod}/#{spec_test_for_mod}"
33
+ next unless spec_tests.grep(/#{spec_path_for_mod}/).empty?
32
34
 
33
35
  missing_rspec = true
34
36
  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
+ error_msg = "ERROR: No RSpec: #{spec_path_for_mod} for PWN Module: #{pwn_path}"
37
38
  # Display error message in red (octal encoded ansi sequence)
38
39
  puts "\001\e[1m\002\001\e[31m\002#{error_msg}\001\e[0m\002"
39
40
  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.4.628
4
+ version: 0.4.629
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.