Waraxe IT Security Portal
Login or Register
December 3, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 63
Members: 0
Total: 63
Full disclosure
Microsoft Warbird and PMP security research - technical doc
Access Control in Paxton Net2 software
SEC Consult SA-20241127-0 :: Stored Cross-Site Scripting in Omada Identity (CVE-2024-52951)
SEC Consult SA-20241125-0 :: Unlocked JTAG interface and buffer overflow in Siemens SM-2558 Protocol Element, Siemens CP-2016 & CP-2019
Re: Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> please decode this file and can u suggest how this can done
Post new topicReply to topic View previous topic :: View next topic
please decode this file and can u suggest how this can done
PostPosted: Wed Feb 02, 2011 9:59 pm Reply with quote
gargambrish
Beginner
Beginner
Joined: Jan 27, 2011
Posts: 3




please decode this file and can u suggest how this can done
as i have some more files to decode Smile
Thanks in Advance

Deleted

Which is this encodeign
Thanks again


Last edited by gargambrish on Thu Feb 03, 2011 2:19 pm; edited 1 time in total
View user's profile Send private message
PostPosted: Thu Feb 03, 2011 10:00 am Reply with quote
zerobytes
Valuable expert
Valuable expert
Joined: Aug 30, 2008
Posts: 199




Code:

<?php
@session_start();
@extract($_GET); // this needs to be changed
@extract($_POST);
@extract($_SERVER);
include("vars.php");
include("funcs.php");
?>
<?php
$allsbsites = mysql_query("SELECT * FROM bookmarkers") or die(mysql_error());
$sbsites = mysql_num_rows($allsbsites);
$alladirs = mysql_query("SELECT * FROM article_dirs") or die(mysql_error());
$adirs = mysql_num_rows($alladirs);
$allldirs = mysql_query("SELECT * FROM dirs") or die(mysql_error());
$ldirs = mysql_num_rows($allldirs);
?>
<?php include("meta.php");
if (($menu=="link_directories") or ($menu=="article_directories") or ($menu=="social_bookmarks")) { echo "<script type=\"text/javascript\" language=\"Javascript\" src=\"js/jquery.js\"></script>
<script type=\"text/javascript\" language=\"Javascript\" src=\"js/tablesorter.js\"></script>
<script type=\"text/javascript\">
$(document).ready(function()
{
$(\"#dirlist\").tablesorter({sortList: [[0,0]]});
}
);
</script>
"; }
?>
<script type="text/javascript">
/* ajax.Request */
function bookmark(url,data,mydiv) {
var ldr = $(mydiv);
ldr.innerHTML = "<img src=\"images/loader.gif\" alt=\"loader\" />";

var aj = new Ajax.Request( url, { method:'get', parameters: data, onComplete: function(testing){ var ldr = $(mydiv); ldr.innerHTML = ""; ldr.innerHTML = testing.responseText; }} );
}
function sdchecker(url,data,mydiv) {
var ldr = $(mydiv);
ldr.innerHTML = "Checking";

var aj = new Ajax.Request( url, { method:'get', parameters: data, onComplete: function(testing){ var ldr = $(mydiv); ldr.innerHTML = ""; ldr.innerHTML = testing.responseText; }} );
}

function adchecker(url,data,mydiv) {
var ldr = $(mydiv);
ldr.innerHTML = "Checking";

var aj = new Ajax.Request( url, { method:'get', parameters: data, onComplete: function(testing){ var ldr = $(mydiv); ldr.innerHTML = ""; ldr.innerHTML = testing.responseText; }} );
}

function bdchecker(url,data,mydiv) {
var ldr = $(mydiv);
ldr.innerHTML = "Checking";

var aj = new Ajax.Request( url, { method:'get', parameters: data, onComplete: function(testing){ var ldr = $(mydiv); ldr.innerHTML = ""; ldr.innerHTML = testing.responseText; }} );
}

function ajaxRequest(url,data) {
var ldr = $("dirinfo");
ldr.innerHTML = "<img src=\"images/loader.gif\" id=\"loadergif\" alt=\"loader\" />";
var aj = new Ajax.Request( url, { method:'get', parameters: data, onComplete: getResponse } );
}
function ajaxRequest2(url,data) {
var capvalue = document.getElementById('category').value;
var data1 = data+"&story_category="+capvalue;
var ldr = $("dirinfo");
ldr.innerHTML = "<img src=\"images/loader.gif\" id=\"loadergif\" alt=\"loader\" />";
var aj = new Ajax.Request( url, { method:'get', parameters: data1, onComplete: getResponse } );
}
function ajaxRequest3(url,data) {
var capvalue = document.getElementById('category').value;
var challengevalue = document.getElementById('recaptcha_challenge_field').value;
var responsevalue = document.getElementById('recaptcha_response_field').value;
var data1 = data+"&story_category="+capvalue+"&challengecode="+challengevalue+"&responsecode="+responsevalue;
var ldr = $("dirinfo");
ldr.innerHTML = "<img src=\"images/loader.gif\" id=\"loadergif\" alt=\"loader\" />";
var aj = new Ajax.Request( url, { method:'get', parameters: data1, onComplete: getResponse } );
}
function ajaxRequest0(url,data) {
var captchavalue = document.getElementById('captcha_code').value;
var data1 = data+"&capvalue="+captchavalue;
var ldr = $("dirinfo");
ldr.innerHTML = "<img src=\"images/loader.gif\" id=\"loadergif\" alt=\"loader\" />";
var aj = new Ajax.Request( url, { method:'get', parameters: data1, onComplete: getResponse } );
}
function ajaxRequest1(url,data) {
var ldr = $("dirinfo");
ldr.innerHTML = "<img src=\"images/check-icon.gif\" id=\"loadergif\" alt=\"loader\" />";
var aj = new Ajax.Request( url, { method:'get', parameters: data, onComplete: getResponse } );
}
/* ajax.Response */
function getResponse(oReq) {
var ldr = $("dirinfo");
ldr.innerHTML = "";
$('dirinfo').innerHTML = oReq.responseText;
}
</script>
</head>
<body id="homepage">
<?php
// check install directory
$dir = 'install/installer.php';
if (file_exists($dir)) {
echo '<div id="warning">Remove The <strong>"Install"</strong> Folder to Secure This Site</div>';
} else {
// do nothing
}
?>
<div id="wrapper">
<?php include("header.php"); ?>
<div id="content">

<div id="leftcol">
<?php
include("login.php");
$login = new login();
$login->beleptet();
$usrid = $login->loginNev;
if ($usrid){
extract(mysql_fetch_array(mysql_query("SELECT * FROM users WHERE username='$usrid'")));
}
$var = mysql_query("SELECT * FROM site_stats WHERE stid=1") or die(mysql_error());
extract(mysql_fetch_array($var));
?>
</div>

<div id="rightcol">
<?php
switch($menu){
case 'signup':
include("signup.php");
break;
case 'signupcheck':
include("signupcheck.php");
break;

case 'suggest':
include("suggest.php");
break;

case 'confirm':
include("confirm.php");
break;

case 'faq':
include("faq.php");
break;

case 'contact':
include("contact.php");
break;

case 'social_bookmarks':
include("social_bookmarks.php");
break;

case 'link_directories':
include("link_directories.php");
break;

case 'article_directories':
include("article_directories.php");
break;

case 'forgot':
include("forgot.php");
break;

case 'change_pass':
if(!$usrid){include("home.php");}else{include("change_pass.php");}
break;

case 'urls':
if(!$usrid){ include("home.php");}else{ include("urls.php");}
break;

case 'submitter':
if (!$usrid) { include("home.php"); } else { include("submitter.php"); }
break;

case 'submit':
if (!$usrid) { include("home.php"); } else { include("submit.php"); }
break;

case 'submited_directories':
if(!$usrid){ include("home.php");}else{ include("submited_directories.php");}
break;

case 'skipped_directories':
if(!$usrid){ include("home.php");}else{ include("skipped_directories.php");}
break;

case 'manageurls':
if(!$usrid){ include("home.php");}else{ include("manage_urls.php");}
break;

case 'articles':
if (!$usrid) {include("home.php");} else { include("articles.php");}
break;

case 'article_submitter':
if (!$usrid) { include("home.php"); } else { include("article_submitter.php"); }
break;

case 'article_submitter_2':
if (!$usrid) { include("home.php"); } else { include("article_submitter_2.php"); }
break;

case 'submited_article_directories':
if (!$usrid) {include("home.php");} else { include("submited_article_directories.php");}
break;

case 'skipped_article_directories':
if (!$usrid) {include("home.php");} else { include("skipped_article_directories.php");}
break;

case 'manage_articles':
if (!$usrid) {include("home.php");} else { include("manage_articles.php");}
break;

case 'create_unique_articles':
if (!$usrid) {include("home.php");} else { include("create_unique_articles.php");}
break;

case 'stories':
if (!$usrid) { include("home.php"); } else { include("stories.php"); }
break;

case 'story_bookmarker':
if (!$usrid) { include("home.php"); } else { include("story_bookmarker.php"); }
break;

case 'story_bookmark':
if (!$usrid) { include("home.php"); } else { include("story_bookmark.php"); }
break;

case 'submited_bookmarking_sites':
if (!$usrid) { include("home.php"); } else { include("submited_bookmarking_sites.php"); }
break;

case 'skipped_bookmarking_sites':
if (!$usrid) { include("home.php"); } else { include("skipped_bookmarking_sites.php"); }
break;

case 'manage_stories':
if (!$usrid) { include("home.php"); } else { include("manage_stories.php"); }
break;

case 'buy':
if (!$usrid) { include("home.php"); } else { include("buy.php"); }
break;

case 'buydone':
include("buydone.php");
break;

case 'invalidbuy':
include("invalidbuy.php");
break;

case 'home';
default:
include("home.php");
break;
}

?>
</div>
<div class="clear"></div>
</div>
<?php include("footer.php"); ?>
<li>Powered by <a href="http://www.phpdirsubmit.com">PHP Dir Submit</a></li>
</ul>
</div>
</div>
</body>
</html>


Untested

ZeroBytes
View user's profile Send private message Visit poster's website
PostPosted: Thu Feb 03, 2011 3:04 pm Reply with quote
sugianto
Advanced user
Advanced user
Joined: Mar 27, 2010
Posts: 62




Code:
<?php
@session_start();
@extract($_GET);
@extract($_POST);
include("../vars.php");
include("../dbconnect.php");
include("../funcs.php");
require_once("alogin.php");
$alogin = new Login();
$alogin->beleptet();
$id = $alogin->lnev;
$id = $_SESSION["lnev"];
$sd = @session_id();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>PHP Dir Submit Administration Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="" />
<meta name="robots" content="noindex, follow" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<link rel="stylesheet" type="text/css" media="all" href="pdsadmin.css" />
<script type="text/javascript" language="Javascript" src="../js/jquery.js"></script>
<script type="text/javascript" language="Javascript" src="../js/tablesorter.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$("#adminlist").tablesorter({sortList: [[0,0]]});
}
);
</script>
</head>

<body
<?php
if (($menu == '') or ($menu == 'overview') or ($menu == 'login')) {
echo("id=\"overviewpage\"");
}

if ($menu == 'siteconfig') {
echo("id=\"siteconfigpage\"");
}
if ($menu == 'linkdirs') {
echo("id=\"linkdirspage\"");
}
if ($menu == 'articledirs') {
echo("id=\"articledirspage\"");
}
if ($menu == 'bookmarksites') {
echo("id=\"bookmarksitespage\"");
}

if ($menu == 'userdetails') {
echo("id=\"userdetailspage\"");
}
if ($menu == 'submittedsites') {
echo("id=\"submittedsitespage\"");
}
if ($menu == 'subscriptions') {
echo("id=\"subscriptionspage\"");
}
if ($menu == 'faqentries') {
echo("id=\"faqentriespage\"");
}
?>
>
<div id="wrapper">
<div id="header">
<h1><a href="index.php?menu=overview">PHP Dir Submit Administration Panel</a></h1>

<ul id="mainnav">
<li><a id="siteconfig" class="top first" href="index.php?menu=siteconfig"><em>Site Configuration</em>You can setup payment details, SEO, credit costs in this section.</a></li>
<li><a id="linkdirs" class="top" href="index.php?menu=linkdirs"><em>Website Directories</em>You can add and remove website directories in this section.</a></li>
<li><a id="articledirs" class="top" href="index.php?menu=articledirs"><em>Article Directories</em>You can add and remove article directories in this section.</a></li>
<li><a id="bookmarksites" class="top" href="index.php?menu=bookmarksites"><em>Bookmarking Sites</em>You can add and remove bookmarking sites in this section.</a></li>
<li><a id="userdetails" class="bottom first" href="index.php?menu=userdetails"><em>User Details</em>You will find details of all the registered users in this section.</a></li>
<li><a id="submittedsites" class="bottom" href="index.php?menu=submittedsites"><em>Users' Websites</em>You will find all users' websites in this section.</a></li>
<li><a id="subscriptions" class="bottom" href="index.php?menu=subscriptions"><em>Subscriptions</em>You can add and remove subscribers in this section.</a></li>
<li><a id="faqentries" class="bottom" href="index.php?menu=faqentries"><em>FAQ Entries</em>You can add and remove FAQ entries in this section.</a></li>

<li><a id="logout" href="index.php?kilep=">Logout</a></li>
<span id="gearicon"></span>
</ul>
</div>

<div id="content">
<?php
if (($menu == '') or ($menu == 'overview') or ($menu == 'login')) {
include("overview.php");
}

if ($menu == 'siteconfig') {
include("siteconfig.php");
}
if ($menu == 'linkdirs') {
include("linkdirs.php");
}
if ($menu == 'articledirs') {
include("articledirs.php");
}
if ($menu == 'bookmarksites') {
include("bookmarksites.php");
}

if ($menu == 'userdetails') {
include("userdetails.php");
}
if ($menu == 'submittedsites') {
include("submittedsites.php");
}
if ($menu == 'subscriptions') {
include("subscriptions.php");
}
if ($menu == 'faqentries') {
include("faqentries.php");
}

if ($menu == 'useremail') {
include("useremail.php");
}
if ($menu == 'usersitelist') {
include("usersitelist.php");
}
?>
<div class="clear"></div>
<span id="bglogo"></span>
</div>

<p id="copyright">Powered by <a href="http://www.phpdirsubmit.com">PHP Dir Submit</a> <br />Copyright &copy;2008-2011 <a href="http://www.kaizenet.com">Kaizenet Ltd</a>. </p>
</div>
</body>
</html>
View user's profile Send private message
please decode this file and can u suggest how this can done
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

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.046 Seconds