1
title: 一些不常用的命令集合

Windows OS

  1. 获取Windows平台下所有的WiFi密码

    1
    2
    netsh wlan show profile
    netsh wlan export profile folder=c:\ key=clear
  2. 获取电池使用报告
    使用powercfg /batteryreport` 可以获得电池使用的详细报告,生成一个HTML文件 。

macOS

  1. 获取Mac的CPU 架构信息

在安装 pwntools时,需要指定CPU的架构 ,这个网站上列出了pwntools支持的所有CPU架构:https://github.com/Gallopsled/pwntools-binutils/tree/master/osx ,想要知道Mac的CPU 架构,只需要在terminal中输入arch即可。