Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug | Block google's 2-step verification #220

Open
ssmohanv opened this issue Jan 3, 2025 · 5 comments
Open

Bug | Block google's 2-step verification #220

ssmohanv opened this issue Jan 3, 2025 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ssmohanv
Copy link

ssmohanv commented Jan 3, 2025

What is the problem you are experiencing?

I am using merged hosts from hosts0 to hosts4 from here in my Pixel 9 Pro. I works well but it blocks google 2-step verification. I am using termux to download hosts, merge, remove duplicates and update hosts in system/etc. Do I have to open the hosts file and manually whitelist for accounts.google.com, myaccount.google.com, security.google.com, apis.google.com OR is there a way to do it. Actually there is no point if these domains are in the hosts listed.

How can we reproduce the problem?

update your hosts in system/etc and try logging to your google account in computer. When your mobile is popping-up for you to confirm 2-step verification, the page fails. If you replace your ultimate hosts with default hosts (i.e 127.0.0.1 Local host) then you can see the issue is resolvedd. This way I found that your hosts is blocking google's 2-step verification.

What did you expect to happen?

Read above

Is there a workaround?

remove google account or authentication related entries in the hosts

Additional context

I would like to add...

@ssmohanv ssmohanv added the bug Something isn't working label Jan 3, 2025
@spirillen
Copy link

Actually there is no point if these domains are in the hosts listed.

Oh... yes actually... for all good reasons of a blacklist... You can't mention a category of evilness, that are not served from any of Alphabets domains...

But that a lot of people have been brainwashed by Alphabet to believes otherwise, Well, I have given up on those.

However, I know these should be whitelisted somewhere in the system, so, from that point of View your issue are suitable.

@ssmohanv
Copy link
Author

ssmohanv commented Jan 3, 2025

I managed to develop my own script to run in Termux which will remove the entries that I have included in a text file and named it as whitelist_domains.txt. Feel free to use my script if it helps.

adbl0ck.zip

@spirillen
Copy link

I managed to develop my own script to run in Termux which will remove the entries that I have included in a text file and named it as whitelist_domains.txt. Feel free to use my script if it helps.

adbl0ck.zip

You should make it as a repo, for sharing. This will also allow other to help contributing to its development and maintenance.

@ssmohanv
Copy link
Author

ssmohanv commented Jan 3, 2025

Guide me please. I will very happy to contribute. The script I made is working very well. See screenshot.

unnamed

@spirillen
Copy link

Just create a repo, add your script, copyright, REAMDE and the other information's, that is needed for other to understand what the script is doing, and not at least supposed to do.

Now link to that, nobody are opening a zip file from out of the blue 😉

As I can see you are running this on a RedHat or a Redhat based OS, maybe this could be adapted to support other OS's as well, with help from the community.

smed79 added a commit that referenced this issue Jan 4, 2025
Fix issues with google 2-Step Verification #220

Signed-off-by: smed79 <[email protected]>
smed79 added a commit that referenced this issue Jan 4, 2025
Fix issues with google 2-Step Verification #220

Signed-off-by: smed79 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants