有没有一种工具可以从任何类型的文件中提取所有字符串?

发布于 2024-09-10 06:11:19 字数 143 浏览 1 评论 0原文

我正在寻找 wyd 0.2 的替代方案,可以从任何类型中提取字符串它遇到的文件。

谢谢=)

i'm looking for an alternative to wyd 0.2 that can extract strings from any type of file it comes across.

thanks =)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情何以堪。 2024-09-17 06:11:19

strings

/*padding 因为我需要 15 个字符*/

edit 在每个 *nix 中都有一个名为 strings 的程序,从最近的 ' 80 年代,正是这样做的。您可以登录任何 *nix,然后输入 man strings 来获取更多信息。或者您可以输入 strings -h 显示一些类似的内容

Usage: strings [option(s)] [file(s)]
Display printable strings in [file(s)] (stdin by default)
The options are:
-a - --all                Scan the entire file, not just the data section
-f --print-file-name      Print the name of the file before each string
-n --bytes=[number]       Locate & print any NUL-terminated sequence of at
-<number>                 least [number] characters (default 4).
-t --radix={o,d,x}        Print the location of the string in base 8, 10 or 16
-o                        An alias for --radix=o
-T --target=<BFDNAME>     Specify the binary file format
-e --encoding={s,S,b,l,B,L} Select character size and endianness:
                        s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit
@<file>                   Read options from <file>
-h --help                 Display this information
-v --version              Print the program's version number

,然后您可以将选项传递给 strings 来改变它的行为。

strings

/*padding because i need 15 chars*/

edit There is a program called strings in every *nix out there, since the late '80s, which does just that. You can log in to any *nix out there, and type man strings to get more info. Or you could type strings -h showing something along the lines of

Usage: strings [option(s)] [file(s)]
Display printable strings in [file(s)] (stdin by default)
The options are:
-a - --all                Scan the entire file, not just the data section
-f --print-file-name      Print the name of the file before each string
-n --bytes=[number]       Locate & print any NUL-terminated sequence of at
-<number>                 least [number] characters (default 4).
-t --radix={o,d,x}        Print the location of the string in base 8, 10 or 16
-o                        An alias for --radix=o
-T --target=<BFDNAME>     Specify the binary file format
-e --encoding={s,S,b,l,B,L} Select character size and endianness:
                        s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit
@<file>                   Read options from <file>
-h --help                 Display this information
-v --version              Print the program's version number

which are then options you can pass to strings, to alter it's behavior.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文