pwn 0.4.838 → 0.4.839

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffdf3f1509b96d35cc906deff9b69e8353b52519014ab5e8d9327333fe44f730
4
- data.tar.gz: a78644ec4b6479da289642aa51fbf756e953e5a5df1de8c5ffb1215221466ec2
3
+ metadata.gz: b047dd7312462280cfe5567fa129cfe129e40540fc6f056da2c0f66644f244ab
4
+ data.tar.gz: 5c096680382b7e32f70cdc123232cb40ede83ffb8db945d1f298188e4d2bc0ec
5
5
  SHA512:
6
- metadata.gz: 204a9be4bcdda337b8f305c0c9ae1f30dbb0dc07bbb65bd625b6b109685502787e50b69eacdf07bb0b78cec976632e1ee1b88e7cdfab50231e0c0168b455c325
7
- data.tar.gz: 1e8b8b2ef0635dbd5767ef16ec57740b566deaec3a816a4fcc286a094c8707909e69e58f3590dcf45e4325da72822427bdcad898ba8a197a7de05dcc864bbc40
6
+ metadata.gz: 381a11148c79b3ba3877f4f988111a2bd4c45fa8050efcd659ddf6e9aa18e51f530e46cb4014605261c3a137b232f2657d4a929713de6d7ea8ecadadf1cf79c2
7
+ data.tar.gz: c9bfebb856d09604c05078f185a51119a58466eca2b96136b6198c474d82fb9ff3df9398be747b00a38ab00aa636706b0ff17d7064a3496f1f366f1bde2747da
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.838]:001 >>> PWN.help
40
+ pwn[v0.4.839]: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.838]:001 >>> PWN.help
55
+ pwn[v0.4.839]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
data/lib/pwn/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.4.838'
4
+ VERSION = '0.4.839'
5
5
  end
@@ -33,19 +33,19 @@ module PWN
33
33
  browser_obj = opts[:browser_obj]
34
34
  browser = browser_obj[:browser]
35
35
 
36
- bb_orgs = 'https://hackerone.com/bug-bounty-programs'
37
- browser.goto(bb_orgs)
36
+ bb_prog_uri = 'https://hackerone.com/bug-bounty-programs'
37
+ browser.goto(bb_prog_uri)
38
38
 
39
39
  bb_orgs_arr = []
40
40
  browser.links.each do |link|
41
- if link.href && link.text == ''
42
- bounty_program_hash = {
43
- name: link.href.split('/').last,
44
- url: link.href
45
- }
46
- bb_orgs_arr.push(bounty_program_hash)
47
- print '.'
48
- end
41
+ print '.'
42
+ next unless link.href && link.text == ''
43
+
44
+ bounty_program_hash = {
45
+ name: link.href.split('/').last,
46
+ url: link.href
47
+ }
48
+ bb_orgs_arr.push(bounty_program_hash)
49
49
  end
50
50
 
51
51
  bb_orgs_arr
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.838
4
+ version: 0.4.839
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.