Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access denied (403 Forbidden) when #4

Open
rizzblocks opened this issue Aug 16, 2023 · 1 comment
Open

Access denied (403 Forbidden) when #4

rizzblocks opened this issue Aug 16, 2023 · 1 comment

Comments

@rizzblocks
Copy link

When trying to run following command:

sudo python3 scanner.py --shodan --api-token 'token' --query 'country:"RU" http.status:200 product:"Hikvision IP Camera"' --pages 1

I get the following screen pointing to line 404 of scanner.py

bug

@rxmmah
Copy link

rxmmah commented Sep 25, 2023

same here

[i] 09/25/2023, 02:02:41 :: Fetching hosts from shodan
| Query linux upnp avtech
| Pages 1
[i] 09/25/2023, 02:02:41 :: Fetching page 1
[+] 09/25/2023, 02:02:41 :: Error: Access denied (403 Forbidden)
Traceback (most recent call last):
File "/home/kira/gitrepos/camera-exploit-tool/scanner.py", line 589, in
main()
File "/home/kira/gitrepos/camera-exploit-tool/scanner.py", line 573, in main
fetch_and_insert(args)
File "/home/kira/gitrepos/camera-exploit-tool/scanner.py", line 404, in fetch_and_insert
all_hosts.append(get_shodan_hosts(api, args.query, page)["matches"])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

Repository owner deleted a comment from mkproject-admin Feb 21, 2024
Repository owner deleted a comment from Mortal-zz Feb 23, 2024
Repository owner deleted a comment from nerypy Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants