|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 65
Members: 0
Total: 65
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Please Decode |
|
Posted: Sun Dec 22, 2013 1:48 am |
|
|
devilhunter |
Active user |
|
|
Joined: Jul 12, 2013 |
Posts: 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Wed Feb 19, 2014 6:41 pm |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
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\">\r\n<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 "\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<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" && $inforesimx != "1" )
{
$row = mysql_query( "ALTER TABLE `ayarlar` DROP `inforesim`" );
$row = mysql_query( "ALTER TABLE `ayarlar` ADD `inforesim` ENUM('1') NOT NULL" );
exit( );
}
}
}
else
{
echo "\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<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 );
if ( !empty( $_GET['bakim'] ) )
{
mysqlopt( );
tazele( );
$basari = "Tüm tablolarınız onarıldı, Uyarlandı ve Cacheleriniz temizlendi.";
}
echo "<hr class=\"noscreen\" />\r\n<!-- Content (Right Column) -->\r\n<div id=\"content\" class=\"box\">\r\n<h1>Bakım</h1>\r\n";
if ( !empty( "basari" ) )
{
echo "<p class=\"msg info\">";
echo $basari;
echo "</p>\r\n";
}
else
{
echo "<p class=\"msg info\">Bakım aracını çalıştırarak, Tüm Tablolarınızın Optimize Edilmesini ve SQL CACHE nin tüm verilerinin tazelenmesini sağlayabilirsiniz.</p>\r\n<a href=\"bakim.php?bakim=1\" class=\"btn-info\">";
echo "<s";
echo "pan>Bakım Yap !</span></a>\r\n";
}
echo "</div> <!-- /pagination -->\r\n<div class=\"fix\"></div>\r\n</div> <!-- /content -->\r\n</div> <!-- /cols -->\r\n<hr class=\"noscreen\" />\r\n<!-- Footer -->\r\n";
include( "footer.php" );
echo "</div> <!-- /main -->\r\n</body>\r\n</html>";
?>
|
|
|
_________________ Go BIG or go HOME ! |
|
|
|
|
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
|
|
|
|
|
|
|