command
module
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Nov 26, 2023
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
netdog
an immitation of netcat for fun and practice
usage
go get -u github.com/JackKCWong/go-netdog
go-netdog --help
# examples
# send raw tcp payload to target
printf "GET /get HTTP/1.0\r\n\r\n" | go-netdog httpbin.org:80
printf "GET /get HTTP/1.0\r\n\r\n" | go-netdog --tls httpbin.org:443
# send raw websocket frames
go-netdog --tls ws.postman-echo.com:443 ws.http hello.bin close.bin
# test tcp / tls connection to target
go-netdog dial httpbin.org:80
go-netdog dial --tls httpbin.org:443
printf "httpbin.org:80\nhttpbin.org:443" | go-netdog dial # this only test for tcp connection, not tls
# lookup DNS and time the responses
go-netdog lookup httpbin.org
go-netdog lookup --name httpbin.org
printf "httpbin.org\nbaidu.com" | go-netdog lookup
TODOs
[x] support unix socket
[x] host:port scanning
[x] DNS lookup
notes
- turning a hex string into binary:
xxd -r -p hex.txt out.bin
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.