|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 80
Members: 0
Total: 80
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Need help Deconding this |
|
Posted: Tue Jul 15, 2008 6:04 am |
|
|
angrycoder |
Regular user |
|
|
Joined: Jul 15, 2008 |
Posts: 22 |
|
|
|
|
|
|
|
What program could I use for feature reference?
Thank you
<?php $_F=__FILE__;$_X='P3FiPzEuMQ1KSw1KS0tLS0tLSyQudWVNMUd1ZUtJSyJLRkh9S0RzR3NuREshSUsnMUd1ZSciOw1KS0tLS0tLS3VqKCRELkVaRz4+S0lJSydRTUQnKTANSktLS0tLS0tLS0skLnVlTTFHdWVLSUsiIjsNSktLS0tLS0tpDUoNSktLS0tLS0t1aigkRC5FWkc+PktJSUsnMUdEc2VuTScpMA1KS0tLS0tLS0tLS0skLnVlTTFHdWVLSUsiS0ZIfUtgZW5NX2VHc01gS2JLJyJ3ZUdzTSgnUy0KLWUnKXciJ0tGSH1LRHNHc25ESyFJSycxR3VlJ0siOw1KS0tLS0tLS2kNSg1KS0tLS0tLSyRzWi5Ndk1LSUsnS0IyemF6SzU+dU15c3VlS0lLXCcndyQ1PnVNeXNfdWV3J1wnSyd3JC51ZU0xR3VldyQxakV2NU1aLk12TTsNSktLS0tLS0skc0VzRz52TTVLSUskdXlDRXU1TUQtcXNFc0c+SG4KTmo8eUNFdTVNRCgkc1ouTXZNKTsNSktLS0tLS0t1aigkMUdSTUR1Z01LcUtwKTANSktLS0tLS0tLS0skc0VzRz4xUkRLSUs1TXU+KCRzRXNHPnZNNVckMUdSTUR1Z00pOw1KS0tLS0tLS2kNSg1KS0tLS0tLSyQ1PnVNeXNES0lLeU1aS08+dU15c0QofWQyTj1ULEt9Z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: Tue Jul 15, 2008 4:58 pm |
|
|
angrycoder |
Regular user |
|
|
Joined: Jul 15, 2008 |
Posts: 22 |
|
|
|
|
|
|
|
How about a hand here waraxe, you are the man!!
Thank you |
|
|
|
|
|
|
|
|
Posted: Wed Jul 16, 2008 1:24 am |
|
|
mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
i reversed it to a certain point when it gave me the following code with a lot of wrong characters.
after i replaced those the result was
Code: | ?><?php
$hidepaid = " AND status != 'paid'";
if($showall == 'yes'){
$hidepaid = "";
}
if($showall == 'pastdue'){
$hidepaid = " AND `due_date` < '".date('Y-m-d')."' AND status != 'paid' ";
}
$twhere = ' WHERE clientid = \''.$client_id.'\' '.$hidepaid.$pforcewhere;
$totalrec = $invoices->totalNumOfInvoices($twhere);
if($pagesize > 0){
$totalpgs = ceil($totalrec/$pagesize);
}
$clients = new Clients(DBHOST, DBNAME, DBUSER, DBPASS, $db_table_prefix);
$crow = $clients->getClient($client_id, $pforcewhere);
$dirc = 'DESC';
$ppmoneyunit = $crow['ppmoneyunit'];
$moneyunit = $crow['moneyunit'];
//get invoices for this client.
if (!$param) {
$extrawhere = $hidepaid.$pforcewhere;
$orderBy = ' ORDER BY id';
}else{
$extrawhere = $hidepaid.$pforcewhere;
$orderBy = ' ORDER BY '.$param;
//direction.
if(isset($_REQUEST['dirc']) && $_REQUEST['dirc'] == 'ASC'){
$orderBy .= " ASC ";
$dirc = 'DESC';
}else{
$sqltem .= " DESC ";
$orderBy .= ' DESC';
$dirc = 'ASC';
}
}
if ($totalpgs > 1){
$tem5 = (int)$pgnum*(int)$pagesize;
$orderBy .= " LIMIT $tem5, $pagesize";
}
$client_invoices_ary = $invoices->getInvoicesForClient($client_id, $extrawhere, $orderBy);
$news = new News(DBHOST, DBNAME, DBUSER, DBPASS, $db_table_prefix);
//$news->setDebugmode(true);
//echo 'ddd[[['.$crow['language'].']]]';
$curnewsary = $news->getNews($crow['language']);
if(count($curnewsary) > 0){
$currentnews = $curnewsary[0]['newsmsg'];
$curnewsdate = date(DATE_FORMAT_SHORT, $curnewsary[0]['newsdate']);
}else{
$currentnews = 'Thank you for using our online invoice system. We love to hear your comments.';
$curnewsdate = date(DATE_FORMAT_SHORT);
}
if($demomode){
$currentnews = $currentnews.'<br><br>cInvoice is currently running in DEMO mode, payment plugin is for demo only. More payment plugins are available in payment directory, 2checkout, authorize.net, ccavenue, epay, paypal... To enable/disable payment plugin, simply editing flags in payment/payments.php file. <br><br>You can also create your own payment plugin and integrate with cInvoice. For details, see user guide. ';
}
?> |
hope i didn't miss anything. |
|
|
|
|
|
|
|
|
Posted: Wed Jul 16, 2008 2:54 pm |
|
|
angrycoder |
Regular user |
|
|
Joined: Jul 15, 2008 |
Posts: 22 |
|
|
|
|
|
|
|
Wow, how do you do this?
So you use a program or just what's up in your melon?
Thanks bro, you rock!! |
|
|
|
|
Posted: Wed Jul 16, 2008 9:21 pm |
|
|
mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
eval () is of course what makes the gibberish code work as source code. so if you replace that with saving it into a file or sending it to the browser ... there you go
the rest is just a mix of combining, guessing and working around |
|
|
|
|
Posted: Wed Jul 16, 2008 10:27 pm |
|
|
angrycoder |
Regular user |
|
|
Joined: Jul 15, 2008 |
Posts: 22 |
|
|
|
|
|
|
|
Awesome, you are the man!
Thanks |
|
|
|
|
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
|
|
|
|
|
|