pwn 0.4.854 → 0.4.855
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/lib/pwn/version.rb +1 -1
- data/lib/pwn/www/hacker_one.rb +6 -3
- 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: 4b0e26ef8cb906bc4db7adfb5a04669233e68d6d849dda78ea0cdb5e6be8721f
|
4
|
+
data.tar.gz: f912aec9e8a88b0d95af96e1143b6e6e9102d059248f403d393b70db91689cbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1119d402b0f9df3d28297097b59eeebbbf3f561874812261793218af4992fd9357f50cba9e905d0d05f4f992d1fef5448dbd97f5f6dc1e59fdc515607e4a57a8
|
7
|
+
data.tar.gz: 45b3e2debba43dafcc7eeccb856dd6249c39dc48a3ae14a64c0d81ff94500348dd9b1311d056d482ed6359448cd359e5a06cce9079435c041f294bc3f32a2091
|
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.855]: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.855]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/lib/pwn/version.rb
CHANGED
data/lib/pwn/www/hacker_one.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'uri'
|
3
4
|
require 'yaml'
|
4
5
|
|
5
6
|
module PWN
|
@@ -49,14 +50,16 @@ module PWN
|
|
49
50
|
print '.'
|
50
51
|
link = "https://#{ul.first.text}"
|
51
52
|
min_payout_fmt = format('$%0.2f', min_payout)
|
52
|
-
|
53
|
-
|
53
|
+
scheme = URI.parse(link).scheme
|
54
|
+
host = URI.parse(link).host
|
55
|
+
path = URI.parse(link).path
|
56
|
+
burp_project = "#{scheme}://#{host}/teams#{path}/assets/download_burp_project_file.json"
|
54
57
|
|
55
58
|
bounty_program_hash = {
|
56
59
|
name: link.split('/').last,
|
57
60
|
min_payout: min_payout_fmt,
|
58
61
|
policy: "#{link}?view_policy=true",
|
59
|
-
burp_project:
|
62
|
+
burp_project: burp_project,
|
60
63
|
scope: "#{link}/policy_scopes",
|
61
64
|
hacktivity: "#{link}/hacktivity",
|
62
65
|
thanks: "#{link}/thanks",
|