Skip to content

Instantly share code, notes, and snippets.

// Known Vulnerable Code - DO NOT USE in production
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Base64;
import javax.crypto.Cipher;
import javax.crypto.KeyGenerator;