Resolved the issue that Windows cannot detect the Internet even if it does have an Internet connection.

Related tags

Network win-connect
Overview

win-connect

中文文档

Background

This program is built to resolved the issue that Windows cannot detect the Internet even if it does have an Internet connection.

How to use

  1. Go to release to download the binary or build it yourself.

  2. Press the Windows logo key + R, type shell:startup, then select OK. You will find your startup folder.

  3. Paste the binary to the startup folder or you can create a short cut there which points to the binary.

  4. Press the Windows logo key + R, type regedit to open the registry.

  5. Backup it first by file -> export.

  6. Find the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet by typing this in the address bar.

    Change the value of ActiveWebProbeHost to 127.0.0.1:29801

    Change the value of ActiveWebProbePath to connecttest.txt

    Change the value of ActiveWebProbeContent to Connect Test

  7. Restart your machine and all is well.

Build

With ninja

ninja

Without ninja

CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o win-connect.exe -ldflags -H=windowsgui main.go

Customize port

Create a short cut in the startup folder with the location

"C:\path\to\win-connect.exe" -p [port]
You might also like...
Package socket provides a low-level network connection type which integrates with Go's runtime network poller to provide asynchronous I/O and deadline support. MIT Licensed.

socket Package socket provides a low-level network connection type which integrates with Go's runtime network poller to provide asynchronous I/O and d

🤘 The native golang ssh client to execute your commands over ssh connection. 🚀🚀
🤘 The native golang ssh client to execute your commands over ssh connection. 🚀🚀

Golang SSH Client. Fast and easy golang ssh client module. Goph is a lightweight Go SSH client focusing on simplicity! Installation ❘ Features ❘ Usage

Golang connection multiplexing library

Yamux Yamux (Yet another Multiplexer) is a multiplexing library for Golang. It relies on an underlying connection to provide reliability and ordering,

WebSocket Connection Smuggler
WebSocket Connection Smuggler

ws-smuggler ws-smuggler is websocket connection smuggling testing tool. It is similar to the this project, but it has been rewritten based on the web

ConnPool is a thread safe connection pool for net.Conn interface.

ConnPool is a thread safe connection pool for net.Conn interface. It can be used to manage and reuse connections.

This package helps establish a websocket connection to the bilibili streaming server.

biliStreamClient This package helps establish a websocket connection to the bilibili streaming server. bilibili直播弹幕的WebSocket协议分析请参考:https://blog.csdn

Uses the Finger user information protocol to open a TCP connection that makes a request to a Finger server

Finger Client This client uses the Finger user information protocol to open a TCP connection that makes a request to a Finger server. Build and Run Ru

Make TCP connection storm between server and client for benchmarking network stuff

Make TCP connection storm between server and client for benchmarking network stuff

Releases(1.0.0)
Owner
null
Go-http-sleep: Delayed response http server, useful for testing various timeout issue for application running behind proxy

delayed response http server, useful for testing various timeout issue for application running behind proxy

guessi 0 Jan 22, 2022
WebDAV server for SSH. Similar to sshfs but does not require proprietary MacFUSE on macOS

sshwebdav: WebDAV server for SSH sshwebdav provides a WebDAV server for a remote SSH host. sshwebdav is similar to sshfs but does not require propriet

Linux Machines 22 Aug 6, 2022
A simple tool to detect WAN IP changes and updates your cloudflare DNS entries.

Cloudflare IP Updater A simple tool to detect WAN IP changes and updates your cloudflare DNS entries. Usage Create a new Cloudflare API token Copy the

AJ 11 Dec 10, 2021
go-ip-fraud-check has a feature to detect fraud from ip addresss.

go-ip-fraud-check go-ip-fraud-check has a feature to detect fraud from ip addresss. go-ip-fraud-check provides both of cli binary and golang API. Supp

null 4 Jun 10, 2022
Detect nmap TCP SYN scans (-sS) using gopacket in golang.

Setup Fetch dependencies using apt (PRs welcome for concise instructions for other package managers): sudo apt install libpcap-dev git clone https://

null 2 Apr 27, 2022
A small library to detect if an IP address is close to yours

go-geofence A small library to detect if an IP address is close to yours or another of your choosing using https://ipstack.com/ Usage First you will n

Caleb Lemoine 17 Aug 10, 2022
Openldap (LDAP) binding for Golang (go) ; no more support ; you may have a look at https://github.com/go-ldap/ldap

OpenLDAP this is Openldap binding in GO language. I don't work any more with golang, so, please fork this project. Installation : Installation is easy

Marc Quinton 45 Mar 4, 2021
Inspired by Have I Been Pwnd

Have I Been Redised Check it out at RedisPwned and Have I Been Redised How it works We scan the internet for exposed Redis databases broadcasting to t

Michael Blum 4 Nov 14, 2021
Ugg boot is a tool for people wanting to have some comfort in their lives.

Ugg Boot Ugg boot is a tool for people wanting to have some comfort in their lives. It provides a simple way to update Go executables and list availab

Dan Kortschak 15 Aug 28, 2022
Send network packets over a TCP or UDP connection.

Packet is the main class representing a single network message. It has a byte code indicating the type of the message and a []byte type payload.

Aero 73 Aug 12, 2022