opsdisk / pagodo

pagodo (Passive Google Dork) - Automate Google Hacking Database scraping and searching
GNU General Public License v3.0
2.66k stars 486 forks source link

Add color to terminal results #52

Closed 0xspade closed 2 years ago

0xspade commented 3 years ago

implement colorize for the results.

at least in this line, to be exact: [*] Results: 0 sites found for Google dork: ...

opsdisk commented 3 years ago

Hi @0xspade - Thanks for submitting a potential enhancement. Give me a few days to look into this. Were you thinking green for when results are found?

0xspade commented 3 years ago

red for no result and green for x results.

and also, Im having trouble with the IP blocking. Can I ask why not to use the API?

opsdisk commented 3 years ago

I found the google library and just stuck with it since it didn't require a Google account and API key. According to this article (https://rapidapi.com/blog/google-search-api/), looks like you only get 100 requests per day for free, which could be limiting. I could see them suspending the API key or account if "abuse" is detected as well.

If you have a Python library recommendation or other info about using it, I'd be open to considering adding that capability.

opsdisk commented 3 years ago

@0xspade Here's the branch https://github.com/opsdisk/pagodo/tree/add-colorama and PR https://github.com/opsdisk/pagodo/pull/53

Let me know what you think.

opsdisk commented 2 years ago

Merged into master.