Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php eval(stripslashes(gzinflate(base64_decode("pVhtb9s4Ev6cAv0PU8Fd21jHTtrtFUgsF26TbXNNk..
Decoded Output download
?>
<?php session_start();
include("header.php");
if (!empty($_SESSION['username']) AND ($_SESSION['level'] == "1")) {
$title = "Kirim SMS";
require("connection.inc.php");?>
<?php
$table = "struktur";
$tanggal = date("Y-m-d H");
$waktu = date("Y-m-d H:i:s");
?>
<link href="main.css" rel="stylesheet" type="text/css">
<br><br>
<p align="center" class="header"><img src="images/edit.gif"> :: <?php echo $title?></p>
<div align="center"><A HREF='index.php'><font size="3" face="Arial, Helvetica, sans-serif"></font></A>
<?php
$hit=0;
for ($k=1;$k<=$banyak;$k++)
if ($hpku[$k]!="")
$kirim = "$kirim"."$hpku[$k], ";
?>
<?php if (!(isset($_GET[tekan]))) $_GET[tekan]="no";
if (($_GET[tekan]=='ok') and (!empty($_POST[isisms])))
{
$isi = $_POST[tujuanhp];
$isi = strtolower($isi);
$space = explode(",",$isi);
$jkirim = count($space);
for($i = 0; $i<$jkirim; $i++){
if ($space[$i]!="") {
echo "$space[$i]";
$space[$i] = trim($space[$i]);
$jumlahsms = strlen($isisms);
//echo $jumlahsms;
$hpq = $space[$i];
$oke=mysql_query("INSERT INTO `reply` ( `id` , `idinbox` , `petugas` , `tanggal` , `isi` )
VALUES ('', '$_POST[kode]', '$_SESSION[username]', '$waktu', '$_POST[isisms]')");
$sukses = mysql_query("INSERT INTO `terkirim` ( `id` , `tgl` , `hp` , `isi` , `status` ) VALUES (NULL , NOW() , '$hpq', '$_POST[isisms]', 'S')");
$pesan = $_POST[isisms];
// menghitung jumlah pecahan
$jmlSMS = ceil(strlen($pesan)/153);
// memecah pesan asli
$pecah = str_split($pesan, 153);
// proses untuk mendapatkan ID record yang akan disisipkan ke tabel OUTBOX
$query = "SHOW TABLE STATUS LIKE 'outbox'";
$hasil = mysql_query($query);
$data = mysql_fetch_array($hasil);
$newID = $data['Auto_increment'];
// proses penyimpanan ke tabel mysql untuk setiap pecahan
for ($i=1; $i<=$jmlSMS; $i++)
{
// membuat UDH untuk setiap pecahan, sesuai urutannya
$udh = "050003A7".sprintf("%02s", $jmlSMS).sprintf("%02s", $i);
// membaca text setiap pecahan
$msg = $pecah[$i-1];
if ($i == 1)
{
// jika merupakan pecahan pertama, maka masukkan ke tabel OUTBOX
$okesaldo=mysql_query("INSERT INTO `outbox` ( `UDH`,`ID`,`MultiPart`,`InsertIntoDB` , `SendingDateTime` ,`DestinationNumber` , `Coding` , `TextDecoded` , `SendingTimeOut` ,`DeliveryReport` , `CreatorID` )
VALUES ( '$udh','$newID', 'true','sysdate()', 'sysdate()', '$hpq','Default_No_Compression', '$msg', 'sysdate()', 'yes', '$_SESSION[username]')");
//$query = "INSERT INTO outbox (DestinationNumber, UDH,TextDecoded, ID, MultiPart) VALUES ('$noTelp', '$udh', '$msg','$newID', 'true')";
}
else
{
// jika bukan merupakan pecahan pertama, simpan ke tabel OUTBOX_MULTIPART
$query = "INSERT INTO outbox_multipart(`Coding` ,UDH,TextDecoded, ID, SequencePosition)
VALUES ('Default_No_Compression', '$udh', '$msg','$newID', '$i')";
//echo $pesan;
}
// jalankan query
mysql_query($query);
}
}
}
$url = "http://localhost/smsbisa/gammu/start.php";
$f = fopen ($url, 'r' );
fclose ($f) ; flush() ;
?>
</div>
<table width="75%" border="0" cellspacing="5" cellpadding="5" align="center">
<tr>
<td align=center><?php
echo "<b>Pengiriman SMS dengan isi:</b><br>";
echo "$_POST[isisms]<br><br>";
echo "<b>Tujuan</b><br> $_POST[tujuanhp]";
echo "<br><br><b>Telah berhasil.... </b><br>";
?>
</td>
</tr>
</table><?php
}
else
{
?>
<form name="myForm" action="?tekan=ok" method="post">
<br>
<table width="40%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="24%" valign="top"><div align="right"><br>
<font size="3">Tujuan </font>: </div></td>
<td width="76%"><textarea name="tujuanhp" cols="50" rows=3><?php echo $_GET[kirim] ?><?php echo $_GET[nohp] ?></textarea>
<input type="hidden" name="kode" value="<?php echo $_GET[id];?>" />
</td>
</tr>
<tr>
<td valign="top"><div align="right"><font size="3">Isi </font>: </div></td>
<td><p>
<textarea name="isisms" wrap="physical" cols="50" rows="5"
onKeyDown="textCounter(document.myForm.isisms,document.myForm.remLen2,1000)"
onKeyUp="textCounter(document.myForm.isisms,document.myForm.remLen2,1000"></textarea>
</p></td>
</tr>
<tr>
<td> </td>
<td> <input readonly type="text" name="remLen2" size="3" maxlength="3" value="1000">
sisa karakter </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Send">
<input type="hidden" name="banyak" value="<?php echo $banyak?>"></td>
</tr>
</table>
</form>
<SCRIPT LANGUAGE="JavaScript">
<!-- Dynamic Version by: Nannette Thacker -->
<!-- http://www.shiningstar.net -->
<!-- Original by : Ronnie T. Moore -->
<!-- Web Site: The JavaScript Source -->
<!-- Use one function for multiple text areas on a page -->
<!-- Limit the number of characters per textarea -->
<!-- Begin
function textCounter(field,cntfield,maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else
cntfield.value = maxlimit - field.value.length;
}
// End -->
</script>
<?php }}
else
echo "maaf anda belum login";
include("footer.php"); ?>
<?
Did this file decode correctly?
Original Code
<?php eval(stripslashes(gzinflate(base64_decode("pVhtb9s4Ev6cAv0PU8Fd21jHTtrtFUgsF26TbXNNkyB2tncIgoSWaIuxRKokFddX9L/fDCnZSpy2h9sArSVyZjjzzAtn9Gbw9En/TZ7kYLgxQslrY5m2rfb+0ydCRmkR81aQcBZz3UWqgNZxZwqtZzzL7bLVuB4djkZHpyeXzcJwLVnGm1dtGJ4cQH0v5Xc8bV5BGEKwG7Tb8I3kNKywKQdc+yi0yGD0aRTgAaD5l0JoPDlSUvLIol5d1KbU4M2AeJ3WJIJNvAhjdT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