Skip to content

Commit a3af8cf

Browse files
authored
Merge pull request #396 from ninp0/master
PWN::WWW::HackerOne module - add method to return all bug bounty prog…
2 parents 33b3c82 + 055eccb commit a3af8cf

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
3737
$ rvm list gemsets
3838
$ gem install --verbose pwn
3939
$ pwn
40-
pwn[v0.4.841]:001 >>> PWN.help
40+
pwn[v0.4.842]:001 >>> PWN.help
4141
```
4242

4343
[![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
5252
$ gem uninstall --all --executables pwn
5353
$ gem install --verbose pwn
5454
$ pwn
55-
pwn[v0.4.841]:001 >>> PWN.help
55+
pwn[v0.4.842]:001 >>> PWN.help
5656
```
5757

5858

lib/pwn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PWN
4-
VERSION = '0.4.841'
4+
VERSION = '0.4.842'
55
end

lib/pwn/www/hacker_one.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ module HackerOne
3333
browser_obj = opts[:browser_obj]
3434
browser = browser_obj[:browser]
3535

36-
browser.goto('https://hackerone.com/bug-bounty-programs').wait_until(&:present?)
36+
browser.goto('https://hackerone.com/bug-bounty-programs')
3737

3838
bb_orgs_arr = []
39+
# wait until brrowser.links has objects
40+
browser.links.wait_until(&:present?)
3941
browser.links.each do |link|
4042
print '.'
4143
next unless link.href && link.text == ''

0 commit comments

Comments
 (0)