pwn 0.5.393 → 0.5.395

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: a8f2b66b63fc352c09d9be39170e8240c4ddefcd6957eeb6ed8266c09efe904f
4
- data.tar.gz: 99311970b372085cc972ce18740868be356f906334193757bae88de42373d682
3
+ metadata.gz: 9a5b216492543aa7dd9a839ee0afbac6d0e3a22e81db2bbe2324d93391bf5555
4
+ data.tar.gz: ec63fb2450834bcc086f38aeafda6cc5e4ef878004bf4b4cec383fce65573b10
5
5
  SHA512:
6
- metadata.gz: '0065870d881a5cba684562db8fda802c22098fa0e459a2f9870d659ab7f15d096ff7fcfda1945e648d9ccd06aee69005d8435df9b63c2a4277b25229b8fb7367'
7
- data.tar.gz: ff035fe1150349cc5d3acdbd7f5eb7a641ce66c3da1f19147b835da243bab2fea6e7055c4291f309248ea8421864f231c96131d6daa47878aeec4aff642855dd
6
+ metadata.gz: a3f7c1eb988b5e1d927d0a5cf4a6a6f0d76f2423d561a127bb72aaf001a0dfbf206194c99b2a77e10494df73b9f77227203785fd41600d45ca6000ba31aa2662
7
+ data.tar.gz: 6600afc98275c2e545fc6d05d9cbe04d098ecb46111bb9ef1287f638938ded33289d759dde10b5ea6a0f6a55bb976cd558c83cbe688bffe8dd66a1cc7afb5357
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.393]:001 >>> PWN.help
40
+ pwn[v0.5.395]: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.4.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.393]:001 >>> PWN.help
55
+ pwn[v0.5.395]: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.4.4@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.393]:001 >>> PWN.help
65
+ pwn[v0.5.395]: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:
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'cgi'
4
- require 'json'
5
- require 'tty-spinner'
6
-
7
3
  module PWN
8
4
  module Reports
9
5
  # This plugin generates the HTML header and includes external JS/CSS libraries for PWN reports.
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'cgi'
4
- require 'json'
5
- require 'tty-spinner'
6
4
 
7
5
  module PWN
8
6
  module Reports
@@ -23,7 +23,7 @@ module PWN
23
23
  logger_results = ''
24
24
 
25
25
  PWN::Plugins::FileFu.recurse_in_dir(dir_path: dir_path) do |entry|
26
- if (File.file?(entry) && File.basename(entry) !~ /^pwn.+(html|json|db)$/ && File.basename(entry) !~ /\.JS-BEAUTIFIED$/) && (File.extname(entry) == '.scala' || File.extname(entry) == '.java') && entry !~ /test/i
26
+ if (File.file?(entry) && File.basename(entry) !~ /^pwn.+(html|json|db)$/ && File.basename(entry) !~ /\.JS-BEAUTIFIED$/) && entry !~ /test/i
27
27
  line_no_and_contents_arr = []
28
28
  entry_beautified = false
29
29
 
@@ -22,7 +22,7 @@ module PWN
22
22
  logger_results = ''
23
23
 
24
24
  PWN::Plugins::FileFu.recurse_in_dir(dir_path: dir_path) do |entry|
25
- if (File.file?(entry) && File.basename(entry) !~ /^pwn.+(html|json|db)$/ && File.basename(entry) !~ /\.JS-BEAUTIFIED$/) && (File.extname(entry) == '.scala' || File.extname(entry) == '.java') && entry !~ /test/i
25
+ if (File.file?(entry) && File.basename(entry) !~ /^pwn.+(html|json|db)$/ && File.basename(entry) !~ /\.JS-BEAUTIFIED$/) && entry !~ /test/i
26
26
  line_no_and_contents_arr = []
27
27
  entry_beautified = false
28
28
 
@@ -34,6 +34,8 @@ module PWN
34
34
 
35
35
  test_case_filter = %(
36
36
  grep -in \
37
+ -e panic \
38
+ -e raise \
37
39
  -e throw #{entry} 2> /dev/null | \
38
40
  grep '"'
39
41
  )
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.393'
4
+ VERSION = '0.5.395'
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.393
4
+ version: 0.5.395
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.