pwn 0.4.856 → 0.4.857
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/pwn_burp_suite_pro_active_scan +10 -2
- data/lib/pwn/plugins/burp_suite.rb +1 -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: fcfa3ae96c3d540922b6b6f18b9dc7440d02121266561241e753c161ccc10ceb
|
4
|
+
data.tar.gz: b5a820ca67652d3e95f73981b48f9bff1b03808d02e6a74338529204ef3cbcd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73f5c6ffc52046512a783c08b7787e834be2bb8968abb833acb2e616935a65189a18730881d38f0124b5d2ce30a308ddaa2273f23c681d5104820139bf783620
|
7
|
+
data.tar.gz: a77686ec13fba65cb0f60d42886182f1b6b65b1922bf692aa1e0d2190a52bce2e9063c81bf30a9bde28b5117ba7425927f68c74093027970e9755e8a6e2329e5
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
|
|
37
37
|
$ rvm list gemsets
|
38
38
|
$ gem install --verbose pwn
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.4.
|
40
|
+
pwn[v0.4.857]: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.2.2@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.4.
|
55
|
+
pwn[v0.4.857]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
@@ -29,6 +29,10 @@ OptionParser.new do |options|
|
|
29
29
|
options.on('-IINST', '--navigation_instruct=INST', '<Required - Path to Navigation Instructions (e.g. Auth w/ Target - see /pwn/etc/burpsuite/navigation.instruct.EXAMPLE)>') do |i|
|
30
30
|
opts[:navigation_instruct] = i
|
31
31
|
end
|
32
|
+
|
33
|
+
options.on('-cFILE', '--target-config=FILE', '<Optional - Path to Target Config JSON File>') do |c|
|
34
|
+
opts[:target_config] = c
|
35
|
+
end
|
32
36
|
end.parse!
|
33
37
|
|
34
38
|
if opts.empty?
|
@@ -47,18 +51,22 @@ begin
|
|
47
51
|
navigation_instruct = opts[:navigation_instruct]
|
48
52
|
raise 'Invalid path to browser instructions. Please check your spelling and try again.' unless File.exist?(navigation_instruct)
|
49
53
|
|
54
|
+
target_config = opts[:target_config]
|
55
|
+
|
50
56
|
# ------
|
51
57
|
# Open Burp
|
52
58
|
if headless
|
53
59
|
burp_obj = PWN::Plugins::BurpSuite.start(
|
54
60
|
burp_jar_path: burp_jar_path,
|
55
61
|
headless: true,
|
56
|
-
browser_type: :headless
|
62
|
+
browser_type: :headless,
|
63
|
+
target_config: target_config
|
57
64
|
)
|
58
65
|
else
|
59
66
|
burp_obj = PWN::Plugins::BurpSuite.start(
|
60
67
|
burp_jar_path: burp_jar_path,
|
61
|
-
browser_type: :chrome
|
68
|
+
browser_type: :chrome,
|
69
|
+
target_config: target_config
|
62
70
|
)
|
63
71
|
end
|
64
72
|
|
@@ -36,7 +36,7 @@ module PWN
|
|
36
36
|
# burp_cmd_string = "java -Xmx4G -classpath #{burp_root}/burpbuddy.jar:#{burp_jar_path} burp.StartBurp"
|
37
37
|
burp_cmd_string = "java -Xmx4G -classpath #{burp_root}/burpbuddy.jar -jar #{burp_jar_path}"
|
38
38
|
end
|
39
|
-
burp_cmd_string = "#{burp_cmd_string} --config-file
|
39
|
+
burp_cmd_string = "#{burp_cmd_string} --config-file=#{target_config}" if target_config && File.exist?(target_config)
|
40
40
|
|
41
41
|
# Construct burp_obj
|
42
42
|
burp_obj = {}
|
data/lib/pwn/version.rb
CHANGED