strings 工具是 Linux 环境下一款十分实用的功能,它能够从二进制文件、库文件以及镜像文件等非文本文件里提取出
所有的可打印字符序列。
操作步骤如下:
strings /path/to/your/file
执行之后,屏幕上会显示出该文件内的所有可打印字符序列。
strings /path/to/your/file | grep "example"
这样就能找到包含 "example" 的全部字符序列了。
strings /path/to/your/file | grep -i "example"
strings /path/to/your/file | grep "example" | head -n 10
按照上述方式,即可运用 strings 命令在 Linux 平台上搜寻隐蔽的信息。