Passwort Angriffe Prinzip

Aus Xinux Wiki
Version vom 24. Juni 2026, 15:21 Uhr von Thomas.will (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Normale Hack= *wget https://xinux.de/downloads/bad-passwords <syntaxhighlight=bash> #!/bin/bash HASH=$1 while read LINE do PW_HS=$(echo $LINE | sha256sum | c…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Normale Hack

<syntaxhighlight=bash>

  1. !/bin/bash

HASH=$1 while read LINE do

PW_HS=$(echo $LINE | sha256sum | cut -f 1 -d " ")
if $PW_HS == $HASH 
  then
     echo "Treffer: $LINE"
   exit
fi	   

done < $2 </syntaxhighlight>