pwn 0.5.38 → 0.5.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/pwn +4 -3
- data/lib/pwn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4327c8038770a06069be1c810f891bdcf49b50c12809c635a1c8f8d5c9a0c4c7
|
4
|
+
data.tar.gz: 3279e4cdb7e735fa2db943ec818b1237048186e4d53d03cd6d357dac119793ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b639ee4e0187f0e178a4d8907aa35d2c8d6e2bc9307ae85a538f73ea8870b3330756214d004b4e208a33c3f7b1d7bcc158e2173f52c5a6e9c9e5b439069389a1
|
7
|
+
data.tar.gz: 7378d801b6d60c5395464404545b8fec47fb29b98adde522c7013ec9023be8e303459d245b1986775a5e51360388389d044df1a8f1bec86189d24774878cde92
|
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.40]: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.40]: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.40]: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/bin/pwn
CHANGED
@@ -123,8 +123,8 @@ begin
|
|
123
123
|
exec_hook :after_read, eval_string, self
|
124
124
|
|
125
125
|
begin
|
126
|
-
complete_expr = true if config.pwn_gpt
|
127
|
-
complete_expr = Pry::Code.complete_expression?(@eval_string) unless config.pwn_gpt
|
126
|
+
complete_expr = true if config.pwn_gpt || config.pwn_asm
|
127
|
+
complete_expr = Pry::Code.complete_expression?(@eval_string) unless config.pwn_gpt || config.pwn_asm
|
128
128
|
rescue SyntaxError => e
|
129
129
|
output.puts e.message.gsub(/^.*syntax error, */, "SyntaxError: ")
|
130
130
|
reset_eval_string
|
@@ -134,7 +134,8 @@ begin
|
|
134
134
|
@suppress_output = true if @eval_string =~ /;\Z/ ||
|
135
135
|
@eval_string.empty? ||
|
136
136
|
@eval_string =~ /\A *#.*\n\z/ ||
|
137
|
-
config.pwn_gpt
|
137
|
+
config.pwn_gpt ||
|
138
|
+
config.pwn_asm
|
138
139
|
|
139
140
|
# A bug in jruby makes java.lang.Exception not rescued by
|
140
141
|
# `rescue Pry::RescuableException` clause.
|
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.40
|
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-02-
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|