pwn 0.5.349 → 0.5.350
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/plugins/burp_suite.rb +3 -3
- data/lib/pwn/version.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: f5425aceb9565fc34697e038fbfa7297c71a1b7a7f023a01ffdaa2b1ab9df3b2
|
4
|
+
data.tar.gz: 97a017685b3cb4095bc2274d6d9b9b8f2348d3ea5da636699c1b6f3a7aedc36c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d45eeed76fb031fbf8cd8beaa810d624a933c74ddafdb926a19f5933caa9fb382c6e77fdd2e5b22f1bc3dc317711d0924d94cd9ed499ffd205feeaa83acf6a2d
|
7
|
+
data.tar.gz: 6966744d6da5e6f3632f4b8a56557103d4d0d8bf525f4309d62d3c40d60730012d2a927da1cecd6ee2482462725e922e9519a3c5306e888e016cda57fa2c800a
|
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.350]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.4@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.350]: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.4@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.350]: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:
|
@@ -500,12 +500,12 @@ module PWN
|
|
500
500
|
param_name = param[:name].to_s
|
501
501
|
case param[:in]
|
502
502
|
when 'path'
|
503
|
-
# Substitute path parameter with a default value (e.g., '
|
504
|
-
param_value = param[:schema]&.dig(:example) || '
|
503
|
+
# Substitute path parameter with a default value (e.g., 'PLACEHOLDER')
|
504
|
+
param_value = param[:schema]&.dig(:example) || 'PLACEHOLDER'
|
505
505
|
request_path.gsub!("{#{param_name}}", param_value.to_s)
|
506
506
|
when 'query'
|
507
507
|
# Collect query parameters
|
508
|
-
param_value = param[:schema]&.dig(:example) || '
|
508
|
+
param_value = param[:schema]&.dig(:example) || 'PLACEHOLDER'
|
509
509
|
query_params << "#{URI.encode_www_form_component(param_name)}=#{URI.encode_www_form_component(param_value.to_s)}"
|
510
510
|
end
|
511
511
|
end
|
data/lib/pwn/version.rb
CHANGED