在看bin的时候经常需要使用strings命令
但是手头只有win电脑,没有linux电脑怎么办?
很好这里有提供strings的win版本
https://learn.microsoft.com/zh-cn/sysinternals/downloads/strings
去这个链接把它down下来
这里我用的git的终端,因为也可以用grep
然后把刚下到的strings.exe放到git的可执行文件里面比如这里就可以
D:\Program Files\Git\usr\bin
MINGW64 ~
$ strings
Strings v2.54 - Search for ANSI and Unicode strings in binary images.
Copyright (C) 1999-2021 Mark Russinovich
Sysinternals - www.sysinternals.com
usage: D:\Program Files\Git\usr\bin\strings.exe [-a] [-f offset] [-b bytes] [-n length] [-o] [-s] [-u] <file or directory>
-a Ascii-only search (Unicode and Ascii is default)
-b Bytes of file to scan
-f File offset at which to start scanning.
-o Print offset in file string was located
-n Minimum string length (default is 3)
-s Recurse subdirectories
-u Unicode-only search (Unicode and Ascii is default)
-nobanner
Do not display the startup banner and copyright message.