-
-
Save robertogallea/858e59e1968df6772f3d104b3a1cb214 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swapping the MAC and try to decipher | |
try { | |
$tampered = $decodedEncrypted; | |
$tampered['mac'] = $decodedEncrypted2['mac']; | |
$encrypter->decrypt(base64_encode(json_encode($tampered))); | |
} catch (\Illuminate\Contracts\Encryption\DecryptException $exception) { | |
dump($exception->getMessage()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment