pwn 0.5.355 → 0.5.356
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 +23 -12
- 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: 9b868d96f794aec7b4791d100b90533fd12f4c8604d2bce0ecfb2984545a70cb
|
4
|
+
data.tar.gz: 292c193f5f6bb877a0b4c1b96803dba2c7f67a7fa21dab9ed67da88d66238ffc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f8e83b4c59a0e9ff7d03ee3768ef09316bb6d3e967d1c78ed566ece9dc41f4c96ebe267583cbdc7b7acb84ac0c000b319d2cde4a486630112a03949c8049e7a
|
7
|
+
data.tar.gz: 84f93e38d00342370e2812a1b23c797dc5a97f44aa538d9a1972dca01e028a72043ac194f1cde78650a12c46d5ec5bd67f82702bb2670d54709e3d5243cc72f5
|
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.356]: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.356]: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.356]: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:
|
@@ -800,20 +800,31 @@ module PWN
|
|
800
800
|
end
|
801
801
|
|
802
802
|
# Wait for scan completion
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
puts "Target ID ##{this_scan_item_id} of ##{scan_queue_total}| #{scan_status}"
|
813
|
-
sleep 3
|
803
|
+
loop do
|
804
|
+
scan_queue = rest_browser.get("http://#{pwn_burp_api}/scan/active")
|
805
|
+
json_scan_queue = JSON.parse(scan_queue, symbolize_names: true)
|
806
|
+
break if json_scan_queue.all? { |scan| scan[:status] == 'finished' }
|
807
|
+
|
808
|
+
puts "\n\n\n"
|
809
|
+
puts '-'* 90
|
810
|
+
json_scan_queue.each do |scan|
|
811
|
+
puts "Target ID: #{scan[:id]}, Request Count: #{scan[:request_count]}, Progress: #{scan[:percent_complete]}%, Status: #{scan[:status]}"
|
814
812
|
end
|
815
|
-
|
813
|
+
|
814
|
+
sleep 30
|
816
815
|
end
|
816
|
+
# scan_queue_total = json_scan_queue.count
|
817
|
+
# json_scan_queue.each do |scan_item|
|
818
|
+
# this_scan_item_id = scan_item[:id]
|
819
|
+
# until scan_item[:status] == 'finished'
|
820
|
+
# scan_item_resp = rest_browser.get("http://#{pwn_burp_api}/scan/active/#{this_scan_item_id}")
|
821
|
+
# scan_item = JSON.parse(scan_item_resp, symbolize_names: true)
|
822
|
+
# scan_status = scan_item[:status]
|
823
|
+
# puts "Target ID ##{this_scan_item_id} of ##{scan_queue_total}| #{scan_status}"
|
824
|
+
# sleep 3
|
825
|
+
# end
|
826
|
+
# puts "Target ID ##{this_scan_item_id} of ##{scan_queue_total}| 100% complete\n"
|
827
|
+
# end
|
817
828
|
|
818
829
|
active_scan_url_arr # Return array of targeted URIs to pass to #generate_scan_report method
|
819
830
|
rescue StandardError => e
|
data/lib/pwn/version.rb
CHANGED