
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
netdog
Advanced tools
It is like netcat implemented in python.
pip install netdog
There is a pre-built netdog.exe using pyinstaller. (Download here)
$ netdog -h
usage: netdog [-l] [-u] [-C] [-h] [-V] [-v] [-e cmd] [--lbcnet {LF,CRLF,CR}] [--lbcsub {LF,CRLF,CR,auto}]
[--encnet ENCNET] [--encsub ENCSUB]
[hostname] port
netdog is a networking tool like netcat.
netcat compatible argument:
hostname Address of bind / connect to.
port Port to listen, forward or connect to
-l, --listen Listen mode: Enable listen mode for inbound connects
-u, --udp UDP mode
-C, --crlf same as '--lbcnet CRLF'
-h, --help Show this help message and exit
-V, --version Show version information and exit
netdog extended argument.:
-v, --verbose Verbose. Use -vv or -vvv for more verbosity.
-e cmd, --exec cmd Execute command
--lbcnet {LF,CRLF,CR}
Line break code for network. (default: LF)
--lbcsub {LF,CRLF,CR,auto}
Line break code for subprocess. (default: auto)
--encnet ENCNET Encoding for network. (default: 'utf-8')
--encsub ENCSUB Encoding for subprocess. (default: 'utf-8')
[Examples]:
* Delegate application layer behavior to other programs via stdin/stdout of subprocess.
In other words, using PIPE to make correspond recv() to stdin, and correspond stdout to send().
The following is an example of a simple HTTP GET method.
> netdog -v -e 'python -u httpget.py' 127.0.0.1 80
---httpget.py---
print("GET / HTTP/1.1\r\n", end="")
while(True):
res = input()
print(f"response = {res}", file=sys.stderr)
----------------
FAQs
It is like netcat implemented in python.
We found that netdog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.