
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
github.com/thinkgos/go-socks5
Provides the socks5
package that implements a SOCKS5.
SOCKS (Secure Sockets) is used to route traffic between a client and server through
an intermediate proxy layer. This can be used to bypass firewalls or NATs.
The package has the following features:
The package still needs the following:
Use go get.
go get github.com/thinkgos/go-socks5
Then import the socks5 server package into your own code.
import "github.com/thinkgos/go-socks5"
or
import the socks5 client package into your own code.
import "github.com/thinkgos/go-socks5/ccsocks5"
Below is a simple example of usage, more see example
// Server:
// Create a SOCKS5 server
server := socks5.NewServer()
// Create SOCKS5 proxy on localhost port 8000
if err := server.ListenAndServe("tcp", ":8000"); err != nil {
panic(err)
}
// Client:
client := ccsocks5.NewClient("127.0.0.1:10800")
conn, err := client.Dial("tcp", "127.0.0.1:12345") // server you want to visitor
if err != nil {
panic(err)
}
conn.Write([]byte("hahaha"))
time.Sleep(time.Second)
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.