Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
github.com/shellhazard/tcpint
Barebones intercepting TCP proxy written in Go. Based off this gist by ericflo. Intended for use with text-based protocols. Currently will only read and split data by a provided delimeter.
package main
import (
"fmt"
"github.com/shellhazard/tcpint"
)
const (
LocalServerAddress string = "127.0.0.1:1337"
RemoteServerAddress string = "8.8.8.8:25565"
)
// From our client to our proxy, to our remote host
func handleOutgoing(b []byte) []byte {
fmt.Println("incoming data:", string(b))
return b
}
// From the remote host to our proxy, to our client
func handleIncoming(b []byte) []byte {
fmt.Println("outgoing data:", string(b))
return b
}
func main() {
proxy := tcpint.NewProxy(
LocalServerAddress,
RemoteServerAddress,
handleOutgoing,
handleIncoming,
tcpint.NULLBYTE
)
// Block
for {
select{}
}
}
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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.