|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 68
Members: 0
Total: 68
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Decode Please |
|
Posted: Mon Dec 02, 2013 8:49 pm |
|
|
devilhunter |
Active user |
|
|
Joined: Jul 12, 2013 |
Posts: 35 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Wed Dec 04, 2013 5:37 am |
|
|
devilhunter |
Active user |
|
|
Joined: Jul 12, 2013 |
Posts: 35 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Wed Dec 04, 2013 3:27 pm |
|
|
vv456 |
Advanced user |
|
|
Joined: Aug 24, 2012 |
Posts: 190 |
|
|
|
|
|
|
|
devilhunter wrote: | Please.. |
Hello Friend publish your downloadable file so we can try to help you |
|
|
|
|
Posted: Thu Dec 05, 2013 6:56 am |
|
|
devilhunter |
Active user |
|
|
Joined: Jul 12, 2013 |
Posts: 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Thu Dec 05, 2013 10:34 am |
|
|
vv456 |
Advanced user |
|
|
Joined: Aug 24, 2012 |
Posts: 190 |
|
|
|
|
|
|
|
Code: | <?php
function lisanskontrol2($site_lisans) {
if (substr( getenv( 'HTTP_HOST' ), 0, 4 ) == 'www.') {
$domainadi = substr( getenv( 'HTTP_HOST' ), 4 );
}
else {
$domainadi = getenv( 'HTTP_HOST' );
}
$lisans = $_REQUEST['kontrol'];
if (!function_exists( 'curl_init' )) {
exit( '<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<strong><center>Sunucunuzda Curl Fonksiyonu Bulunmamaktadır. Lütfen Hosting Sahibiniz ile İletişime Geçip Yükletin.</strong></center>' );
}
$lisans = 'lisans';
$row = @mysql_fetch_array( @mysql_query( 'SELECT inforesim FROM ayarlar WHERE id=\'1\'' ) );
$inforesimx = $row['inforesim'];
if ($inforesimx != '1') {
$lisans = 'lisans';
$row = mysql_query( 'ALTER TABLE `ayarlar` DROP `inforesim`' );
}
if ($lisans != '') {
$ch = curl_init( );
$timeout = 2;
curl_setopt( $ch, CURLOPT_URL, 'http://www.inforesim.com/lisansinf.php?domain=' . $domainadi . '&hash=' . $site_lisans . '' );
curl_setopt( $ch, CURLOPT_HEADER, false );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, $timeout );
curl_setopt( $ch, CURLOPT_REFERER, 'http://www.inforesim.com' );
curl_setopt( $ch, CURLOPT_USERAGENT, 'inforesimbot' );
$inforesim = curl_exec( $ch );
curl_close( $ch );
}
$site_hash = md5( md5( $domainadi . 'infoskvds12sd' ) );
if ($site_lisans == $site_hash) {
if ($inforesim != '') {
if ($inforesim == '0') {
$row = mysql_query( 'ALTER TABLE `ayarlar` DROP `inforesim`' );
echo '
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<strong><center>Lisanssız Yazılım Kullanıyorsunuz, Lütfen Lisans Alın ! Lisans İçin : <a href="http://www.inforesim.com">http://www.inforesim.com</a></strong></center>';
exit( );
}
if ($inforesim == '1') {
if ($inforesimx != '1') {
$row = mysql_query( 'ALTER TABLE `ayarlar` DROP `inforesim`' );
$row = mysql_query( 'ALTER TABLE `ayarlar` ADD `inforesim` ENUM(\'1\') NOT NULL' );
exit( );
return null;
}
}
}
}
else {
echo '
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<strong><center>Lisanssız Yazılım Kullanıyorsunuz, Lütfen Lisans Alın ! Lisans İçin : <a href="http://www.inforesim.com">http://www.inforesim.com</a></strong></center>';
exit( );
}
}
include( 'header.php' );
lisanskontrol2( $site_lisans );
$ara = $_GET['ara'];
$tur = $_GET['tur'];
$islem = $_GET['islem'];
$sil2 = $_GET['sil2'];
$durum = $_GET['durum'];
if ($durum == '') {
$durum = '1';
}
if ($islem == 'sil') {
foreach ($_GET['isaret'] as $isaret) {
mysql_query( 'DELETE FROM etiketler WHERE id=\'' . $isaret . '\'' );
mysqlopt( );
tazele( );
}
}
if ($islem == 'onayla') {
foreach ($_GET['isaret'] as $isaret) {
$sonuc = mysql_query( 'update etiketler set durum=\'1\' where id=\'' . $isaret . '\'' );
mysqlopt( );
tazele( );
}
}
if ($islem == 'hepsinikaldir') {
$sonuc = mysql_query( 'update etiketler set durum=\'0\' where durum=\'1\'' );
mysqlopt( );
tazele( );
}
if ($islem == 'hepsinionayla') {
$sonuc = mysql_query( 'update etiketler set durum=\'1\' where durum=\'0\'' );
mysqlopt( );
tazele( );
}
if ($islem == 'onaykaldir') {
foreach ($_GET['isaret'] as $isaret) {
$sonuc = mysql_query( 'update etiketler set durum=\'0\' where id=\'' . $isaret . '\'' );
mysqlopt( );
tazele( );
}
}
if ($islem == 'sil2') {
mysql_query( 'DELETE FROM etiketler WHERE id=\'' . $sil2 . '\'' );
mysqlopt( );
tazele( );
}
$sayfa = $_GET['sayfa'];
echo '<hr class="noscreen" />
<!-- Content (Right Column) -->
<div id="content" class="box">
<h1>';
if ($durum == '1') {
echo 'Onaylı Etiketler';
}
else {
echo 'Onaysız Etiketler';
}
echo '</h1>
<form action="etiketler.php" method="GET" id="search">
<div class="box-02 bottom box">
';
echo '<s';
echo 'trong>Etiket Durumu:</strong>
';
echo '<s';
echo 'elect name="durum" class="input-text">
<option value="1">Onaylı</option>
<option value="0">Onaysız</option>
</select>
<input type="submit" value="Uygula" />
</form>
</div> <!-- /box-02 -->
';
$s_s = '5';
$limit = '21';
$gelen_sayfa = (( isset( $_GET['sayfa'] ) && $_GET['sayfa'] != '' ) ? intval( $_GET['sayfa'] ) : 1);
$s_sor = mysql_query( 'SELECT count(id) FROM etiketler where durum=\'' . $durum . '\'' );
$satir = mysql_result( $s_sor, 0 );
if ($satir == '0') {
echo '<p class="msg info">Şuan sistemde ekli ';
if ($durum == '1') {
echo 'Onaylı';
}
else {
echo 'Onaysız';
}
echo ' etiket bulunmamaktadır.</p>
';
}
else {
echo '<p class="msg info">Toplam ';
echo $satir;
echo ' adet ';
if ($durum == '1') {
echo 'Onaylı';
}
else {
echo 'Onaysız';
}
echo ' etiket Bulundu !</p>
';
}
mysql_free_result( $s_sor );
if (0 < $satir) {
$baslama = (1 < $gelen_sayfa ? ( $gelen_sayfa - 1 ) * $limit : 0);
$sayfa_kac = $satir / $limit;
$sayfa_sayisi = ($satir % $limit != 0 ? intval( $sayfa_kac ) + 1 : intval( $sayfa_kac ));
$basla = ($baslama <= $satir ? $baslama : 0);
unset( $sayfa_kac );
unset( $baslama );
$sorgu = 'SELECT * FROM etiketler where durum=\'' . $durum . '\' order by id desc limit ' . $basla . ' , ' . $limit;
( $sorgula = mysql_query( $sorgu ) || trigger_error( mysql_error( ), E_USER_ERROR ) );
$i = 1;
$style = '';
echo '<form action="etiketler.php" method="GET" id="search">';
while ($sonuc = mysql_fetch_array( $sorgula )) {
echo '<!-- Button -->
<div class="btn-box">
<div class="btn-top"></div>
<div class="btn">
<dl>
<dt><input type="checkbox" name="isaret[]" value="';
echo $sonuc['id'];
echo '" />
<a href="http://';
echo $_SERVER['HTTP_HOST'];
echo etiketsefs;
echo '/';
echo $sonuc['sef'];
echo '" target="_blank">';
echo $sonuc['baslik'];
echo '</a></dt>
<a href="etiketler.php?sil2=';
echo $sonuc['id'];
echo '&ara=';
echo $ara;
echo '&tur=';
echo $tur;
echo '&sayfa=';
echo $sayfa;
echo '&islem=sil2&durum=';
echo $durum;
echo '" class="ico-delete">Sil</a> ;; <a href="etiketduzenle.php?id=';
echo $sonuc['id'];
echo '" class="ico-edit">Düzenle</a> ;; <a href="http://';
echo $_SERVER['HTTP_HOST'];
echo etiketsefs;
echo '/';
echo $sonuc['sef'];
echo '" target="_blank" rel="lightbox" class="ico-show">Git</a>
</dl>
</div> <!-- /btn -->
<div class="btn-bottom"></div>
</div> <!-- /btn-box -->
';
$style = ($style == '' ? '2' : '');
++$i;
}
echo '<div class="pagination box bottom">
<p class="f-right">';
mysql_free_result( $sorgula );
$hangi_sayfa = (0 < $gelen_sayfa ? $gelen_sayfa : 1);
$alt = $gelen_sayfa - $s_s;
if (( $sayfa_sayisi <= $s_s || $gelen_sayfa <= $s_s )) {
$alt = 1;
}
$ust = ($gelen_sayfa + $s_s < $sayfa_sayisi ? $gelen_sayfa + $s_s : $sayfa_sayisi);
if ('1' < $alt) {
echo '<a href="/admin/etiketler.php?durum=' . $durum . '">1</a> » ';
}
$i = $alt;
while ($i <= $ust) {
if ($i == '1') {
$sayfano = '<a href="/admin/etiketler.php?durum=' . $durum . '">' . $i . '</a>';
}
else {
$sayfano = '<a href="/admin/etiketler.php?sayfa=' . $i . '&durum=' . $durum . '">' . $i . '</a>';
}
echo ($i != $gelen_sayfa ? '' . $sayfano . ' ' : '<a href="" class="pagination-active">' . $i . '</a>');
++$i;
}
echo ' « <a href="/admin/etiketler.php?sayfa=' . $sayfa_sayisi . '&durum=' . $durum . '">' . $sayfa_sayisi . '</a>';
echo ($gelen_sayfa <= $sayfa_sayisi ? '' : '');
}
echo '<input type="hidden" name="ara" value="';
echo $ara;
echo '" />
<input type="hidden" name="tur" value="';
echo $tur;
echo '" />
<input type="hidden" name="durum" value="';
echo $durum;
echo '" />
<input type="hidden" name="sayfa" value="';
echo $gelen_sayfa;
echo '" />
</p>
</div> <!-- /pagination -->
<div class="fix"></div>
<div class="box-02 bottom box">
';
echo '<s';
echo 'trong>Seçilenleri:</strong>
';
echo '<s';
echo 'elect name="islem" class="input-text">
<option value="sil">Sil</option>
';
if ($durum == '1') {
echo '<option value="onaykaldir">Onayını Kaldır</option>
<option value="hepsinikaldir">Tüm Etiketlerin Onayını Kaldır</option>
';
}
else {
echo '<option value="onayla">Onayla</option>
<option value="hepsinionayla">Tüm Etiketleri Onayla</option>
';
}
echo '</select>
<input type="submit" value="Uygula" />
</form>
</div> <!-- /box-02 -->
</div> <!-- /content -->
</div> <!-- /cols -->
<hr class="noscreen" />
<!-- Footer -->
';
include( 'footer.php' );
echo '</div> <!-- /main -->
</body>
</html>';
?> |
|
|
|
|
|
|
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
|
|
|
|
|
|
|