pwn 0.5.85 → 0.5.87
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +3 -3
- data/lib/pwn/ffi/stdio.rb +3 -2
- data/lib/pwn/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a8457a4733c21fc6cdbaa05ab5da7d14fe885ab5998dc0946e20a4289ba5346
|
4
|
+
data.tar.gz: bcdba1bae4281c088a135241a03f36529c88f320cf61cb2802d8794e2ae55a69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e102e9f9d4f11922359940455a73f1ef1d72d2236c99110ff4583fc2c7427444a9b6f08ac46657719781b06dfebcf71b3d329b73ce2741351717062a088de4d
|
7
|
+
data.tar.gz: 4ee4bffb5362fcbb682457cbe7e94901be7b4774249f12cd0d29c4abc2f406c6fc5c268cbb419876ba14d2674feffe7c2f0d0020704069b633d459f6ac84e4b0
|
data/Gemfile
CHANGED
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.
|
40
|
+
pwn[v0.5.87]: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.3.0@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.5.
|
55
|
+
pwn[v0.5.87]: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.3.0@pwn
|
|
62
62
|
$ rvmsudo gem uninstall --all --executables pwn
|
63
63
|
$ rvmsudo gem install --verbose pwn
|
64
64
|
$ pwn
|
65
|
-
pwn[v0.5.
|
65
|
+
pwn[v0.5.87]: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:
|
data/lib/pwn/ffi/stdio.rb
CHANGED
@@ -2,13 +2,14 @@
|
|
2
2
|
|
3
3
|
require 'ffi'
|
4
4
|
|
5
|
+
PubFFI = FFI
|
5
6
|
module PWN
|
6
7
|
module FFI
|
7
8
|
# This plugin is a wrapper for the standard I/O functions in libc.
|
8
9
|
module Stdio
|
9
|
-
extend
|
10
|
+
extend PubFFI::Library
|
10
11
|
|
11
|
-
ffi_lib
|
12
|
+
ffi_lib PubFFI::Library::LIBC
|
12
13
|
|
13
14
|
attach_function(:puts, [:string], :int)
|
14
15
|
attach_function(:printf, %i[string varargs], :int, convention: :default)
|
data/lib/pwn/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.87
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -472,6 +472,20 @@ dependencies:
|
|
472
472
|
- - '='
|
473
473
|
- !ruby/object:Gem::Version
|
474
474
|
version: 2.8.1
|
475
|
+
- !ruby/object:Gem::Dependency
|
476
|
+
name: meshtastic
|
477
|
+
requirement: !ruby/object:Gem::Requirement
|
478
|
+
requirements:
|
479
|
+
- - '='
|
480
|
+
- !ruby/object:Gem::Version
|
481
|
+
version: 0.0.1
|
482
|
+
type: :runtime
|
483
|
+
prerelease: false
|
484
|
+
version_requirements: !ruby/object:Gem::Requirement
|
485
|
+
requirements:
|
486
|
+
- - '='
|
487
|
+
- !ruby/object:Gem::Version
|
488
|
+
version: 0.0.1
|
475
489
|
- !ruby/object:Gem::Dependency
|
476
490
|
name: metasm
|
477
491
|
requirement: !ruby/object:Gem::Requirement
|