Solucionado (ver solução)
Solucionado
(ver solução)
4
respostas

Erro ao executar apt-get install mitmf e apt-get update

ola, tive um pequeno contratempo quando fui tentar instalar o mitmf e não estou conseguindo resolver de jeito nenhum. Me ajudem aí, por favor.

root@kali:~# apt-get install mitmf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python-magic python-netfilterqueue python-nfqueue python-ua-parser python-user-agents
The following NEW packages will be installed:
  mitmf python-magic python-netfilterqueue python-nfqueue python-ua-parser python-user-agents
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 254 kB/282 kB of archives.
After this operation, 1,326 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://http.kali.org/kali kali-rolling/main amd64 python-nfqueue amd64 0.6-1+b3                                                               
  404  Not Found
Err:2 http://http.kali.org/kali kali-rolling/main amd64 python-magic all 1:5.32-1
  404  Not Found
Err:3 http://http.kali.org/kali kali-rolling/main amd64 python-ua-parser all 0.3.6-0kali1
  404  Not Found
Err:4 http://http.kali.org/kali kali-rolling/main amd64 python-user-agents all 0.3.2-0kali1
  404  Not Found
Err:5 http://http.kali.org/kali kali-rolling/main amd64 mitmf all 0.9.8-0kali3
  404  Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/n/nfqueue-bindings/python-nfqueue_0.6-1+b3_amd64.deb  404  Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/f/file/python-magic_5.32-1_all.deb  404  Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/p/python-ua-parser/python-ua-parser_0.3.6-0kali1_all.deb  404  Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/p/python-user-agents/python-user-agents_0.3.2-0kali1_all.deb  404  Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/m/mitmf/mitmf_0.9.8-0kali3_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@kali:~# apt-get update
Get:1 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Err:1 http://kali.download/kali kali-rolling InRelease
  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://kali.download/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
4 respostas
solução!

Opa Lucas,

Primeiro você deve configurar o sources.list

Abra o Terminal e digite (você de estar como root):

# echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list

Confira se foi add com sucesso:

# cat /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib

Somente o repositório acima deve estar no souces.list

Uma vez feito isso é hora de dar um UP no Kali, assim:

# apt update && apt -y full-upgrade

Prefira o apt sem o get, ou seja, use apt em vez de apt-get para instalar e/ou atualizar.

Depois que tudo for instalado, reinicie o Kali:

# shutdown -r now

Uma vez de volta ao sistema (como root), é só seguir os passos deste link:

Instalação MITMf

Aqui o git do MITMf

Veja se deu certo, qualquer coisa avisa aí.

Abs

O problema me parece ser na assinatura do repositório. Baixa a chave de assinatura, vá no terminal e digite: "wget -q -O - archive.kali.org/archive-key.asc | apt-key add" Fonte: https://unix.stackexchange.com/questions/421821/invalid-signature-for-kali-linux-repositories-the-following-signatures-were-i

muito obrigado diego, era esse o problema mesmo agora consegui instalar e executar aqui, valew !

Que bom Lucas, agora é só se divertir. :)