• Stars
    star
    3,327
  • Rank 12,992 (Top 0.3 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Google hosts generator

google-hosts

What | How | Must | Contributing | License

🗣 News 🩸 Youtube

❤️ A project by txthinking.com

What

This project provides some tools to help you find google IP.

How

Requirements

getssl.sh get IP detail

$ cd google-hosts/scripts

# get detail of 192.168.1.1
$ ./getssl.sh 192.168.1.1

find.sh wrapper of getssl.sh, get IP detail from CIDR

$ cd google-hosts/scripts

# find IP from 192.168.1.1/24
$ ./find.sh 192.168.1.1/24

filter.sh filter IP from output directory(generated by find.sh) for some domain

$ cd google-hosts/scripts

# filter IP for *.google.com
$ ./filter.sh *.google.com

# filter IP for mail.google.com
$ ./filter.sh mail.google.com

use.sh use IP for some domain and update hosts.all

$ cd google-hosts/scripts

# use 192.168.1.1 for *.google.com 
$ ./use.sh *.google.com 192.168.1.1

# use 192.168.1.1 for mail.google.com 
$ ./use.sh mail.google.com 192.168.1.1

select.sh run filter.sh, use.sh, use the best IP for domains in hosts.all

$ cd google-hosts/scripts
$ ./select.sh

apply.sh update ../hosts from hosts.all

$ cd google-hosts/scripts
$ ./apply.sh

auto.sh find CIDR from a DNS and run find.sh, select.sh, apply.sh

$ cd google-hosts/scripts
$ ./auto.sh DNS # DNS is like 8.8.8.8, but you should try DNS in diffrent countries.

Explaination of output

IP LOSS TIME SSL
IP packet loss ping time ssl domain

Must

  • Use google dns / opendns / other
  • Use international google. Make google no country redirect: https://www.google.com/ncr
  • Use https

Contributing

  • vim:ts=4:sw=4:expandtab:ff=unix:encoding=utf8

License

Licensed under The MIT License

More Repositories

1

brook

A cross-platform programmable network tool
Go
14,264
star
2

zoro

zoro can help you expose local server to external network. Support both TCP/UDP, of course support HTTP. Zero-Configuration.
Go
1,532
star
3

socks5

SOCKS Protocol Version 5 Library in Go. Full TCP/UDP and IPv4/IPv6 support
Go
625
star
4

nami

A clean and tidy decentralized package manager.
Go
295
star
5

tun2brook

Proxy all traffic just one line command. tun2socks, tun2brook. IPv4 and IPv6, TCP and UDP.
Go
256
star
6

blackwhite

https://github.com/txthinking/brook/tree/master/programmable
JavaScript
246
star
7

joker

Joker can turn process into daemon. Zero-Configuration
C
186
star
8

brook-manager

Brook Manager is a Brook management system for medium to large merchants.
HTML
122
star
9

nico

A HTTP3 web server for reverse proxy and single page application, automatically apply for ssl certificate, Zero-Configuration.
Go
111
star
10

bypass

https://github.com/txthinking/brook/tree/master/programmable
JavaScript
93
star
11

Mailer

A lightweight PHP SMTP mail sender
PHP
91
star
12

frank

Frank is a REST API automated testing tool like Postman but in command line. Auto generate markdown API document.
Go
91
star
13

zhen

zhen - process and cron manager
Zig
49
star
14

socks5-configurator

Configure your Chrome with socks5 proxy
JavaScript
47
star
15

mad

Generate root CA and derivative certificate for any domains and any IPs.
Go
32
star
16

soso

HTML
26
star
17

crypto

crypto: Encryption, Hash, Encoding Library
Go
26
star
18

cloudupload

Upload files to multiple Cloud Storage in parallel. Automatically apply for ssl certificate with your domain.
Go
25
star
19

mailx

A lightweight SMTP mail library
Go
24
star
20

jb

jb: write script in an easier way than bash
Zig
20
star
21

bash

One-Click Scripts.
JavaScript
19
star
22

wiresharkhelper

https://www.txthinking.com
19
star
23

x

A util library on golang.
Go
17
star
24

runnergroup

RunnerGroup is like sync.WaitGroup, the diffrence is if one task stops, all will be stopped.
Go
16
star
25

sshexec

A command-line tool to execute remote command through ssh
Go
16
star
26

filelink

Upload and download file in command line
JavaScript
15
star
27

hancock

Manage multiple remote servers and execute commands remotely
Go
14
star
28

denobundle

Bundle assets into the binary with deno compile
JavaScript
14
star
29

denolib

A Deno library to keep everything small.
JavaScript
11
star
30

testsocks5

Test TCP and UDP of socks5 server
Shell
10
star
31

shiliew

An encrypted, undetectable, simple business proxy/VPN.
9
star
32

httpserver

This is a very simple http static server, sometimes we need it for testing
Shell
8
star
33

mail-checker

A chrome extension for checking unseen mail count. http://goo.gl/U4XkPR
JavaScript
8
star
34

markdown

markdown converter and documentation generator
JavaScript
7
star
35

coding-principle

建议编码风格
5
star
36

cloudflare

cloudflare cli
Shell
5
star
37

pingpong

TCP & UDP echo but with address
JavaScript
5
star
38

php-multipart-form-data-leak

POC for php multipart form data leak, make cpu full
Go
4
star
39

no-referer-image

A chrome extention for removing referer header when requesting image
JavaScript
3
star
40

txthinking

https://www.txthinking.com
2
star
41

tengo

A fast script language for Go
Go
2
star
42

testbrook

JavaScript
1
star
43

codeinstall

HTML
1
star
44

sitemap

Build sitemap.xml
JavaScript
1
star