macronut / ghostcp

GhosTCP is a program for Windows that protects the TCP connections from being interfered.
GNU Lesser General Public License v3.0
837 stars 164 forks source link

About scan IP #25

Closed Illustar0 closed 2 years ago

Illustar0 commented 2 years ago

I scanned Google's IP range using "tcpioneer -scanip" and got some IPs. But some of these IPs cannot be used for "www.google.com". How should I differentiate them?

Illustar0 commented 2 years ago

Also you may be able to add parameters to select the configuration file.

macronut commented 2 years ago

I scanned Google's IP range using "tcpioneer -scanip" and got some IPs. But some of these IPs cannot be used for "www.google.com". How should I differentiate them?

tcpioneer -scanip x.x.x.x/x -scanurl https://www.google.com

macronut commented 2 years ago

Also you may be able to add parameters to select the configuration file.

This is a program to verify the feasibility You can modify it yourself or use phantomsocks

ghost commented 2 years ago

@Macronut

tcpioneer -scanip x.x.x.x/x -scanurl https://www.google.com

I don't think this will work, as Google will return 302 to https://www.google.com.hk, and now TCPioneer only check for 200. https://github.com/Macronut/TCPioneer/blob/e8cd59534203b8515804ce30c00afd69e7923574/header/scan.go#L153

macronut commented 2 years ago

If your region will be redirected by Google by default, you should add ncr or directly scan the domain name in your region.

ghost commented 2 years ago

If your region will be redirected by Google by default, you should add ncr or directly scan the domain name in your region.

Just use https://www.google.com.hk , because https://www.google.com/ncr is also a 302 redirect.

Illustar0 commented 2 years ago

thank you