pwn 0.5.268 → 0.5.269
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 +4 -4
- data/README.md +3 -3
- data/lib/pwn/version.rb +1 -1
- data/packer/provisioners/aliases.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6189af027cd4758feaa3438992858ff3ccffaa6d09eeefdb573b7f71e755579c
|
4
|
+
data.tar.gz: 32c2c26a99dbf06e7999fe2bb1603a5dd3dd02098142bfeb41bab999f095a0ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7f6d5436200f963b24b786df9c81d21ba5a65b32e69918d4887fa57595f22bff308a7ac6e15e306cc22b4d522ac5dfce113a7ca2b66e120b9416b0f4d6cc33
|
7
|
+
data.tar.gz: 76704720030351e57c4173cc72c159f4896f25bab007d19859d87470485983f2f4c98187d54e336b3df574466101aa830b70b3dc1d2a46dcbf97db116eee98f5
|
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.269]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.1@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.269]: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.1@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.269]: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/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
alias_file = '/etc/profile.d/aliases.sh'
|
5
|
-
r2_prompt = "Transform the output of pdga in r2. The output is a two column disasm and decompilation pipe-delimited output using the Ghidra decompiler). Your job is to respond ONLY with actual code (NO explanations, comments or markdown), Change 'goto' into if/else/for/while, Simplify as much as possible, use better variable names, take function arguments and strings from comments like 'string:', Reduce lines of code and fit everything in a single function, removing all dead code. Most
|
5
|
+
r2_prompt = "Transform the output of pdga in r2. The output is a two column disasm and decompilation pipe-delimited output using the Ghidra decompiler). Your job is to respond ONLY with actual code (NO explanations, comments or markdown), Change 'goto' into if/else/for/while, Simplify as much as possible, use better variable names, take function arguments and strings from comments like 'string:', Reduce lines of code and fit everything in a single function, removing all dead code. Most important, determine if the actual code is vulnerable to exploitation."
|
6
6
|
|
7
7
|
system("sudo touch #{alias_file}")
|
8
8
|
system("sudo chmod 777 #{alias_file}")
|