driftnet -v (return code: 0)
Mon Sep 25 14:39:42 2017 [driftnet] info: using temporary file directory /tmp/drifnet-bVIro4 Mon Sep 25 14:39:42 2017 [driftnet] info: started display child, pid 2981 (driftnet:2981): Gtk-WARNING **: cannot open display: Mon Sep 25 14:39:42 2017 [driftnet] info: listening on eth0 in promiscuous mode Mon Sep 25 14:39:42 2017 [driftnet] info: child process 2981 exited with status 1
driftnet -h (return code: 0)
driftnet, version 1.1.5 Capture images from network traffic and display them in an X window. Synopsis: driftnet [options] [filter code] Options: -h Display this help message. -v Verbose operation. -b Beep when a new image is captured. -i interface Select the interface on which to listen (default: all interfaces). -f file Instead of listening on an interface, read captured packets from a pcap dump file; file can be a named pipe for use with Kismet or similar. -p Do not put the listening interface into promiscuous mode. -a Adjunct mode: do not display images on screen, but save them to a temporary directory and announce their names on standard output. -m number Maximum number of images to keep in temporary directory in adjunct mode. -d directory Use the named temporary directory. -x prefix Prefix to use when saving images. -s Attempt to extract streamed audio data from the network, in addition to images. At present this supports MPEG data only. -S Extract streamed audio but not images. -M command Use the given command to play MPEG audio data extracted with the -s option; this should process MPEG frames supplied on standard input. Default: `mpg123 -'. Filter code can be specified after any options in the manner of tcpdump(8). The filter code will be evaluated as `tcp and (user filter code)' You can save images to the current directory by clicking on them. Adjunct mode is designed to be used by other programs which want to use driftnet to gather images from the network. With the -m option, driftnet will silently drop images if more than the specified number of images are saved in its temporary directory. It is assumed that some other process is collecting and deleting the image files. driftnet, copyright (c) 2001-2 Chris Lightfoot <email@example.com> home page: http://www.ex-parrot.com/~chris/driftnet/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.