Skip to content

Commit 82ebbfb

Browse files
authored
Fix msftidy warnings
1 parent 3e2173d commit 82ebbfb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/auxiliary/gather/shodan_honeyscore.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def initialize(info = {})
2424
'Author' =>
2525
[ 'thecarterb' ], # Thanks to @rwhitcroft, @h00die and @wvu-r7 for the improvements and review!
2626
'License' => MSF_LICENSE,
27-
'References' =>
27+
'References' =>
2828
[
29-
[ 'URL', 'https://honeyscore.shodan.io/']
29+
[ 'URL', 'https://honeyscore.shodan.io/']
3030
]
3131
)
3232
)
@@ -49,13 +49,13 @@ def print_score(score)
4949

5050
def run
5151
key = datastore['SHODAN_APIKEY']
52-
52+
5353
# Check the length of the key (should be 32 chars)
5454
if key.length != 32
5555
print_error('Invalid API key (Not long enough)')
5656
return
5757
end
58-
58+
5959
tgt = datastore['TARGET']
6060
print_status("Scanning #{tgt}")
6161
cli = Rex::Proto::Http::Client.new('api.shodan.io', 443, {}, true)

0 commit comments

Comments
 (0)