Thread: decrypt help!
View Single Post
  #2 (permalink)  
Old 05-08-2008, 09:44 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,560
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: decrypt help!

When you decode the original pasted above it is more base_64 code. I had to decode it more than 40 times. I wrote a little script that did all the work for me though.

The final output is:
PHP Code:

include("../config.php");


$bgcolor $_SESSION['bracketsbgcolor'];
$bordercolor $_SESSION['bracketsborder'];


if(
$bgcolor == "") { $bgcolor "black"; }
if(
$bordercolor == "") { $bordercolor "white"; }



echo 
"
<html>
<head>
<title>Chatboard</title>
<link rel='stylesheet' type='text/css' href='../themes/$theme/style.css'>
<style>

scrollbar-3d-light-color:$bgcolor;
scrollbar-arrow-color:$bordercolor;
scrollbar-base-color:$bordercolor;
scrollbar-dark-shadow-color:white;
scrollbar-face-color:000000;
scrollbar-highlight-color:$bgcolor;
scrollbar-shadow-color:$bordercolor;

</style>
</head>
<body topmargin='1' leftmargin='1'>
<table border='1' bordercolor='$bgcolor' width='140' cellspacing='1' cellpadding='1'>
"
;

$query "SELECT * FROM {$dbprefix}news WHERE type = 'chatboard' ORDER BY id DESC";
$result mysql_query($query)
     or die(
mysql_error());
while(
$row mysql_fetch_array($result))
{
extract($row);
foreach(
$row AS $key => $value) { ${$key} = textFilter($value); }
$dispname addslashes(textFilter(getMemberInfoByID("username"$poster)));
echo 
"
<tr>
<td class='main' bordercolor='$bordercolor'>
<b>$dispname:</b><br>
$content
</td>
</tr>
"
;
}
echo 
"</table>"
Now the question is, why and what are you decrypting?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Reply With Quote