pwn 0.5.346 → 0.5.348
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/bin/pwn_burp_suite_pro_active_scan +1 -0
- data/lib/pwn/plugins/burp_suite.rb +7 -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: 1da4b99ee1485d7a74130a89106043014290a5d7fd624c406be6628153159327
|
4
|
+
data.tar.gz: 8eadab13c9cd93eb934f885b3e56b5a7df929097f97e3ef8b5096664e69c463f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b4257f60f4f5851a9c70b70fa443da4cd102018b0fc8614e3793a3dcc84771496a27c51cad3fb02612a73bd88baf792784f972fe9a689e041c238a718e8a50
|
7
|
+
data.tar.gz: ee044f9832707d85649f22ffcd59ed9b897ee4ddac739b229bfd5623dc8cfb2c2faee8c5343361d2d5306107fc6df4113b1fe33139389f472c97a7f8d5c6169d
|
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.348]: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.348]: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.348]: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:
|
@@ -106,6 +106,7 @@ begin
|
|
106
106
|
duration = 9
|
107
107
|
print "Waiting #{duration} seconds prior to kicking off active scan..."
|
108
108
|
sleep duration # Sleep for now so everything loads the way we expect - blech.
|
109
|
+
print "\n"
|
109
110
|
|
110
111
|
PWN::Plugins::BurpSuite.invoke_active_scan(burp_obj: burp_obj, target_url: in_scope)
|
111
112
|
|
@@ -142,7 +142,6 @@ module PWN
|
|
142
142
|
json_in_scope = JSON.parse(in_scope_resp, symbolize_names: true)
|
143
143
|
json_in_scope[:value]
|
144
144
|
rescue StandardError => e
|
145
|
-
stop(burp_obj: burp_obj) unless burp_obj.nil?
|
146
145
|
raise e
|
147
146
|
end
|
148
147
|
|
@@ -168,7 +167,7 @@ module PWN
|
|
168
167
|
end
|
169
168
|
|
170
169
|
# Supported Method Parameters::
|
171
|
-
#
|
170
|
+
# json_spider = PWN::Plugins::BurpSuite.spider(
|
172
171
|
# burp_obj: 'required - burp_obj returned by #start method',
|
173
172
|
# target_url: 'required - target url to add to crawl / spider'
|
174
173
|
# )
|
@@ -684,7 +683,7 @@ module PWN
|
|
684
683
|
)
|
685
684
|
puts " => #{resp.code}"
|
686
685
|
rescue RestClient::ExceptionWithResponse => e
|
687
|
-
puts " => #{e.response.code}"
|
686
|
+
puts " => #{e.response.code}" if e.respond_to?(:response) && e.response
|
688
687
|
next
|
689
688
|
end
|
690
689
|
|
@@ -938,6 +937,11 @@ module PWN
|
|
938
937
|
target_url: 'required - target url to add to scope'
|
939
938
|
)
|
940
939
|
|
940
|
+
json_spider = #{self}.spider(
|
941
|
+
burp_obj: 'required - burp_obj returned by #start method',
|
942
|
+
target_url: 'required - target url to spider in scope'
|
943
|
+
)
|
944
|
+
|
941
945
|
#{self}.enable_proxy(
|
942
946
|
burp_obj: 'required - burp_obj returned by #start method'
|
943
947
|
)
|
data/lib/pwn/version.rb
CHANGED