No description
  • C 89.4%
  • Roff 3.4%
  • RPC 2.8%
  • M4 2.1%
  • Makefile 1.3%
  • Other 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-16 01:31:26 -03:00
.github/workflows macos 2025-11-17 19:49:41 +00:00
debian orig 2023-10-19 14:35:24 +01:00
missing MacOS port 2025-11-16 13:10:11 +00:00
.gitignore gitignore2 2023-10-21 18:50:27 +01:00
acconfig.h orig 2023-10-19 14:35:24 +01:00
agmh.txt Mirroring with AGMH v0.4.1 2026-06-16 01:31:26 -03:00
arp.c orig 2023-10-19 14:35:24 +01:00
arp.h orig 2023-10-19 14:35:24 +01:00
arpspoof.8 orig 2023-10-19 14:35:24 +01:00
arpspoof.c MacOS port 2025-11-16 13:10:11 +00:00
asn1.c MacOS port 2025-11-16 13:10:11 +00:00
asn1.h orig 2023-10-19 14:35:24 +01:00
base64.c orig 2023-10-19 14:35:24 +01:00
base64.h orig 2023-10-19 14:35:24 +01:00
buf.c MacOS port 2025-11-16 13:10:11 +00:00
buf.h MacOS port 2025-11-16 13:10:11 +00:00
CHANGES orig 2023-10-19 14:35:24 +01:00
common.h MacOS port 2025-11-16 13:10:11 +00:00
config.h.in orig 2023-10-19 14:35:24 +01:00
configure removed http_req_dirname 2025-12-06 13:53:46 +00:00
configure.ac Revert "configure.ac: allow providing openssl by pkg-config (#5)" (#6) 2025-12-02 11:11:21 +00:00
crc32.c colour 2023-10-21 17:59:52 +01:00
crc32.h imap authplain support 2024-12-01 21:06:32 +00:00
decode.c urldecode 2025-11-17 08:50:37 +00:00
decode.h urldecode 2025-11-17 08:50:37 +00:00
decode_aim.c orig 2023-10-19 14:35:24 +01:00
decode_citrix.c orig 2023-10-19 14:35:24 +01:00
decode_cvs.c orig 2023-10-19 14:35:24 +01:00
decode_ftp.c action 2024-09-17 22:03:18 +01:00
decode_hex.c orig 2023-10-19 14:35:24 +01:00
decode_http.c man page fix 2025-12-10 09:56:28 +00:00
decode_icq.c orig 2023-10-19 14:35:24 +01:00
decode_imap.c cleranup 2024-12-02 17:44:58 +00:00
decode_irc.c orig 2023-10-19 14:35:24 +01:00
decode_ldap.c orig 2023-10-19 14:35:24 +01:00
decode_mmxp.c orig 2023-10-19 14:35:24 +01:00
decode_mountd.c orig 2023-10-19 14:35:24 +01:00
decode_napster.c orig 2023-10-19 14:35:24 +01:00
decode_nntp.c orig 2023-10-19 14:35:24 +01:00
decode_oracle.c orig 2023-10-19 14:35:24 +01:00
decode_ospf.c orig 2023-10-19 14:35:24 +01:00
decode_pcanywhere.c orig 2023-10-19 14:35:24 +01:00
decode_pop.c cleranup 2024-12-02 17:44:58 +00:00
decode_portmap.c orig 2023-10-19 14:35:24 +01:00
decode_postgresql.c orig 2023-10-19 14:35:24 +01:00
decode_pptp.c urldecode 2025-11-17 08:50:37 +00:00
decode_rip.c orig 2023-10-19 14:35:24 +01:00
decode_rlogin.c orig 2023-10-19 14:35:24 +01:00
decode_smb.c MacOS port 2025-11-16 13:10:11 +00:00
decode_smtp.c cleranup 2024-12-02 17:44:58 +00:00
decode_sni.c colour 2023-10-21 17:59:52 +01:00
decode_sniffer.c orig 2023-10-19 14:35:24 +01:00
decode_snmp.c orig 2023-10-19 14:35:24 +01:00
decode_socks.c orig 2023-10-19 14:35:24 +01:00
decode_ssh.c new 2023-10-21 17:59:51 +01:00
decode_tds.c orig 2023-10-19 14:35:24 +01:00
decode_telnet.c orig 2023-10-19 14:35:24 +01:00
decode_vrrp.c orig 2023-10-19 14:35:24 +01:00
decode_x11.c orig 2023-10-19 14:35:24 +01:00
decode_yp.c orig 2023-10-19 14:35:24 +01:00
dnsspoof.8 orig 2023-10-19 14:35:24 +01:00
dnsspoof.c v2.5a1 2023-10-19 15:02:20 +01:00
dnsspoof.hosts orig 2023-10-19 14:35:24 +01:00
dsniff.8 man page fix 2025-12-10 09:56:28 +00:00
dsniff.c Default without Berkely DB 2025-11-14 17:21:39 +00:00
dsniff.magic urldecode 2025-11-17 08:50:37 +00:00
dsniff.services v2.5a1 2023-10-19 15:02:53 +01:00
dsniff_magic.h urldecode 2025-11-17 08:50:37 +00:00
dsniff_services.h macos 2025-11-17 17:21:10 +00:00
env2argv.c new 2023-10-21 17:59:51 +01:00
env2argv.h new 2023-10-21 17:59:51 +01:00
filesnarf.8 orig 2023-10-19 14:35:24 +01:00
filesnarf.c v2.5a1 2023-10-19 15:02:20 +01:00
hex.c orig 2023-10-19 14:35:24 +01:00
hex.h orig 2023-10-19 14:35:24 +01:00
install-sh orig 2023-10-19 14:35:24 +01:00
LICENSE orig 2023-10-19 14:35:24 +01:00
macof.8 orig 2023-10-19 14:35:24 +01:00
macof.c v2.5a1 2023-10-19 15:02:20 +01:00
magic.c cleranup 2024-12-02 17:44:58 +00:00
magic.h orig 2023-10-19 14:35:24 +01:00
mailsnarf.8 orig 2023-10-19 14:35:24 +01:00
mailsnarf.c v2.5a1 2023-10-19 15:02:20 +01:00
Makefile.in Fixed build for all tools 2025-11-15 12:00:35 +00:00
mount.c new 2023-10-21 17:59:52 +01:00
mount.h new 2023-10-21 17:59:52 +01:00
mount.x orig 2023-10-19 14:35:24 +01:00
msgsnarf.8 orig 2023-10-19 14:35:24 +01:00
msgsnarf.c v2.5a1 2023-10-19 15:02:20 +01:00
nfs_prot.c new 2023-10-21 17:59:52 +01:00
nfs_prot.h new 2023-10-21 17:59:52 +01:00
nfs_prot.x orig 2023-10-19 14:35:24 +01:00
options.h colour 2023-10-21 17:59:52 +01:00
pathnames.h orig 2023-10-19 14:35:24 +01:00
pcaputil.c urldecode 2025-11-17 08:50:37 +00:00
pcaputil.h orig 2023-10-19 14:35:24 +01:00
README README 2023-10-21 17:59:52 +01:00
README.md Fix curl command and enhance README clarity 2025-11-17 20:14:29 +00:00
record.c Default without BerkleyDB. 2025-11-14 13:16:54 +00:00
record.h orig 2023-10-19 14:35:24 +01:00
remote.c orig 2023-10-19 14:35:24 +01:00
rpc.c orig 2023-10-19 14:35:24 +01:00
rpc.h orig 2023-10-19 14:35:24 +01:00
ssh.c orig 2023-10-19 14:35:24 +01:00
ssh.h orig 2023-10-19 14:35:24 +01:00
sshcrypto.c orig 2023-10-19 14:35:24 +01:00
sshcrypto.h orig 2023-10-19 14:35:24 +01:00
sshmitm.8 orig 2023-10-19 14:35:24 +01:00
sshmitm.c Fix build for sshmitm and webmitm (#2) 2024-09-17 22:32:32 +01:00
sshow.8 orig 2023-10-19 14:35:24 +01:00
sshow.c orig 2023-10-19 14:35:24 +01:00
tcp_raw.c cleranup 2024-12-02 17:44:58 +00:00
tcp_raw.h orig 2023-10-19 14:35:24 +01:00
tcpkill.8 orig 2023-10-19 14:35:24 +01:00
tcpkill.c v2.5a1 2023-10-19 15:02:20 +01:00
tcpnice.8 orig 2023-10-19 14:35:24 +01:00
tcpnice.c v2.5a1 2023-10-19 15:02:20 +01:00
TODO orig 2023-10-19 14:35:24 +01:00
trigger.c Default without Berkely DB 2025-11-14 17:21:39 +00:00
trigger.h cleranup 2024-12-02 17:44:58 +00:00
urlsnarf.8 orig 2023-10-19 14:35:24 +01:00
urlsnarf.c Default without BerkleyDB. 2025-11-14 13:16:54 +00:00
vroot.h orig 2023-10-19 14:35:24 +01:00
webmitm.8 orig 2023-10-19 14:35:24 +01:00
webmitm.c Fix build for sshmitm and webmitm (#2) 2024-09-17 22:32:32 +01:00
webspy.8 orig 2023-10-19 14:35:24 +01:00
webspy.c v2.5a1 2023-10-19 15:02:20 +01:00

Resurrection and enhancements of Dug Song's all-time-classic network sniffer:

  • Hides the command line options (ENV_ARGS=) from the process list (ps).
  • Show Banners (-v).
  • HTTP parsing improvements & Cookie logging.
  • No duplicates: Reports each result only once.
  • Stand-alone & static binary (no need for dsniff.magic/dsniff.services)
  • Deep-Packet-Inspection (-m). Port agnostic.

Download the Pre Compiled Static Binary for Linux, FreeBSD and OpenBSD.

curl -o dsniff -SsfL "https://github.com/hackerschoice/dsniff/releases/latest/download/dsniff_linux-$(uname -m)"
chmod 755 dsniff

Run (example):

export ENV_ARGS="-i eth0 -v -m not port 443" # Hide command line options from the process list
./dsniff

The reason why I prefer dsniff over most others:

  1. The results give a quick overview who/where SSL/SSH is being used.
  2. It logs Cookies and Session IDs.
  3. It shows plaintext HTTP Location: redirects to HTTPS.
  4. It shows WireGuard or SSH on non-default ports (like port 31337). Those tend to be worthy admins.

dsniff-thc-screenshot

Compile:

./configure --enable static && make dsniff

Useful parameters:

-C - Force Color [default is to show color on TTY only]
-P - Use promisc mode
-v - Show banners (SNI, SSH, HTTP, Cookies, ...)
-m - Detect protocol regardless of the port (e.g ssh on port 222 etc).

Compare original: Diff
Original README


Similar tools: