SSLSNIFF(1)
β¨ SSLSNIFF(1) β the sslsniff glow-up β¨
okay bestie, sit down, we're reading the sslsniff manual page together π it lives in the General Commands Manual section, and it's literally the whole vibe.
πΈ NAME πΈ
sslsniff β SSL/TLS man-in-the-middle attack tool π
π SYNOPSIS π
sslsniff [options]
π¦ DESCRIPTION π¦
so this page is the little quick rundown of the sslsniff command, no cap.
sslsniff is built to cook up man-in-the-middle (MITM) attacks on SSL/TLS connections, and it dynamically generates certs for the domains that are being accessed on the fly β¨. Those new certificates get constructed in a certificate chain that's signed by any certificate you provide. it's giving β¨effortlessβ¨.
and sslsniff also supports other attacks, like null-prefix or OCSP attacks, to achieve silent interceptions of connections when possible. sneaky! π
π OPTIONS π
π Modes:
-aβ Authority mode. Specify a certificate that will act as a CA.-tβ Targeted mode. Specify a directory full of certificates to target.
π«Ά Required options:
-c <file|directory>β File containing CA cert/key (authority mode) or directory containing a collection of certs/keys (targeted mode)-s <port>β Port to listen on for SSL interception.-w <file>β File to log to
π Optional options:
-u <updateLocation>β Location of any Firefox XML update files.-m <certificateChain>β Location of any intermediary certificates.-h <port>β Port to listen on for HTTP interception (required for fingerprinting).-f <ff,ie,safari,opera>β Only intercept requests from the specified browser(s).-dβ Deny OCSP requests for our certificates.-pβ Only log HTTP POSTs-e <url>β Intercept Mozilla Addon Updates-j <sha256>β The sha256sum value of the addon to inject
β NOTES β
heads up bestie: sslsniff works only on the FORWARD traffic (not on INPUT or OUTPUT). that's the rule, periodt.
π EXAMPLES π
so say you wanna intercept traffic on port 8443 β first, start sslsniff on a local port:
sslsniff -a -c /usr/share/sslsniff/certs/wildcard -s 4433 -w /tmp/sslsniff.log
and then redirect traffic to this port using the iptables nat table:
iptables -t nat -A PREROUTING -p tcp --destination-port 8443 -j REDIRECT --to-ports 4433
like, that's it. slay. π₯
π AUTHOR π
sslsniff was written by Moxie Marlinspike.
This manual page was written by Pierre Chifflier <pollux@debian.org>, for the Debian project (and may be used by others).
mwah π that's the whole page, bestie β and for the receipts: this came from the Debian sslsniff package, and the source date on it is August 16, 2009, filed under SSLSNIFF(1). iconic behavior honestly. go forth and read your man pages, ily π«Άβ¨
π¦ where this page comes from
- debian bookworm: sslsniff 0.8-9+b1
- debian trixie: sslsniff 0.8+git20111017-1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu jammy: sslsniff 0.8-9ubuntu2
- ubuntu noble: sslsniff 0.8-9ubuntu5
- ubuntu questing: sslsniff 0.8+git20111017-1build1
- ubuntu resolute: sslsniff 0.8+git20111017-3 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu stonking: sslsniff 0.8+git20111017-4build1 Β· GPL-3.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms