sundowndev / phoneinfoga

Information gathering framework for phone numbers
https://sundowndev.github.io/phoneinfoga/
GNU General Public License v3.0
12.82k stars 3.57k forks source link

Choose another search engine #126

Closed MinePro120 closed 4 years ago

MinePro120 commented 5 years ago

Describe the bug When I'm prompted to do the captcha, after many attempts to verify I'm not a robot, a new test always appears (first fire hydrants, then buses, crosswalks etc). That goes on. I can never finish the captcha.

To Reproduce python3 phoneinfoga.py -n +****

Expected behavior I expected to complete the captcha and get the results. I hate google. Is it possible we could choose another search engine?

Desktop (please complete the following information):

sundowndev commented 5 years ago

Is it possible we could choose another search engine?

Not at the moment, but would be a cool feature to add. What would you use as an alternative ?

If you're a Python developer, you can make this by yourself by hacking this file https://github.com/sundowndev/PhoneInfoga/blob/master/lib/googlesearch.py

MinePro120 commented 5 years ago

The primary goal of this issue was to denote that bug, not the enhancement. I don't know if it's google's or the program's fault. Now, about the enhancement I'd suggest duckduckgo or bing. They both work pretty well. I'd be willing to help if I knew Python. It is currently on my to-do list.

programandoconro commented 5 years ago

I really recommend using docker-compose for this matter. You can install Docker (it is multi-platform) and it will be simpler to achieve the goal of doing the scan successfully. Basic Docker is very easy to learn, it took 2 days to understand it main features. In this way you can run the program without configuration or compatibility issues. I hope you manage to use the program. Cheers.

El lun., 16 sept. 2019 a las 13:40, MinePro120 (notifications@github.com) escribió:

The primary goal of this issue was to denote that bug, not the enhancement. I don't know if it's google's or the program's fault. Now, about the enhancement I'd suggest duckduckgo or bing. They both work pretty well. I'd be willing to help if I knew Python. It is currently on my to-do list.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sundowndev/PhoneInfoga/issues/126?email_source=notifications&email_token=AL6LYNU6AM74Y4EWGZ3KWQ3QJ55FVA5CNFSM4IW2TYC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZACWQ#issuecomment-531759450, or mute the thread https://github.com/notifications/unsubscribe-auth/AL6LYNRNR3RWKVURNS3FXWLQJ55FVANCNFSM4IW2TYCQ .

MinePro120 commented 5 years ago

So, this is not reproducible? I will try docker (happily).

sundowndev commented 5 years ago

@MinePro120 I managed to reproduce this with a VPN. It means Google assign you to a very low human score, that's the reason sometime you can solve the captcha in one-shot, and sometime having 10 tries before solving it. A clever solution would be to implement rotating proxy (=>change IP address every X minutes to avoid blacklist; but that's an expensive feature).

MinePro120 commented 5 years ago

But I didn't use a VPN. So docker won't help? Also, about the rotating proxy, the requests are made so fast that the proxy probably wouldn't have the time to change IP. Am I wrong? Note that this issue happened from the first time I used the program.

sundowndev commented 5 years ago

The primary goal of this issue was to denote that bug, not the enhancement. I don't know if it's google's or the program's fault.

It's Google's fault and we can't do anything about it but finding solutions to bypass captcha.

But I didn't use a VPN. So docker won't help?

No, because Docker will simply run Firefox in a container.

MinePro120 commented 5 years ago

Could adding a delay between the requests make the situation any better?

sundowndev commented 5 years ago

If by request you mean an actual query to google.com, yes. But I don't think that's a relevant solution.

MinePro120 commented 5 years ago

I don't think it would make a big difference, because it would take some time to check the results of each search. For you of course. I'm a bot.

programandoconro commented 5 years ago

Thank you Raphael and team, today I found a scam number calling me, using phoneinfoga. I have more control now of my incoming calls. Thanks.

El lun., 16 sept. 2019 a las 19:51, MinePro120 (notifications@github.com) escribió:

I don't think it would make a big difference, because it would take some time to check the results of each search. For you of course. I'm a bot.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sundowndev/PhoneInfoga/issues/126?email_source=notifications&email_token=AL6LYNVUCHMPQWAAQ66AXELQJ7IU3A5CNFSM4IW2TYC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62ET4Y#issuecomment-531909107, or mute the thread https://github.com/notifications/unsubscribe-auth/AL6LYNTJZRNPKCTDO3H7YCLQJ7IU3ANCNFSM4IW2TYCQ .

sundowndev commented 4 years ago

@MinePro120 Have you considered using a rotating proxy to bypass Google captcha ?