Passwort Angriffe Prinzip: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
|||
| Zeile 1: | Zeile 1: | ||
=Normale Hack= | =Normale Hack= | ||
*wget https://xinux.de/downloads/bad-passwords | *wget https://xinux.de/downloads/bad-passwords | ||
*cat pw-crack-offline.sh | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
#!/bin/bash | #!/bin/bash | ||
| Zeile 14: | Zeile 15: | ||
done < $2 | done < $2 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* | |||
=Hash Tabelle= | |||
*wget https://xinux.de/downloads/bad-passwords.hash | |||
*cat pw-crack-offline-hash.sh | |||
<syntaxhighlight lang="bash"> | |||
#!/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> | |||
*./pw-crack-offline-hash.sh ba22bae4d286f37a07e800585b8acba09add0e2a370c6ea5b2b354f859d8c12d bad-passwords.hash | |||
Treffer: lovely | |||
Version vom 24. Juni 2026, 15:31 Uhr
Normale Hack
- wget https://xinux.de/downloads/bad-passwords
- cat pw-crack-offline.sh
#!/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
Hash Tabelle
- wget https://xinux.de/downloads/bad-passwords.hash
- cat pw-crack-offline-hash.sh
#!/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
- ./pw-crack-offline-hash.sh ba22bae4d286f37a07e800585b8acba09add0e2a370c6ea5b2b354f859d8c12d bad-passwords.hash
Treffer: lovely