!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/var/www/manual/mod/mod_python/   drwxr-xr-x
Free 1.34 GB of 27.03 GB (4.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     inst-testing.html (6.3 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
2.4 Testing


2.4 Testing

  1. Make some directory that would be visible on your web site, for example, htdocs/test.

  2. Add the following Apache directives, which can appear in either the main server configuration file, or .htaccess. If you are going to be using the .htaccess file, you will not need the <Directory> tag below (the directory then becomes the one in which the .htaccess file is located), and you will need to make sure the AllowOverride directive applicable to this directory has at least FileInfo specified. (The default is None, which will not work.)

        <Directory /some/directory/htdocs/test> 
            AddHandler mod_python .py
            PythonHandler mptest 
            PythonDebug On 
        </Directory>
    

    (Substitute /some/directory above for something applicable to your system, usually your Apache ServerRoot)

  3. At this time, if you made changes to the main configuration file, you will need to restart Apache in order for the changes to take effect.

  4. Edit mptest.py file in the htdocs/test directory so that is has the following lines (be careful when cutting and pasting from your browser, you may end up with incorrect indentation and a syntax error):

        from mod_python import apache
    
        def handler(req):
            req.write("Hello World!")
            return apache.OK
    

  5. Point your browser to the URL referring to the mptest.py; you should see "Hello World!". If you didn't - refer to the troubleshooting section next.

  6. If everything worked well, move on to Chapter 3, Tutorial.


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0038 ]--