|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Would somebody to help me in decoding file |
|
Posted: Sun Apr 18, 2010 3:19 pm |
|
|
suparman |
Active user |
|
|
Joined: Apr 18, 2010 |
Posts: 29 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Sun Apr 18, 2010 3:35 pm |
|
|
vince213333 |
Advanced user |
|
|
Joined: Aug 03, 2009 |
Posts: 737 |
Location: Belgium |
|
|
|
|
|
|
|
|
|
|
|
thank vince213333 |
|
Posted: Sun Apr 18, 2010 3:43 pm |
|
|
suparman |
Active user |
|
|
Joined: Apr 18, 2010 |
Posts: 29 |
|
|
|
|
|
|
|
amazing, no less than ten minutes after I post the answer already exists
Can I ask one more, because there are left
satu.php
<?php if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) { function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) { $TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E); $T7FC56270E7A70FA81A5935B72EACBE29 = 0; $T9D5ED678FE57BCCA610140957AFAB571 = 0; $T0D61F8370CAD1D412F80B84D143E1257 = 0; $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << + ord($TF186217753C37B9B9F958D906208506E[2]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3; $T800618943025315F869E4E1F09471012 = 0; $TDFCF28D0734569A6A693BC8194DE62BF = 16; $TC1D9F50F86825A1A2302EC2449C17196 = ""; $TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E); $TFF44570ACA8241914870AFBC310CDB85 = __FILE__; $TFF44570ACA8241914870AFBC310CDB85 = file_get_contents($TFF44570ACA8241914870AFBC310CDB85); $TA5F3C6A11B03839D46AF9FB43C97C188 = 0; preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"), $TFF44570ACA8241914870AFBC310CDB85, $TA5F3C6A11B03839D46AF9FB43C97C188); for (;$T3A3EA00CFC35332CEDF6E5E9A32E94DA<$TDD7536794B63BF90ECCFD37F9B147D7F;) { if (count($TA5F3C6A11B03839D46AF9FB43C97C188)) exit; if ($TDFCF28D0734569A6A693BC8194DE62BF == 0) { $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << ; $TF623E75AF30E62BBD73D6DF5B50BB7B5 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]); $TDFCF28D0734569A6A693BC8194DE62BF = 16; } if ($TF623E75AF30E62BBD73D6DF5B50BB7B5 & 0x8000) { $T7FC56270E7A70FA81A5935B72EACBE29 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 4); $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) & 0x0F) + 3; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $T0D61F8370CAD1D412F80B84D143E1257++) $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257] = $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012-$T7FC56270E7A70FA81A5935B72EACBE29+$T0D61F8370CAD1D412F80B84D143E1257]; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } else { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << ; $T9D5ED678FE57BCCA610140957AFAB571 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) + 16; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA++; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } } else $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]; $TF623E75AF30E62BBD73D6DF5B50BB7B5 <<= 1; $TDFCF28D0734569A6A693BC8194DE62BF--; if ($T3A3EA00CFC35332CEDF6E5E9A32E94DA == $TDD7536794B63BF90ECCFD37F9B147D7F) { $TFF44570ACA8241914870AFBC310CDB85 = implode("", $TC1D9F50F86825A1A2302EC2449C17196); $TFF44570ACA8241914870AFBC310CDB85 = "?".">".$TFF44570ACA8241914870AFBC310CDB85."<"."?"; return $TFF44570ACA8241914870AFBC310CDB85; } } } } highlight_string(T7FC56270E7A70FA81A5935B72EACBE29("QAAAPHNjcmlwdD4NCmZ1bmN0aQAAb24gZ2V0WE1MSFRUUCgpIAIAeyAvL2Z1AZN0byByZXR1cm4AACB0aGUgeG1sIGh0dHAgb2IAGGplY3QNCgkJdmFyAXEBYT1mYQQsbHNlOwkBcXRyeXsAgQkDMAHCbmUwAncgBjED4FJlcXVlc3QoKTsCIX2ACgBRY2F0Y2goZSkJewkD8gkEAQnUIADEBEYgBFFBCZB2ZVhPCCIoIk1pYwGrcm9zb2Z0LgXhDBAiBXMJBYIJBZUI09NcBX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> |
|
|
|
|
|
|
|
|
Posted: Sun Apr 18, 2010 4:04 pm |
|
|
vince213333 |
Advanced user |
|
|
Joined: Aug 03, 2009 |
Posts: 737 |
Location: Belgium |
|
|
|
|
|
|
Is that one of the files from the rar? |
|
|
|
|
Posted: Sun Apr 18, 2010 4:07 pm |
|
|
suparman |
Active user |
|
|
Joined: Apr 18, 2010 |
Posts: 29 |
|
|
|
|
|
|
|
true, but not in the decoding, only one file that has not
filename absen.php |
|
|
|
|
|
|
|
|
Posted: Sun Apr 18, 2010 4:10 pm |
|
|
vince213333 |
Advanced user |
|
|
Joined: Aug 03, 2009 |
Posts: 737 |
Location: Belgium |
|
|
|
|
|
|
Code: | <script>
function getXMLHTTP() { //fuction to return the xml http object
var xmlhttp=false;
try{
xmlhttp=new XMLHttpRequest();
}
catch(e) {
try{
xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e){
try{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e1){
xmlhttp=false;
}
}
}
return xmlhttp;
}
function get2(strURL) {
var req = getXMLHTTP();
if (req) {
req.onreadystatechange = function() {
if (req.readyState == 4) {
// only if "OK"
if (req.status == 200) {
document.getElementById('div2').innerHTML=req.responseText;
} else {
alert("There was a problem while using XMLHTTP:\n" + req.statusText);
}
}
}
req.open("GET", strURL, true);
req.send(null);
}
}
function getCam(strURL) {
var req = getXMLHTTP();
if (req) {
req.onreadystatechange = function() {
if (req.readyState == 4) {
// only if "OK"
if (req.status == 200) {
document.getElementById('camdiv').innerHTML=req.responseText;
} else {
alert("There was a problem while using XMLHTTP:\n" + req.statusText);
}
}
}
req.open("GET", strURL, true);
req.send(null);
}
}
</script>
<script language="javascript">
<!--
function setFocus(){document.myForm.BarCode.focus();}
// -->
<!--
<!-- JavaScript Clock v2.3 Written By The Transcendent -->
<!-- Entire script is to be placed wherever you want the clock to be -->
<!-- these are the only variables (9) that you have to change, do not change anything else -->
/* !!!These specifications are supported in both IE and Netscape. You MUST give these variables a value!!! */
var clockwidth = 12 //specify the clock width
var clockvalue = "--- Clock ---" //the text in the clock before the body is completly loaded (needs quotes)
/* !!!!!extra clock looks only available in IE, not supported in netscape!!!! */
var clockfeatures = "yes" // do you want the extra looks? if no, you do not have to change the next 5 variables (must keep quotes around yes/no)
var backcolor = "#000000" //specify background color (needs quotes)
var textcolor = "#eeeeee" //specify text color (needs quotes)
var borderstyle = "original" //specify the type of border ((in quotes, type "original" for the normal style, regardless of your color and width specs) none,dotted,dashed,solid,double,groove,ridge,inset,outset)
var bordercolor = "#a00000" //specify border color (needs quotes) (type in 0 for the borderwidth if you dont want one)
var borderwidth = 0 //specify border width (a number in pixels, (type in 0 if you dont want one)
var fontfamily = "Arial" //specify font type (needs quotes) (type in 'null' if you dont care)
<!-- ok, everything is taken care of! now just save the page, sit back and enjoy! -->
document.onLoad = setInterval('chngtme()',100)
if (document.all && clockfeatures=="yes") {document.write("<style> #clock { background: "+backcolor+"; color: "+textcolor+((borderstyle!='original')?'; border: '+bordercolor+' '+borderwidth+'px '+borderstyle+';':';')+" font-family: "+fontfamily+";} </style>")}
function chngtme() {
var t=new Date()
var AP=((t.getHours()>=12)?" P.M.":" A.M.")
var timeValue=""+((t.getHours()>12)?t.getHours()-12:(t.getHours()==0)?12:t.getHours())
timeValue+=((t.getMinutes()<10)?":0":":")+t.getMinutes()
timeValue+=((t.getSeconds()<10)?":0":":")+t.getSeconds()
timeValue+=AP
document.clock.face.value=timeValue
}
document.write('<center><form name="clock" Action="#"><input id="clock" TYPE="text" NAME="face" SIZE="'+clockwidth+'" VALUE="'+clockvalue+'"></form></center>')
<!-- End JavaScript Clock v2.1 -->
//-->
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
<body background="images/depan2_10.png" onLoad=setFocus()>
<table width="100%" border="0">
<tr>
<td colspan="4" class="headlist">ABSENSI BARCODE</td>
</tr>
<tr>
<td colspan="4">
<form name="myForm" method="post"
action="" onSubmit="return CheckForm(this)">
<p class="td_center">
<input type="text" name="BarCode" id="BarCode">
</p>
</form> </td>
</tr>
<tr>
<td> ;;</td>
</tr>
</table>
<?php
include "config.inc.php";
//require "include_lib/datecalc.class.php";
$BarCode = $_POST[BarCode];
if($BarCode){
$id_barcode = TulisNama(id_barcode,barcode,barcode,$BarCode);
$id = TulisNama(id,barcode,id_barcode,$id_barcode);
if($id){
$tabel = TulisNama(tabel,barcode,id_barcode,$id_barcode);
if($tabel=="siswa"){
$id_siswa =$id;
$siswa = TulisNama(siswa,siswa,id_siswa,$id_siswa);
$foto = TulisNama(foto,siswa,id_siswa,$id_siswa);
$id_kelas = TulisNama(id_kelas,siswa,id_siswa,$id_siswa);
$kelas = TulisNama(kelas,kelas,id_kelas,$id_kelas);
$tujuan_delay_sms_absensi = TulisNama(tujuan_delay_sms_absensi,bimbel_config,id_bimbel_config,1);
$recipient = TulisNama2(hp,hp,pemilik,$tujuan_delay_sms_absensi,id,$id_siswa);
$template_delay_sms_absensi = TulisNama(template_delay_sms_absensi,bimbel_config,id_bimbel_config,1);
$delay_sms_absensi = TulisNama(delay_sms_absensi ,bimbel_config,id_bimbel_config,1);
$datetime_send = date("Y-m-d H:i:s", strtotime("+$delay_sms_absensi second"));
//INFO : Siswa dengan nama <nama> telah melakukan absensi pada tanggal <tanggal> pukul <pukul>. Terimakasih - [Primagama]
$obj=new Tanggal($datetime);
$tanggalsms = $obj->tgl_jammenit();
$text2 = str_replace("<nama>",$siswa,$template_delay_sms_absensi);
$text = str_replace("<tanggal>",$tanggalsms,$text2);
$tgl_skr= GetTanggal(datetime,absensi,id_siswa,$id_siswa);
if($tgl_skr=="$tanggal"){
echo "<div class=salah><p align=center>
Maaf anda telah absensi hari ini, mohon utk absensi sekali saja dalam sehari</div>";
exit;
}
else{
in2absensi($id_siswa,"masuk",$datetime,"barcode",$ip);
in2smsserver_delay($recipient,$text,$create_date,$flash_sms,$datetime_send,$status,$gateway_id,$id_inbox);
}
?>
<table width="100%" border="0" cellspacing="0" >
<tr>
<td colspan="4" class="headgbr">ABSENSI DITERIMA</td>
</tr>
<tr >
<td colspan="4" bgcolor="#66FF66" class="td_center" ><? $obj=new Tanggal($datetime);
echo $obj->get_Tgl4()?></td>
</tr>
<tr>
<td colspan="4" bgcolor="#66FF66" class="td_center" ><img src="<?=$upload_dir?>/s2-<?=$foto?>" alt="foto" border=0></td>
</tr>
<tr>
<td width="14%" bgcolor="#66FF66" > ;;</td>
<td width="14%" bgcolor="#66FF66" ><strong>Nama</strong></td>
<td width="69%" bgcolor="#66FF66"><strong>:
<?=$siswa?>
</strong></td>
<td width="17%" bgcolor="#66FF66"> ;;</td>
</tr>
<tr>
<td bgcolor="#66FF66"> ;;</td>
<td bgcolor="#66FF66"><strong>Kelas</strong></td>
<td bgcolor="#66FF66"><strong>:
<?=$kelas?>
</strong></td>
<td bgcolor="#66FF66"> ;;</td>
</tr>
<tr>
<td bgcolor="#66FF66"> ;;</td>
<td bgcolor="#66FF66"> ;;</td>
<td bgcolor="#66FF66"> ;;</td>
<td bgcolor="#66FF66"> ;;</td>
</tr>
</table>
<? }
if($tabel=="guru"){
$id_guru=$id;
$guru = TulisNama(guru,guru,id_guru,$id_guru);
$foto = TulisNama(foto,guru,id_guru,$id_guru);
$MASUK = $_POST[MASUK];
$id_kelas = $_POST[id_kelas];
$id_pelajaran = $_POST[id_pelajaran];
$last_absen = TulisNamaDesc(datetime,absensi_guru,id_guru,$id_guru,datetime);
$jeda_absensi_guru = TulisNama(jeda_absensi_guru,bimbel_config,id_bimbel_config,1);
$skr_min_jeda_absensi_guru = date('Y-m-d H:i:s', strtotime("-$jeda_absensi_guru minutes"));
if($skr_min_jeda_absensi_guru < $last_absen) {
echo "<div class=salah>MAAF $guru, ANDA TELAH MELAKUKAN ABSENSI $jeda_absensi_guru MENIT YANG LALU";
exit;
}
?>
<form method="post" >
<input type="hidden" name="BarCode" value="<?=$BarCode?>" >
<table width="100%" border="0" cellspacing="0" >
<tr>
<td colspan="4" class="headgbr"><? if(!$MASUK){
echo "PILIH ABSENSI";
}
else{
echo "ABSENSI DITERIMA";
}
?> </td>
</tr>
<tr >
<td colspan="4" bgcolor="#66FF66" class="td_center" ><? $obj=new Tanggal($datetime);
echo $obj->get_Tgl4()?></td>
</tr>
<tr>
<td colspan="4" bgcolor="#66FF66" class="td_center" ><img src="<?=$upload_dir?>/s2-<?=$foto?>" alt="foto" border=0></td>
</tr>
<tr>
<td bgcolor="#66FF66" style="width: 2%" > ;;</td>
<td bgcolor="#66FF66" style="width: 32%" ><strong>Nama</strong></td>
<td width="69%" bgcolor="#66FF66"><strong>:
<?=$guru?>
</strong></td>
<td width="17%" bgcolor="#66FF66"> ;;</td>
</tr>
<tr>
<td bgcolor="#66FF66" style="width: 2%"> ;;</td>
<td bgcolor="#66FF66" style="width: 32%"><strong>Kelas</strong></td>
<td bgcolor="#66FF66"><strong>:
<? if($MASUK){
in2absensi_guru($id_guru,$id_kelas,$id_pelajaran,masuk,$datetime,barcode,$ip);
echo TulisNama(kelas,kelas,id_kelas,$id_kelas);
}
else{
echo SelectKelas2PelajaranAjax(id_kelas,kelas,kelas,$id_kelas);
}
?>
</strong></td>
<td bgcolor="#66FF66"> ;;</td>
</tr>
<tr>
<td bgcolor="#66FF66" style="width: 2%"> ;;</td>
<td nowrap bgcolor="#66FF66" style="width: 32%"><strong>Bidang Studi</strong></td>
<td bgcolor="#66FF66"><strong> :
<? if($MASUK){
echo TulisNama(pelajaran,pelajaran,id_pelajaran,$id_pelajaran);
}
else{
echo "<div id=div2></div>";
}
?>
</strong></td>
<td bgcolor="#66FF66"> ;;</td>
</tr>
<tr>
<td bgcolor="#66FF66" style="width: 2%"> ;;</td>
<td bgcolor="#66FF66" style="width: 32%"> ;;</td>
<td bgcolor="#66FF66"><label>
<? if(!$MASUK){
?>
<input type="submit" name="MASUK" id="button" value="MASUK">
<? }
?>
</label></td>
<td bgcolor="#66FF66"> ;;</td>
</tr>
</table>
</form>
<? }
}
else{
echo "<div class=salah><p>MAAF, KARTU ANDA TIDAK DIKENALI<p></div>";
}
}
?> |
my apologies |
|
|
|
|
|
|
|
|
Posted: Sun Apr 18, 2010 4:15 pm |
|
|
suparman |
Active user |
|
|
Joined: Apr 18, 2010 |
Posts: 29 |
|
|
|
|
|
|
|
thank you, after I try it all the way, thank you, this forum really helped me |
|
|
|
|
Posted: Sun Apr 18, 2010 4:44 pm |
|
|
vince213333 |
Advanced user |
|
|
Joined: Aug 03, 2009 |
Posts: 737 |
Location: Belgium |
|
|
|
|
|
|
No problem, always welcome |
|
|
|
|
Posted: Mon Apr 19, 2010 3:33 am |
|
|
cah_gemblunk |
Regular user |
|
|
Joined: Mar 28, 2010 |
Posts: 8 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Mon Apr 19, 2010 6:17 am |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Mon Apr 19, 2010 6:39 am |
|
|
cah_gemblunk |
Regular user |
|
|
Joined: Mar 28, 2010 |
Posts: 8 |
|
|
|
|
|
|
|
cyko thank you, may you always be successful |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|