GithubHelp home page GithubHelp logo

Comments (43)

surrealalucard avatar surrealalucard commented on September 28, 2024 3

I am also having this issue. Get blacklisted and given a URL to go to, when I manually paste into browser (tried chromium and firefox) there is no captcha or cookie. Tried both in regular and incognito browsing.
Country: United States
URL (Both url given and redirect was same. Also * = phone number input): https://www.google.com/search?tbs=li:1&q=**********+OR+%22**********%22+OR+%22%2B*+***-***-****%22&gws_rd=ssl&gl=us
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Cookies in Browser:
1P_JAR
ANID
NID
CGIC
DV
SNID

Edit: Type errors.

from phoneinfoga.

ChrisKls avatar ChrisKls commented on September 28, 2024 1

Dear all,
I can confirm the issue : same problem here.

Country : France
URL : https://www.google.com/search?:tbs=li:1&q=337******49+OR+%22337******49%22+OR+%22%2B33+7+**+**+**+49%22&gws_rd=ssl&gl=us
I tried an other phone number with the same result.

There was no redirection when I pasted the link (for what I can tell). I tried it on Firefox, Chrome and TOR, refreshed multiple times and got my PC rebooted. Still no GOOGLE_ABUSE_EXEMPTION value to copy appeared. I got no captcha to solve.

My Firefox user-agent is : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

The storage/cookie values available are : 1P_JAR, ANID, CGIC (x2), CONSENT, DV, NID and SNID.

Thx for the job you made, hope it helps !

from phoneinfoga.

Th3-Think3r avatar Th3-Think3r commented on September 28, 2024 1

Still having the same issue as many others. Have tried Chrome, incognito, FF, Tor, none of them gave me the captcha option

from phoneinfoga.

kiroxxvx avatar kiroxxvx commented on September 28, 2024 1

When I open the Captcha link from terminal (Firefox), I get brought to an search that has results, there is no captcha or anything but the page itself isn't blank. I am not using a VPN.

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

Hi, sometimes you just need to refresh the page to get the cookie. Can you try and tell me ?

I'll look into a way to get the captcha 100% of time (using a very odd looking request).

EDIT: this often occurs when the tool does not use the same user agent as your browser.

from phoneinfoga.

The-legend3 avatar The-legend3 commented on September 28, 2024

Having the same issue. Any ideas?

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

@The-legend3 Again, did you try refreshing the Google page to have the cookie created ?

If yes, try using the incognito mode.

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

Feel free to reopen if you have further details about that Google captcha behavior.

from phoneinfoga.

r3x07 avatar r3x07 commented on September 28, 2024

help

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

Without details I'll not be able to help you.

Read the wiki about dealing with Google captcha

from phoneinfoga.

 avatar commented on September 28, 2024

Dear All,

I can confirm that this is not working, Google Chrome, Firefox, Developer tools.

Looked at:

Session Storage
Local Storage,
Any other Storage available in there :-)

There seems to nos be a reliable way to get this cookie name to show up. You cannot trigger this cookie by just keeping F5 pressed and firing the refresh hundred of times.

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

@federico33385 Did you try using private browsing ?

It sounds weird to me since it works fine for me.

from phoneinfoga.

Smacksmack206 avatar Smacksmack206 commented on September 28, 2024

I can confirm i'm having issues getting the captcha to show up as well. i tried using different browsers from you saying something about user agent, also tried using incognito/private mode in the browser too

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

@Smacksmack206 Can you please give me :

  • Your country
  • The exact URL the tool ask you to visit (hide your IP and phone number)
  • The exact URL google redirects you to, if it's not the same (hide your IP and phone number)
  • Your complete user-agent
  • A screenshot of what cookie you have in browser storage (just the keys, not the values)

Other people in this topic can do it too, also you can send it by email if you don't want it to be public raphael[at]crvx.fr.

Thank you for your help on this!

from phoneinfoga.

fy5ve avatar fy5ve commented on September 28, 2024

I had the same issue, but found a solution that worked for me:

Turn on a VPN, use the Brave's tor browser not the "incognito" with (option + command + N)

Paste the link and solve the robot verification then once you finish, hit right click > inspect > Application > Cookies
You should find it in the first file this time. copy the value and paste it in the terminal.

from phoneinfoga.

fy5ve avatar fy5ve commented on September 28, 2024

Worth to mention that after few times trying this method with success i get this message on the captcha box

our computer or network may be sending automated queries. To protect our users, we can't process your request right now. For more details visit our help page

from phoneinfoga.

eliddell1 avatar eliddell1 commented on September 28, 2024

For me part of my problem was that I was running anonsurf and it kept changing my ip. turning off TOR solved it..

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

Here's the main problem: the tool doesn't have the same identity than your browser. I'm investigating on how to properly trigger Google captcha and get a whitelist cookie that was created for this identity. Using Selenium driver would be a good idea, especially to automatically open the captcha URL and get the cookie. I actually don't have much spare time so it will take me some time to fix this, but if you're up to help me on this, feel free to participate on this topic or by sending me an email (raphael[at]crvx.fr).

Also I think the fact that the tool works perfectly for me is -probably- because the identity I set to the tool to querying Google is optimized to my browser identity (IP address, HTTP headers, user-agent ...). I found out that sometimes, even when both browser and tool are blacklisted and asked to complete the captcha, the cookie given by the browser after solving the captcha is not working on the tool because the cookie is not compatible with the tool web identity. So the goal now is to find a way to querying and solve the captcha with the exact same web identity.

I see two options to make this possible :

  • Keep querying Google with the request library and use a web driver such as selenium with custom request settings, to fit with the initial request
  • Use a web driver for both querying Google and solving captcha, that means the web driver must have an API to both manipulate HTML elements and request settings

from phoneinfoga.

YaakovForte avatar YaakovForte commented on September 28, 2024

so I hope this will help someone here.

so I had the same problem with captcha and I tried everything and none worked for me so what I did I simply searched for it on chrome and it give me the thing that u need to verify that ur, not a robot and then after I finish doing that I gat the GOOGLE_ABUSE_EXEMPTION thing so know I am happy good luck to every one.

from phoneinfoga.

Upri5e avatar Upri5e commented on September 28, 2024

I was having the issue first all i did is just open the link in Tor and i got the captcha and the cookie but for some reason the cookie isnt working whenever i use it gives me the whole google abuse exemption message again(i tried clearing my cookies and cache same result)

from phoneinfoga.

Upri5e avatar Upri5e commented on September 28, 2024

so i tried it again today and everything was working normally i even got the captcha this time on firefox didnt even need tor and all is good so maybe if someone still having the issue try restarting your pc and modem

from phoneinfoga.

JBGitHub11 avatar JBGitHub11 commented on September 28, 2024

api and cx are required in config.py, right?

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

@JBGitHub11 No, this is optional if you want to use your own Google API key. I recommend doing this to avoid having issues with Google captcha.

from phoneinfoga.

ryuujo avatar ryuujo commented on September 28, 2024

@JBGitHub11 No, this is optional if you want to use your own Google API key. I recommend doing this to avoid having issues with Google captcha.

How to get google_api_key and cx_id?

from phoneinfoga.

imaandrew avatar imaandrew commented on September 28, 2024

@mirukusheki There is a great guide here: https://datasploit.readthedocs.io/en/latest/apiGeneration/

instead of typing pastebin.com and pastie.org, type in google.com.

from phoneinfoga.

ryuujo avatar ryuujo commented on September 28, 2024

@mirukusheki There is a great guide here: https://datasploit.readthedocs.io/en/latest/apiGeneration/

instead of typing pastebin.com and pastie.org, type in google.com.

It works now without any captcha verification. but it seems I found this message

Error while fetching Google search API. Maybe usage limit ? Please verify your keys.

I assuming that I already did the same on their tutorial

from phoneinfoga.

ryuujo avatar ryuujo commented on September 28, 2024

I already updated the comment. It looks like something wrong with the API Code

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

@mirukusheki @ThatWeirdAndrew See #50 (comment)

from phoneinfoga.

scrblrus avatar scrblrus commented on September 28, 2024

I have the same issue. I thought I had a workaround, but couldn't reproduce it.

I'd prefer not to use Google's api since they are not friendly to privacy concerns and it's not free.

Can we implement a privacy and security oriented search api instead?

from phoneinfoga.

scrblrus avatar scrblrus commented on September 28, 2024

I have an update. I don't know if this will help, but I'm working on reproducing it. It still slows down the scanning process, but may be a workaround at this time. I'm using Firefox. What I did to force the Captcha to appear was I went into the address bar and clicked enter over and over as if I was doing the same search multiple times. I did this extremely fast. It was rather annoying, but the Captcha eventually appeared. I solved the Captcha and the cookie appeared. In the developer menu, I grabbed the text that starts with ID=xxxxxxxxxxxxx a really long string. You then paste that into your terminal and it should work.

from phoneinfoga.

mikediachenko avatar mikediachenko commented on September 28, 2024

@scrblrus Hi. Interesting tip. I will try it today, because I was fighting to get Captcha for days with no results.

from phoneinfoga.

Th3-Think3r avatar Th3-Think3r commented on September 28, 2024

@scrblrus I actually was trying that with Chrome and Tor and I still never made CAPTCHA appear. Its amazing, they appear in the most inconvenient instances just not the one time you actually want them.

from phoneinfoga.

scrblrus avatar scrblrus commented on September 28, 2024

@Th3-Think3r @mikediachenko I could use some help reproducing this workaround. Another note, once you get the code, immediately copy and paste it into a document to save it. I was able to use the same code after running the script on another device successfully. I hope we find a more permanent fix, soon.

from phoneinfoga.

scrblrus avatar scrblrus commented on September 28, 2024

@kiroxxvx That is the same behavior I experienced. Look at my previous post. The search results don't matter. Stay on that page. What you need is to trigger the CAPTCHA. I described earlier how to do this. Stay on that page and follow the steps I posted earlier.

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

We have enough information about this issue. Locked until it get a fix, I'm working on it.

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

We now have a fix for this issue using Selenium. Can everyone try it and tell me ?

In a previous installation, follow these steps :

  • Checkout to the develop branch : git checkout develop
  • Pull the new code from the branch : git pull
  • Install the requirements again : python3 -m pip install -r requirements.txt
  • Install the geckodriver
  • Run the tool as usual

How to install geckodriver on Linux

wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
tar xvfz geckodriver-v0.24.0-linux64.tar.gz
sudo mv geckodriver /usr/bin

You don't need the cookie anymore, just run the tool and wait for the captcha to appear, complete it then just press ENTER.

Tested on a fresh install of Linux kali 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux with Python 3.7.3.

from phoneinfoga.

Th3-Think3r avatar Th3-Think3r commented on September 28, 2024

Im having the same issue as before after following steps above.

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

@Th3-Think3r It's not possible. I forgot to mention that you need to pull the new code, git checkout develop then git pull.

from phoneinfoga.

Th3-Think3r avatar Th3-Think3r commented on September 28, 2024

Yep that fixed it!, thanks a lot!

from phoneinfoga.

kklee97 avatar kklee97 commented on September 28, 2024

it is working thank you for the fix

from phoneinfoga.

mikediachenko avatar mikediachenko commented on September 28, 2024

Gentlemen, after fix for issue #76 was released, I've done git checkout develop and git pull and script stopped working for me:
Traceback (most recent call last): File "phoneinfoga.py", line 95, in <module> main() File "phoneinfoga.py", line 71, in main scanNumber(args.number) File "phoneinfoga.py", line 37, in scanNumber recon.scan(number) File "/Users/tommy/Documents/GitHub/PhoneInfoga/scanners/recon.py", line 88, in scan for result in search('"%s"' % (format), stop=5): File "/Users/tommy/Documents/GitHub/PhoneInfoga/lib/googlesearch.py", line 35, in search browser = webdriver.Firefox() File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__ keep_alive=True) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

I've run again python3.7 -m pip install -r requirements.txt and install geckodriver, but no results. The same error.
Any ideas? I can assume that I am so stupid and done something wrong :)

from phoneinfoga.

sundowndev avatar sundowndev commented on September 28, 2024

@mikediachenko This is an issue with geckodriver or selenium. See SeleniumHQ/selenium#3884. Make sure you have the latest version of geckodriver. Also you can checkout to master branch and pull again to ensure you have the latest release of the tool that I just deployed.

If you're still having this issue, open another one please, thank you.

from phoneinfoga.

mikediachenko avatar mikediachenko commented on September 28, 2024

@mikediachenko This is an issue with geckodriver or selenium. See SeleniumHQ/selenium#3884. Make sure you have the latest version of geckodriver. Also you can checkout to master branch and pull again to ensure you have the latest release of the tool that I just deployed.

If you're still having this issue, open another one please, thank you.

Got you. Thanks!

from phoneinfoga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.