Comments (6)
@danielmiessler that's basically happening because github search rate limit is too low(Reference). Its 30 per minute. A periodic sleep timeout or handling the error(by waiting for current minute) and re-running the iteration might help. I still need to gather time to handle this. I did update it locally but haven't really been able to test it well. Will see on the upcoming weekend.
from github-dorks.
This should be better now. The tool now waits for api rate limit to be reset and then retries the dork again.
from github-dorks.
FYI, the rate limit is 30 requests per hour, not per minute. The requests that count against that are:
- The initial search request
- Using pagination to find all potential results returned by GitHub (so each page counts against the limit)
from github-dorks.
@sigmavirus24 thanks! I am slightly confused here.
Below is what is listed at https://developer.github.com/v3/search/#rate-limit
The Search API has a custom rate limit. For requests using Basic Authentication, OAuth, or client ID and secret, you can make up to 30 requests per minute. For unauthenticated requests, the rate limit allows you to make up to 10 requests per minute.
But since you've been doing github api for such long time, can you clarify if that's practical limit. The tool works fine at the moment for now (probably it skips one search) but I feel I am able to do much more than 30 requests per hour.
from github-dorks.
Ah, they've changed that since the last time I saw it. It used to be 30 unauthenticated requests per hour and 60 authenticated requests per hour.
What you have in 0c49019 looks correct to me.
from github-dorks.
ahh okay thanks for checking that @sigmavirus24
from github-dorks.
Related Issues (20)
- Add support for checking repos of organization members
- Add support to cycle through multiple access tokens HOT 6
- build a web interface
- add details on how we can use this in cronjob HOT 1
- mail feature to mail daily runs
- offline cloned repository scanning HOT 2
- pull requests review
- filename:.history finds all files with history in the filename HOT 1
- 2 dorks require a search operator HOT 3
- rate limit HOT 5
- Error logging for each search HOT 3
- Not run the github-dork.py exucutable file HOT 6
- 422 Validation Failed HOT 8
- AttributeError: module 'base64' has no attribute 'decodestring' HOT 2
- 'NoneType' object has no attribute 'get' HOT 2
- Github Dorking HOT 1
- Add code linter and it's GitHub action HOT 5
- Bug Bounty
- Problem when run HOT 5
- Inclusion of Dorks in SecLists HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-dorks.