1

I found

tcpdump -l -s0 -w - tcp dst port 80 | strings

on this article. So I want to try to use strings command. But command like

echo 'abc' | strings

does not work. Why? Thanks in advance.

I read the strings manual. But got no luck.

1 Answer 1

6

Read the manpage:

DESCRIPTION

For each file given, GNU strings prints the printable character sequences that are at least 4 characters long [...]

Note the 4...

To make it work:

echo abc |strings -n 3
1
  • = =! Thanks. I should read it more carefully...
    – LouXiu
    Mar 19, 2013 at 1:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .