pwn 0.4.712 → 0.4.713

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: 7a66c71a98fed7910f34f6cf5653c19908b36a1739886418b37957c4af855110
4
- data.tar.gz: 5eabaee536092d29ca5e4225f906b513966ca38eb92f14f7d6b8f315cdfc1fd8
3
+ metadata.gz: aa5b6495866a18e1636f4c4be774206d388bfd64e14ce4758b7d32821138f241
4
+ data.tar.gz: 13024721078e9383b4497be913aad3ac5b7841a28b88452278fe97bb98665e80
5
5
  SHA512:
6
- metadata.gz: 33b49a77f2e2e8d693da49c0687928cd869706fd3da8b6947e60961c28a4fc14a0023d75043b5228f04a3b53330e22c078cca8c625e251cdb48ad650f095e3c3
7
- data.tar.gz: df38699306fc108bc1b6133239e6dbc4b350a606d3020b358509586e12be27200301ba1f28f9d8ba695358a4ec41e45b71ba0019a390282ddb1bf5cd2719719b
6
+ metadata.gz: cc878715a99602695d3dda2be2583ca3f9ea27d4c0ac30957fd85115787b6d7721f061bdceb7f88c43198f18a2f7e3ef2b1a091a50563c23a592a730a6da7c5e
7
+ data.tar.gz: 47ec9efac5c2824b77fbb6e6c00269c65cdb2c2ef7fe6e607c434166170938844ea9f8018a6898b6ac3e6f0aebc2bdccee04af56c844207e8942ec546e56ecbc
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.712]:001 >>> PWN.help
40
+ pwn[v0.4.713]: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.2.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.712]:001 >>> PWN.help
55
+ pwn[v0.4.713]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -17,18 +17,13 @@ module PWN
17
17
  case which_os
18
18
  when :cygwin
19
19
  cmd = 'ps'
20
- params = "waux -p #{pid}"
20
+ params = "w -p #{pid}"
21
21
  params = 'waux' if pid.nil?
22
- when :linux
22
+ when :freebsd, :linux, :netbsd, :openbsd, :osx
23
23
  cmd = 'ps'
24
24
  format = 'user,pcpu,pid,ppid,uid,group,gid,cpu,pmem,command'
25
25
  params = "w -p #{pid} -o #{format}"
26
26
  params = "wax -o #{format}" if pid.nil?
27
- when :freebsd, :netbsd, :openbsd, :osx
28
- cmd = 'ps'
29
- format = 'user,pcpu,pid,ppid,uid,group,gid,cpu,pmem,command'
30
- params = "wax -p #{pid} -o #{format}"
31
- params = "wax -o #{format}" if pid.nil?
32
27
  else
33
28
  raise "Unsupported OS: #{which_os}"
34
29
  end
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.712'
4
+ VERSION = '0.4.713'
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.712
4
+ version: 0.4.713
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.