software:microsoft:windows:networks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:microsoft:windows:networks [2017/07/17 19:43] – [57 Tips Every Admin Should Know] superwizard | software:microsoft:windows:networks [2022/07/14 20:07] (current) – [Command line program to test DHCP service] superwizard | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Command line program to test DHCP service ====== | ||
| + | |||
| + | From: https:// | ||
| + | |||
| + | < | ||
| + | assuming you have installed nmap (sudo apt install nmap): | ||
| + | |||
| + | sudo nmap --script broadcast-dhcp-discover | ||
| + | |||
| + | Windows nmap -sU -p 67 --script dhcp-discover 10.230.0.2/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round box > | ||
| + | Get-DhcpServerInDC | ||
| + | |||
| + | From < | ||
| + | |||
| + | </ | ||
| + | |||
| + | nmap -oA c: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | |||
| + | [[software: | ||
| + | |||
| + | File broadcast-dhcp-discover | ||
| + | |||
| + | From < | ||
| + | |||
| + | |||
| + | |||
| ====== Name Resolution Lookup ====== | ====== Name Resolution Lookup ====== | ||
| Line 53: | Line 86: | ||
| into the problem, the " | into the problem, the " | ||
| </ | </ | ||
| + | |||
| + | |||
| + | <WRAP center round box > | ||
| + | Does your PC have any IPv6 addresses (link-local or otherwise)? | ||
| + | < | ||
| + | ipconfig / | ||
| + | </ | ||
| + | |||
| + | What IPv6 endpoints are on your Windows machine? | ||
| + | < | ||
| + | netstat –abn –p tcpv6 | ||
| + | netstat –abn –p udpv6 | ||
| + | netstat –abn –p icmpv6 | ||
| + | </ | ||
| + | |||
| + | From < | ||
| + | |||
| + | Use ip . | ||
| + | I want to know about your world | ||
| + | Are you still using one of the following tools? | ||
| + | < | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | /sbin/rarp | ||
| + | /sbin/route | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | From < | ||
| + | |||
| + | </ | ||
| ====== Troubleshooting Windows File Sharing ====== | ====== Troubleshooting Windows File Sharing ====== | ||
| Line 76: | Line 145: | ||
| ====== netstat ====== | ====== netstat ====== | ||
| + | |||
| + | <WRAP center round box > | ||
| netstat -an | netstat -an | ||
| netstat -bano = show the application that is listening | netstat -bano = show the application that is listening | ||
| nbtstat -A 192.168.1.10 | nbtstat -A 192.168.1.10 | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round box > | ||
| + | |||
| + | 6. View current TCP connections | ||
| + | |||
| + | Get-NetTCPConnection | ||
| + | |||
| + | From < | ||
| + | |||
| + | |||
| + | </ | ||
| ====== Network Investigation Commands ====== | ====== Network Investigation Commands ====== | ||
software/microsoft/windows/networks.1500320604.txt.gz · Last modified: by superwizard
