pwn 0.4.838 → 0.4.840

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: afebcf07b9ada5d6048111f7a4709ba264a23784237930bc3741f46b880c7cc7
4
+ data.tar.gz: 164353a327bf51a5a6777a7c41434ed7fef03c6f5e7da96ebfbaafd94696428c
5
5
  SHA512:
6
- metadata.gz: 204a9be4bcdda337b8f305c0c9ae1f30dbb0dc07bbb65bd625b6b109685502787e50b69eacdf07bb0b78cec976632e1ee1b88e7cdfab50231e0c0168b455c325
7
- data.tar.gz: 1e8b8b2ef0635dbd5767ef16ec57740b566deaec3a816a4fcc286a094c8707909e69e58f3590dcf45e4325da72822427bdcad898ba8a197a7de05dcc864bbc40
6
+ metadata.gz: d0a626f6be79026280abf276d0129bab08642c52898592cd4a0ad37393ab55e79ec9940168ba734dc862e3eea09788cd0f0824d27a1c055f8ad4aeb7212a36ac
7
+ data.tar.gz: 47113c28ed4ae14a843ea875c03671912df0dd947a4df5abba64aab7e7255150cc8dd552c2c704a7cb64914ab35b1e0c5743e8fa461a92ed3eb0affa5aecca1d
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.840]: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.840]: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.840'
5
5
  end
@@ -33,19 +33,18 @@ 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
+ browser.goto('https://hackerone.com/bug-bounty-programs')
38
37
 
39
38
  bb_orgs_arr = []
40
39
  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
40
+ print '.'
41
+ next unless link.href && link.text == ''
42
+
43
+ bounty_program_hash = {
44
+ name: link.href.split('/').last,
45
+ url: link.href
46
+ }
47
+ bb_orgs_arr.push(bounty_program_hash)
49
48
  end
50
49
 
51
50
  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.840
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.