pwn 0.5.342 → 0.5.344
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 -1
- 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: d7e80f00eb55ed1f8f0f78eec57518ba5b69e015408faec5abcfc983e395ba72
|
4
|
+
data.tar.gz: f2f8ba9191e1074aca3e11009bc0d46150b0fc60db18a06df3005cf5d83df80c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea918d32b0a1d44f25c440575a6505f18bcd33deadadcb34282b5660ac7d46d1c602d0294b49e12222e528e6ae17073268852e7c61c076b43336d52efcd8ba67
|
7
|
+
data.tar.gz: 6ba601d59c8bcbd1a837e8e1781842c90ad8eb39579102f2d1057464615f4a2b4f32543e28570a9d7d0f11943c87092e6c40f7247d6dad31b3fc3d94c18c9bf2
|
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.344]: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.344]: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.344]: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:
|
@@ -637,7 +637,7 @@ module PWN
|
|
637
637
|
json_sitemap = get_sitemap(burp_obj: burp_obj, target_url: target_url)
|
638
638
|
json_sitemap.uniq.each do |site|
|
639
639
|
# Skip if the site does not have a request or http_service
|
640
|
-
next
|
640
|
+
next if site[:request].empty?
|
641
641
|
|
642
642
|
json_req = site[:request]
|
643
643
|
b64_decoded_req = Base64.strict_decode64(json_req)
|
@@ -675,6 +675,7 @@ module PWN
|
|
675
675
|
use_https: use_https,
|
676
676
|
request: json_req
|
677
677
|
}.to_json
|
678
|
+
puts "POST BODY: #{post_body.inspect}"
|
678
679
|
# Kick off an active scan for each given page in the json_sitemap results
|
679
680
|
resp = rest_browser.post(
|
680
681
|
"http://#{pwn_burp_api}/scan/active",
|
@@ -682,6 +683,7 @@ module PWN
|
|
682
683
|
content_type: 'application/json'
|
683
684
|
)
|
684
685
|
puts " => #{resp.code}"
|
686
|
+
sleep 0.5 # Sleep to avoid overwhelming the Burp API
|
685
687
|
rescue RestClient::ExceptionWithResponse => e
|
686
688
|
puts " => #{e.response.code}"
|
687
689
|
next
|
data/lib/pwn/version.rb
CHANGED