hisxo / gitGraber

gitGraber: monitor GitHub to search and find sensitive data in real time for different online services such as: Google, Amazon, Paypal, Github, Mailgun, Facebook, Twitter, Heroku, Stripe...
GNU General Public License v3.0
2k stars 328 forks source link

Automating the "monitoring" part of gitGraber #14

Closed Abss0x7tbh closed 4 years ago

Abss0x7tbh commented 4 years ago

Hey there!

First off, great work on gitGraber!

The README contains the following recommendation -

We recommend creating a cron that will execute the script regulary :

*/15 * * * * cd /BugBounty/gitGraber/ && /usr/bin/python3 gitGraber.py -k wordlists/keywords.txt -q "uber" -s >/dev/null 2>&1

The above cron job will ensure regular execution of the script every 15 mins . This means that the user need not "repeat" the query with the same arguments, in short on adding the above cron job to the crontab the user can monitor the GitHub "query".

The only issue i see here is that this could very easily be automated i.e the user need not always add cron jobs manually for every query of theirs. So i wanted to automate this by giving a choice to the end user.

My PR does 3 simple things -

Hope you like the idea.

Thanks!

Abss0x7tbh commented 4 years ago

Also i forgot to add that the cron job that will be created will default to every 30 mins.

rmarot commented 4 years ago

Hi !

Thanks for your PR. We will have a look at this but it seems to be an interesting feature indeed.

We will let you know soon,

Thanks !

rmarot commented 4 years ago

Thanks again @Abss0x7tbh !

Abss0x7tbh commented 4 years ago

Hey!

Am glad that you liked my idea : )

Thanks!