1. 计算MD5
Windows使用certutil
:
>certutil -hashfile demo.txt MD5
MD5 的 demo.txt 哈希:
fb84c6f7f58c0a9e6ed0781a9363187b
CertUtil: -hashfile 命令成功完成。
Linux使用md5sum
:
$ md5sum demo.txt
fb84c6f7f58c0a9e6ed0781a9363187b demo.txt
2. 扫描ip
WIndows和Linux下都可以使用arp
命令。
Windows:
> arp -a
接口: 192.168.2.31 --- 0x4
Internet 地址 物理地址 类型
192.168.2.1 78-2c-*-5f-*-3d 动态
192.168.2.3 6c-0b-*-a9-*-1c 动态
192.168.2.4 00-e0-*-18-*-7a 动态c
192.168.2.5 00-e0-*-0b-*-e2 动态
192.168.2.6 f4-93-*-e9-*-e1 动态
Linux:
$ arp -e
地址 类型 硬件地址 标志 Mask 接口
192.168.2.3 ether 6c:0b:*:a9:*:1c C