How To Install dsniff on Fedora 36

In this tutorial we learn how to install dsniff in Fedora 36. dsniff is Tools for network auditing and penetration testing

Introduction

In this tutorial we learn how to install dsniff on Fedora 36.

What is dsniff

A collection of tools for network auditing and penetration testing. Dsniff, filesnarf, mailsnarf, msgsnarf, urlsnarf and webspy allow to passively monitor a network for interesting data (passwords, e-mail, files). Arpspoof, dnsspoof and macof facilitate the interception of network traffic normally unavailable to an attacker (e.g, due to layer-2 switching). Sshmitm and webmitm implement active monkey-in-the-middle attacks against redirected SSH and HTTPS sessions by exploiting weak bindings in ad-hoc PKI.

We can use yum or dnf to install dsniff on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dsniff.

Install dsniff on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dsniff using dnf by running the following command:

sudo dnf -y install dsniff

Install dsniff on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dsniff using yum by running the following command:

sudo yum -y install dsniff

How To Uninstall dsniff on Fedora 36

To uninstall only the dsniff package we can use the following command:

sudo dnf remove dsniff

dsniff Package Contents on Fedora 36

/etc/dsniff
/etc/dsniff/dnsspoof.hosts
/etc/dsniff/dsniff.magic
/etc/dsniff/dsniff.services
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/e349d472c3cc138c7df166a532552a1d47251f
/usr/lib/.build-id/01
/usr/lib/.build-id/01/5253a652be72fd9562d2e4e75d0097ed30e353
/usr/lib/.build-id/09
/usr/lib/.build-id/09/8d48882c372201712d25b7760a29e041c5ab32
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/11d6f07feb6bdc518949532e62971345959217
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/1a36186c07f384fbed09655f99e23a9d904baa
/usr/lib/.build-id/21
/usr/lib/.build-id/21/15296e1db966cd07493f8c9dbe4fa0c28cac33
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/f2484e7c09879c674464bef01ee4d797298fb8
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/809157a72c1ba2564094964aafc11e77ca934a
/usr/lib/.build-id/50
/usr/lib/.build-id/50/f5c40c4ff837590efe4a7818a1b42bef2847a8
/usr/lib/.build-id/56
/usr/lib/.build-id/56/8b140dd0e695c23fe7c7f224f6e003d4573587
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/3f123cd71d6bf5bbd74a72682548f7488b56b2
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/5ff07ac984e5293f2a890052b4ebaaa0029941
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/25bf8d5b5602418b5152326a06404538ed2f82
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/af2b9e011e8342638c05b8f3996df6259d0d16
/usr/sbin/arpspoof
/usr/sbin/dnsspoof
/usr/sbin/dsniff
/usr/sbin/filesnarf
/usr/sbin/macof
/usr/sbin/mailsnarf
/usr/sbin/msgsnarf
/usr/sbin/sshmitm
/usr/sbin/sshow
/usr/sbin/tcpkill
/usr/sbin/tcpnice
/usr/sbin/urlsnarf
/usr/sbin/webmitm
/usr/sbin/webspy
/usr/share/doc/dsniff
/usr/share/doc/dsniff/CHANGES
/usr/share/doc/dsniff/README
/usr/share/doc/dsniff/TODO
/usr/share/licenses/dsniff
/usr/share/licenses/dsniff/LICENSE
/usr/share/man/man8/arpspoof.8.gz
/usr/share/man/man8/dnsspoof.8.gz
/usr/share/man/man8/dsniff.8.gz
/usr/share/man/man8/filesnarf.8.gz
/usr/share/man/man8/macof.8.gz
/usr/share/man/man8/mailsnarf.8.gz
/usr/share/man/man8/msgsnarf.8.gz
/usr/share/man/man8/sshmitm.8.gz
/usr/share/man/man8/sshow.8.gz
/usr/share/man/man8/tcpkill.8.gz
/usr/share/man/man8/tcpnice.8.gz
/usr/share/man/man8/urlsnarf.8.gz
/usr/share/man/man8/webmitm.8.gz
/usr/share/man/man8/webspy.8.gz

References

Summary

In this tutorial we learn how to install dsniff on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).