Merging in new Cryptography module#654
Conversation
| $soo_plaintext .= '"bio": "I won The Weakest Link"}'; | ||
|
|
||
| print "Sooty Plaintext\n"; | ||
| var_dump ($sooty_plaintext); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| var_dump ($sooty_plaintext); | ||
| $sooty_ciphered = encrypt($sooty_plaintext, $key); | ||
| print "Sooty Ciphertext\n"; | ||
| var_dump (bin2hex($sooty_ciphered)); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| print "\n"; | ||
|
|
||
| print "Sweep Plaintext\n"; | ||
| var_dump ($sweep_plaintext); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| var_dump ($sweep_plaintext); | ||
| $sweep_ciphered = encrypt($sweep_plaintext, $key); | ||
| print "Sweep Ciphertext\n"; | ||
| var_dump (bin2hex($sweep_ciphered)); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| print "\n"; | ||
|
|
||
| print "Soo Plaintext\n"; | ||
| var_dump ($soo_plaintext); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| $html .= '<div class="warning">' . $errors . '</div>'; | ||
| } | ||
|
|
||
| if ($messages != "") { |
Check warning
Code scanning / PHP Security Audit
Type "" for $messages is always string().
| $ret_obj = make_call ($token, $zeroing, $url); | ||
|
|
||
| print "Response from server:\n"; | ||
| var_dump ($ret_obj); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| } | ||
| } catch (Exception $exp) { | ||
| print "Hack failed, system could not decrypt message\n"; | ||
| var_dump ($exp); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| $encoded = (xor_this($clear, $key)); | ||
| $b64_encoded = base64_encode ($encoded); | ||
| print "Encoded text\n"; | ||
| var_dump ($b64_encoded); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
| $b64_decoded = base64_decode ($b64_encoded); | ||
| $decoded = xor_this($b64_decoded, $key); | ||
| print "Decoded text\n"; | ||
| var_dump ($decoded); |
Check warning
Code scanning / PHP Security Audit
Unsafe var_dump.
Merging in new Cryptography module
Merging in new Cryptography module
Merging in new Cryptography module
Merging in new Cryptography module
Merging in new Cryptography module
Merging in new Cryptography module
Merging in new Cryptography module
Merging in new Cryptography module
No description provided.