pwn 0.4.586 → 0.4.587

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: e349e13e832434e95d19686c672915f3a841f0fefa288a3fb10d415ae8caec3b
4
- data.tar.gz: 67fd415056ef09d43646bbe8f8092509795ce0ceed3f2aae0d7f61773ac66495
3
+ metadata.gz: edbd3e039b05f4edfa899e87b7de61684e938d845744ea9e64a298310ad1f814
4
+ data.tar.gz: 2edc89df9b6c1ba30a48ea0bade2906a124a6c933dcc8edc2529b42a828788a3
5
5
  SHA512:
6
- metadata.gz: 9ab1d37b1985de8260dcb4b9042ebe01a860d1ba1f6f931b48dde412bc9ec9afb5e2ab6566c0c0e9ffbdcca8ddad0488900089dbe9b6a3b6cc3d53b1bbeb913f
7
- data.tar.gz: a95774ba0295a9458cde265a3328703183debf41e043e38034c8f2bcd26d4deb83521dbdbec67ba6746d50266b06c5b97a4553d36376cb2d95a5301e5c64fcd5
6
+ metadata.gz: 196749c434149d59b04f937875f06e6f8288c4125b1fb446f975ca2cac7dd4c7857e949470da43aa627e579c92df0fcc88e5a69e004a6a9f2ed8a40cb888ceff
7
+ data.tar.gz: a2c64ebab3da4037466a52f0e6af5690c08e3ad28ebae3187784dab2b3a6931fb82e003a642d18e53619d0c52a922d4a5ddd8db782c5ac17b287cfd4b74ac58d
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.3@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.586]:001 >>> PWN.help
40
+ pwn[v0.4.587]: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.1.3@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.586]:001 >>> PWN.help
55
+ pwn[v0.4.587]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -368,7 +368,7 @@ module PWN
368
368
  end
369
369
  end
370
370
 
371
- if File.read(this_file).length.zero?
371
+ if File.read(this_file).empty?
372
372
  File.unlink(this_file)
373
373
  else
374
374
  print '.'
@@ -376,7 +376,7 @@ module PWN
376
376
  rescue StandardError => e
377
377
  puts "FILE GENERATION ATTEMPT OF: #{this_file} RESULTED THE FOLLOWING ERROR:"
378
378
  puts "#{e.class}: #{e.message}\n#{e.backtrace}\n\n\n"
379
- File.unlink(this_file) if File.read(this_file).length.zero?
379
+ File.unlink(this_file) if File.read(this_file).empty?
380
380
  next
381
381
  end
382
382
  print "\n"
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.586'
4
+ VERSION = '0.4.587'
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.4.586
4
+ version: 0.4.587
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.