Waraxe IT Security Portal
Login or Register
November 23, 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
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
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
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



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.038 Seconds