Gorawtcpsyn
Demonstrates how to use raw IP sockets in golang and do a simple TCP SYN port scan
Install / Use
/learn @kdar/GorawtcpsynREADME
gorawtcpsyn
Simple go program that will test if a port is open by sending a TCP SYN packet to it. Demonstrates how to use RAW IP sockets in Go 1.x+.
Usage
gorawtcpsyn ip port
Example
gorawtcpsyn 192.168.0.2 5656
Note
Must run as root. This program is purposefully stupid/easy/dumb/simple.
Other examples of raw socket usage in Go
The authors of gopacket (which this example uses), also has a few other examples like an ARP scanner and a SYN scanner in his repository here.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
