software:microsoft:windows:networks
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
software:microsoft:windows:networks [2017/01/10 20:26] – created 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 ====== | ||
Line 101: | Line 185: | ||
| | ||
ipconfig /release | ipconfig /release | ||
+ | | ||
+ | whoami /groups | ||
+ | | ||
+ | systeminfo | more | ||
+ | | ||
+ | Active Directory listing commands | ||
| | ||
====== Microsoft Computer Browser Service ====== | ====== Microsoft Computer Browser Service ====== |
software/microsoft/windows/networks.1484079969.txt.gz · Last modified: 2017/01/10 20:26 by superwizard