Waraxe IT Security Portal
Login or Register
April 19, 2025
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: 202
Members: 0
Total: 202
Full disclosure
83 vulnerabilities in Vasion Print / PrinterLogic
[CVE-2025-32102, CVE-2025-32103] SSRF and Directory Traversal in CrushFTP 10.7.1 and 11.1.0 (as well as legacy 9.x)
Re: APPLE-SA-03-11-2025-2 iOS 18.3.2 and iPadOS 18.3.2
[KIS-2025-01] UNA CMS <= 14.0.0-RC4 (BxBaseMenuSetAclLevel.ph p) PHP Object Injection Vulnerability
OXAS-ADV-2025-0001: OX App Suite Security Advisory
APPLE-SA-04-01-2025-1 watchOS 11.4
APPLE-SA-03-31-2025-11 visionOS 2.4
APPLE-SA-03-31-2025-10 tvOS 18.4
APPLE-SA-03-31-2025-9 macOS Ventura 13.7.5
APPLE-SA-03-31-2025-8 macOS Sonoma 14.7.5
APPLE-SA-03-31-2025-7 macOS Sequoia 15.4
APPLE-SA-03-31-2025-6 iOS 15.8.4 and iPadOS 15.8.4
APPLE-SA-03-31-2025-5 iOS 16.7.11 and iPadOS 16.7.11
APPLE-SA-03-31-2025-4 iPadOS 17.7.6
APPLE-SA-03-31-2025-3 iOS 18.4 and iPadOS 18.4
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> decode this plezz?
Post new topicReply to topic View previous topic :: View next topic
decode this plezz?
PostPosted: Tue Feb 24, 2009 1:03 pm Reply with quote
Kingz
Beginner
Beginner
Joined: Jan 20, 2009
Posts: 4




Code:
<?php

/*****
AnonShout 1.2

(C) 2008 NZ's Finest
www.nzsfinest.com

HOW TO USE -
1. Change the configuration options below if needed.
2. Upload "anonshout.php" to your server.
3. Chmod the directory you uploaded "anonshout.php" to, to 777.

Then include it on your website by using the code:
include("anonshout.php");

If you want to delete/edit shouts you can do so by editing the file set in the configuration below (by default, "shouts.txt").

NOTE -
You may not remove or change the default copyright.
*****/

// Configuration (you can change these)
$filename = "shouts.txt"; // The file to store shouts in
$date = "jS M, g:i A"; // Date format for shouts (see http://php.net/date)
$timemod = 0; // Time modifier, in hours, use this to adjust the time
$amount = 5; // Amount of shouts to show (0 = all)
$direction = 0; // Direction to show shouts in (0 = newest at top, 1 = oldest at top)

/*****
ATTENTION -
Do not edit below this line unless you know what you are doing.
*****/

// HTML
$shouthtml = <<<HTML
{date}
<br />
{message}
<p />
HTML;

$html = <<<HTML
{shouts}
<form method="post">
{errors}
<p />
Message: <input type="text" name="message" />
<p />
<input type="submit" name="submit" value="Shout" />
</form>
HTML;

// Code
if (!file_exists($filename))
{
// File does not exist, create it
$f = @fopen($filename, "w") or die("Cannot access $filename, please chmod the directory to 777.");
fclose($f);
}

if (isset($_POST['submit']))
{
// User has clicked the "Shout" button

// Make safe all posted data, also store other data
if (get_magic_quotes_gpc())
{
$postmessage = trim(stripslashes(htmlspecialchars($_POST['message'])));
}
else
{
$postmessage = trim(htmlspecialchars($_POST['message']));
}
$postdate = time();

if ($postmessage == "")
{
$error .= "<span style=\"color: #FF0000;\">Please enter a message.</span> <br />";
}

if (isset($error))
{
// An error has occurred
// Format "error" part of HTML
$html = str_replace("{errors}", $error . "<p />", $html);
}
else
{
// No errors :)
// Add the shout
$f = fopen($filename, "a");
fwrite($f, "[Date] $postdate\n[Msg] $postmessage\n");
fclose($f);
header("Location: " . $_SERVER['PHP_SELF']);
die();
}
}

// Below: Handle all "shout" formatting
$i = 0;
$f = file($filename);
foreach ($f as $val)
{
// Loop through every line in $filename
if (preg_match("/\[Date\] [^A-Za-z ][0-9].*/", $val))
{
// Date line
$shout[$i]['date'] = str_replace("[Date]", "", $val);
}
if (preg_match("/\[Msg\] .*/", $val))
{
// Message line
$shout[$i]['message'] = str_replace("[Msg]", "", $val);
$i++;
}
}

$i = 0;
if ($direction == 0)
{
// Have shouts going from the top-down
$shout = @array_reverse($shout);
}

if (isset($shout))
{
// If shouts exist
foreach ($shout as $val => $key)
{
// Limit shouts according to $amount
if ($i == $amount && $i != 0)
{
}
else
{
// Create shout HTML
$timeadd = (3600 * $timemod);
$moddate = date($date, $key['date'] + $timeadd); // Add time modifier to date

$temphtml = str_replace("{date}", $moddate, $shouthtml);
$temphtml = str_replace("{message}", $key['message'], $temphtml);
$allshouts .= $temphtml;
$i++;
}
}
}

// Below: Handle all formatting
// Required for operation
$_F=__FILE__;$_X='Pz48P3BocA0KDQokaHRtbCAuPSA8PDxIVE1MDQo8cCAvPg0KPHNwMW4gc3R5bDU9ImYybnQtczR6NTogNjBweDsiPlAydzVyNWQgYnkgPDEgaHI1Zj0iaHR0cDovL3d3dy5uenNmNG41c3QuYzJtIj5BbjJuU2gyM3Q8LzE+PC9zcDFuPg0KSFRNTDsNCiRjMnB5cjRnaHQgPSA2Ow0KDQo/Pg==';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));
// Format HTML to be output
$html = str_replace("{shouts}", $allshouts, $html);
$html = str_replace("{errors}", "", $html);
// Required for operation
$_F=__FILE__;$_X='Pz48P3BocA0KDQo0ZiAoJGMycHlyNGdodCA9PSA2KQ0Kew0KCTVjaDIgJGh0bWw7DQp9DQo1bHM1DQp7DQoJZDQ1KCJFcnIycjogSDUxZDVyIGMyZDUgNmEuIik7DQp9DQoNCj8+';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));

?>
View user's profile Send private message Send e-mail
PostPosted: Fri Jul 27, 2012 11:52 am Reply with quote
demon
Moderator
Moderator
Joined: Sep 22, 2010
Posts: 485




Code:
<?php

/*****
AnonShout 1.2

(C) 2008 NZ's Finest
www.nzsfinest.com

HOW TO USE -
1. Change the configuration options below if needed.
2. Upload "anonshout.php" to your server.
3. Chmod the directory you uploaded "anonshout.php" to, to 777.

Then include it on your website by using the code:
include("anonshout.php");

If you want to delete/edit shouts you can do so by editing the file set in the configuration below (by default, "shouts.txt").

NOTE -
You may not remove or change the default copyright.
*****/

// Configuration (you can change these)
$filename = "shouts.txt"; // The file to store shouts in
$date = "jS M, g:i A"; // Date format for shouts (see http://php.net/date)
$timemod = 0; // Time modifier, in hours, use this to adjust the time
$amount = 5; // Amount of shouts to show (0 = all)
$direction = 0; // Direction to show shouts in (0 = newest at top, 1 = oldest at top)

/*****
ATTENTION -
Do not edit below this line unless you know what you are doing.
*****/

// HTML
$shouthtml = <<<HTML
{date}
<br />
{message}
<p />
HTML;

$html = <<<HTML
{shouts}
<form method="post">
{errors}
<p />
Message: <input type="text" name="message" />
<p />
<input type="submit" name="submit" value="Shout" />
</form>
HTML;

// Code
if (!file_exists($filename))
{
// File does not exist, create it
$f = @fopen($filename, "w") or die("Cannot access $filename, please chmod the directory to 777.");
fclose($f);
}

if (isset($_POST['submit']))
{
// User has clicked the "Shout" button

// Make safe all posted data, also store other data
if (get_magic_quotes_gpc())
{
$postmessage = trim(stripslashes(htmlspecialchars($_POST['message'])));
}
else
{
$postmessage = trim(htmlspecialchars($_POST['message']));
}
$postdate = time();

if ($postmessage == "")
{
$error .= "<span style=\"color: #FF0000;\">Please enter a message.</span> <br />";
}

if (isset($error))
{
// An error has occurred
// Format "error" part of HTML
$html = str_replace("{errors}", $error . "<p />", $html);
}
else
{
// No errors :)
// Add the shout
$f = fopen($filename, "a");
fwrite($f, "[Date] $postdate\n[Msg] $postmessage\n");
fclose($f);
header("Location: " . $_SERVER['PHP_SELF']);
die();
}
}

// Below: Handle all "shout" formatting
$i = 0;
$f = file($filename);
foreach ($f as $val)
{
// Loop through every line in $filename
if (preg_match("/\[Date\] [^A-Za-z ][0-9].*/", $val))
{
// Date line
$shout[$i]['date'] = str_replace("[Date]", "", $val);
}
if (preg_match("/\[Msg\] .*/", $val))
{
// Message line
$shout[$i]['message'] = str_replace("[Msg]", "", $val);
$i++;
}
}

$i = 0;
if ($direction == 0)
{
// Have shouts going from the top-down
$shout = @array_reverse($shout);
}

if (isset($shout))
{
// If shouts exist
foreach ($shout as $val => $key)
{
// Limit shouts according to $amount
if ($i == $amount && $i != 0)
{
}
else
{
// Create shout HTML
$timeadd = (3600 * $timemod);
$moddate = date($date, $key['date'] + $timeadd); // Add time modifier to date

$temphtml = str_replace("{date}", $moddate, $shouthtml);
$temphtml = str_replace("{message}", $key['message'], $temphtml);
$allshouts .= $temphtml;
$i++;
}
}
}

// Below: Handle all formatting
// Required for operation
$html .= <<<HTML
<p />
<span style="font-size: 10px;">Powered by <a href="http://www.nzsfinest.com">AnonShout</a></span>
HTML;
$copyright = 1;
// Format HTML to be output
$html = str_replace("{shouts}", $allshouts, $html);
$html = str_replace("{errors}", "", $html);
// Required for operation
if ($copyright == 1)
{
echo $html;
}
else
{
die("Error: Header code 12.");
}
?>
View user's profile Send private message
decode this plezz?
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



PCWizardHub - Helping you fix, build, and optimize your PC life
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.043 Seconds