72 lines
1.1 KiB
HTML
72 lines
1.1 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>strings(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>strings(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
strings - print all the strings in a binary file
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>strings</STRONG> [<STRONG>-</STRONG>] [<STRONG>-o</STRONG>] [<STRONG>-</STRONG><EM>n</EM>] <EM>file</EM> ...
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-</STRONG> search whole file, not just data seg
|
|
|
|
<STRONG>-o</STRONG> Print octal offset of each string
|
|
|
|
<STRONG>-</STRONG><EM>n</EM> <EM>n</EM> is minimum length string (default = 4)
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>strings</STRONG> <STRONG>-5</STRONG> <STRONG>a.out</STRONG> # Print the strings > 4 chars in <EM>a</EM>.<EM>out</EM>
|
|
|
|
<STRONG>strings</STRONG> <STRONG>-</STRONG> <STRONG>/bin/sh</STRONG> # Search entire shell file (text and data)
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Strings</EM> looks for sequences of ASCII characters followed by a zero byte.
|
|
These are usually strings. This program is typically used to help
|
|
identify unknown binary programs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|