This commit is contained in:
2021-10-25 17:25:49 +02:00
parent 2f555c5b9e
commit 718aaa6f6c
4 changed files with 23 additions and 18 deletions

2
padBuster.pl Normal file → Executable file
View File

@@ -527,7 +527,7 @@ sub processBlock {
my $continue = "y";
if (($error && $content !~ /$error/) || ($oracleSignature ne "" && $oracleSignature ne $signatureData)) {
if (($error && $content !~ /$error/ && $location !~ /$error/) || ($oracleSignature ne "" && $oracleSignature ne $signatureData)) {
# This is for autoretry logic (only works on the first byte)
if ($autoRetry == 1 && ($byteNum == ($blockSize - 1) ) && $hasHit == 0 ) {
$hasHit++;