Skip to content

Commit

Permalink
Merge pull request #198 from DarkLighting/master
Browse files Browse the repository at this point in the history
Update plugins/otx.py
  • Loading branch information
s0md3v committed Nov 14, 2023
2 parents 70b5b28 + 2611b51 commit 10be64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arjun/plugins/otx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def otx(host, page):
these_params = set()
data = requests.get('https://otx.alienvault.com/api/v1/indicators/hostname/%s/url_list?limit=50&page=%d' % (host, page), verify=False).json()
data = requests.get('https://otx.alienvault.com/api/v1/indicators/hostname/%s/url_list?limit=50&page=%d' % (host, page+1), verify=False).json()
if 'url_list' not in data:
return (these_params, False, 'otx')
for obj in data['url_list']:
Expand Down

0 comments on commit 10be64d

Please sign in to comment.