File size: 880 Bytes
d517dc9
 
 
 
1
2
3
4
5
{"type": "session", "harness": "deepseek-harness", "id": "sec-0021", "name": "Nmap port scanning basics"}
{"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": "How do I scan ports with nmap?"}}
{"type": "message", "message": {"role": "assistant", "content": "```bash\nnmap 192.168.1.1\nnmap -p 80,443,8080 target.com\nnmap -p- target.com\nnmap -sS -sV -O -A target.com\nnmap --script vuln target.com\nnmap -oX scan.xml target.com\n```"}}