Caso você passe por problemas do tipo:
root@kali:~# apt-get install mitmf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libnetfilter-queue1 python-dnslib python-magic python-netfilterqueue
python-nfqueue python-ua-parser python-user-agents
The following NEW packages will be installed:
libnetfilter-queue1 mitmf python-dnslib python-magic python-netfilterqueue
python-nfqueue python-ua-parser python-user-agents
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 330 kB of archives.
After this operation, 1,596 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:2 http://http.kali.org/kali kali-rolling/main amd64 python-nfqueue amd64 0.6-1
404 Not Found
Err:3 http://http.kali.org/kali kali-rolling/main amd64 python-magic all 1:5.28-4
404 Not Found
Get:1 http://archive-10.kali.org/kali kali-rolling/main amd64 libnetfilter-queue1 amd64 1.0.2-2 [11.4 kB]
Get:4 http://archive-10.kali.org/kali kali-rolling/main amd64 python-dnslib all 0.9.4-0kali1 [38.5 kB]
Get:5 http://archive-10.kali.org/kali kali-rolling/main amd64 python-ua-parser all 0.3.6-0kali1 [21.3 kB]
Get:6 http://archive-9.kali.org/kali kali-rolling/main amd64 python-user-agents all 0.3.2-0kali1 [9,312 B]
Get:7 http://archive-11.kali.org/kali kali-rolling/main amd64 python-netfilterqueue amd64 0.6+git20150907-0kali1 [27.3 kB]
Get:8 http://archive-9.kali.org/kali kali-rolling/main amd64 mitmf all 0.9.8-0kali1 [149 kB]
Fetched 257 kB in 3s (70.3 kB/s)
E: Failed to fetch http://http.kali.org/kali/pool/main/n/nfqueue-bindings/python-nfqueue_0.6-1_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/f/file/python-magic_5.28-4_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Mantenha a calma e rode o seguinte comando:
root@kali:~# apt-get update
Após terminar a atualização, tente novamente o comando:
root@kali:~# apt-get install mitmf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
file libmagic-dev libmagic-mgc libmagic1 libnetfilter-queue1 python-dnslib
python-magic python-netfilterqueue python-nfqueue python-ua-parser
python-user-agents
The following NEW packages will be installed:
libnetfilter-queue1 mitmf python-dnslib python-magic python-netfilterqueue
python-nfqueue python-ua-parser python-user-agents
The following packages will be upgraded:
file libmagic-dev libmagic-mgc libmagic1
4 upgraded, 8 newly installed, 0 to remove and 1903 not upgraded.
Need to get 591 kB/848 kB of archives.
After this operation, 2,205 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive-10.kali.org/kali kali-rolling/main amd64 libmagic-dev amd64 1:5.29-3 [122 kB]
Get:3 http://archive-11.kali.org/kali kali-rolling/main amd64 libmagic1 amd64 1:5.29-3 [110 kB]
Get:4 http://archive-12.kali.org/kali kali-rolling/main amd64 libmagic-mgc amd64 1:5.29-3 [221 kB]
Get:6 http://archive-9.kali.org/kali kali-rolling/main amd64 python-magic all 1:5.29-3 [47.9 kB]
Get:2 http://archive-10.kali.org/kali kali-rolling/main amd64 file amd64 1:5.29-3 [63.7 kB]
Get:5 http://archive-11.kali.org/kali kali-rolling/main amd64 python-nfqueue amd64 0.6-1+b1 [26.2 kB]
Fetched 591 kB in 3s (182 kB/s)
Reading changelogs... Done
(Reading database ... 314941 files and directories currently installed.)
Preparing to unpack .../00-libmagic-dev_1%3a5.29-3_amd64.deb ...
Unpacking libmagic-dev:amd64 (1:5.29-3) over (1:5.28-4) ...
Preparing to unpack .../01-file_1%3a5.29-3_amd64.deb ...
Unpacking file (1:5.29-3) over (1:5.28-4) ...
Preparing to unpack .../02-libmagic1_1%3a5.29-3_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.29-3) over (1:5.28-4) ...
Preparing to unpack .../03-libmagic-mgc_1%3a5.29-3_amd64.deb ...
Unpacking libmagic-mgc (1:5.29-3) over (1:5.28-4) ...
Selecting previously unselected package libnetfilter-queue1.
Preparing to unpack .../04-libnetfilter-queue1_1.0.2-2_amd64.deb ...
Unpacking libnetfilter-queue1 (1.0.2-2) ...
Selecting previously unselected package python-nfqueue.
Preparing to unpack .../05-python-nfqueue_0.6-1+b1_amd64.deb ...
Unpacking python-nfqueue (0.6-1+b1) ...
Selecting previously unselected package python-magic.
Preparing to unpack .../06-python-magic_1%3a5.29-3_all.deb ...
Unpacking python-magic (1:5.29-3) ...
Selecting previously unselected package python-dnslib.
Preparing to unpack .../07-python-dnslib_0.9.4-0kali1_all.deb ...
Unpacking python-dnslib (0.9.4-0kali1) ...
Selecting previously unselected package python-ua-parser.
Preparing to unpack .../08-python-ua-parser_0.3.6-0kali1_all.deb ...
Unpacking python-ua-parser (0.3.6-0kali1) ...
Selecting previously unselected package python-user-agents.
Preparing to unpack .../09-python-user-agents_0.3.2-0kali1_all.deb ...
Unpacking python-user-agents (0.3.2-0kali1) ...
Selecting previously unselected package python-netfilterqueue.
Preparing to unpack .../10-python-netfilterqueue_0.6+git20150907-0kali1_amd64.deb ...
Unpacking python-netfilterqueue (0.6+git20150907-0kali1) ...
Selecting previously unselected package mitmf.
Preparing to unpack .../11-mitmf_0.9.8-0kali1_all.deb ...
Unpacking mitmf (0.9.8-0kali1) ...
Setting up python-dnslib (0.9.4-0kali1) ...
Setting up libnetfilter-queue1 (1.0.2-2) ...
Setting up libmagic-mgc (1:5.29-3) ...
Setting up libmagic1:amd64 (1:5.29-3) ...
Processing triggers for libc-bin (2.23-5) ...
Setting up python-ua-parser (0.3.6-0kali1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-user-agents (0.3.2-0kali1) ...
Setting up libmagic-dev:amd64 (1:5.29-3) ...
Setting up python-netfilterqueue (0.6+git20150907-0kali1) ...
Setting up python-magic (1:5.29-3) ...
Setting up python-nfqueue (0.6-1+b1) ...
Setting up file (1:5.29-3) ...
Setting up mitmf (0.9.8-0kali1) ...
Pronto! Agora você pode usar normalmente o mitmf