Skip to content

Merging in new Cryptography module#654

Merged
digininja merged 32 commits into
masterfrom
encryption
Sep 23, 2024
Merged

Merging in new Cryptography module#654
digininja merged 32 commits into
masterfrom
encryption

Conversation

@digininja

Copy link
Copy Markdown
Owner

No description provided.

@digininja digininja merged commit 947d5d3 into master Sep 23, 2024
$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.

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.

Unsafe var_dump.
print "\n";

print "Sweep Plaintext\n";
var_dump ($sweep_plaintext);

Check warning

Code scanning / PHP Security Audit

Unsafe var_dump.

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.

Unsafe var_dump.
print "\n";

print "Soo Plaintext\n";
var_dump ($soo_plaintext);

Check warning

Code scanning / PHP Security Audit

Unsafe var_dump.

Unsafe var_dump.
$html .= '<div class="warning">' . $errors . '</div>';
}

if ($messages != "") {

Check warning

Code scanning / PHP Security Audit

Type "" for $messages is always string().

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.

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.

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.

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.

Unsafe var_dump.
@digininja digininja deleted the encryption branch October 2, 2024 09:16
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
Merging in new Cryptography module
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
Merging in new Cryptography module
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
Merging in new Cryptography module
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
Merging in new Cryptography module
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
Merging in new Cryptography module
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
Merging in new Cryptography module
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
Merging in new Cryptography module
BrunoCascante pushed a commit to BrunoCascante/DVWA that referenced this pull request Jun 16, 2025
Merging in new Cryptography module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants