!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)

/usr/lib/python2.4/site-packages/Ft/Server/ThirdParty/pyftpd/   drwxr-xr-x
Free 3.38 GB of 27.03 GB (12.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     auth_4SS_module.py (1.47 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

# autentificate from 4SS repository
from Ft.Server.Server.SCore import GetRepository
from Ft.Server.Server import FtServerServerException, Error

#userContainer='/localhost/users'
import os, sha

def got_user(username, session, sessions):
    group = None
    #repo=GetRepository()
    #userCont=repo.fetchContainer(userContainer)
    #if username in map(lambda x: os.path.basename(x.uri),userCont[:]):
    #    repo.txRollback()
    return 331, "Password required for user %s"%username, username, group, 0, 1
    #repo.txRollback()
    #return 331, "User %s doesnt exist"%username, "", "", -1, 1

    # return "message", username, groupname, X, Y
    # X == 0: deny access
    # X == 1: grant access
    # X == -1: does not concern this module
    # Y == 1: continue with other modules
    # Y == 0: definitive answer

def got_pass(username, password, session, sessions):
    if not username:
        #return 503, "Login with USER first.", 0, 0
        return 530, "Username or password invalid", 0, 0

    try:
        repo = GetRepository(username,
                             sha.new(password).hexdigest(),
                             session.logFile,
                             session.properties)        
        repo.txRollback()                             
        return 230, "You may proceed, "+username, 1, 1
    except FtServerServerException, e:
        if e.errorCode == Error.INVALID_LOGIN:
            return 530, "Username or password invalid", 0, 0
        raise
    
        


:: 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.0036 ]--