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

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/fs/hpfs/   drwxr-xr-x
Free 318.37 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     dentry.c (1.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *  linux/fs/hpfs/dentry.c
 *
 *  Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999
 *
 *  dcache operations
 */

#include "hpfs_fn.h"

/*
 * Note: the dentry argument is the parent dentry.
 */

int hpfs_hash_dentry(struct dentry *dentry, struct qstr *qstr)
{
    unsigned long     hash;
    int         i;
    unsigned l = qstr->len;

    if (l == 1) if (qstr->name[0]=='.') goto x;
    if (l == 2) if (qstr->name[0]=='.' || qstr->name[1]=='.') goto x;
    hpfs_adjust_length((char *)qstr->name, &l);
    /*if (hpfs_chk_name((char *)qstr->name,&l))*/
        /*return -ENAMETOOLONG;*/
        /*return -ENOENT;*/
    x:

    hash = init_name_hash();
    for (i = 0; i < l; i++)
        hash = partial_name_hash(hpfs_upcase(dentry->d_sb->s_hpfs_cp_table,qstr->name[i]), hash);
    qstr->hash = end_name_hash(hash);

    return 0;
}

int hpfs_compare_dentry(struct dentry *dentry, struct qstr *a, struct qstr *b)
{
    unsigned al=a->len;
    unsigned bl=b->len;
    hpfs_adjust_length((char *)a->name, &al);
    /*hpfs_adjust_length((char *)b->name, &bl);*/
    /* 'a' is the qstr of an already existing dentry, so the name
     * must be valid. 'b' must be validated first.
     */

    if (hpfs_chk_name((char *)b->name, &bl)) return 1;
    if (hpfs_compare_names(dentry->d_sb, (char *)a->name, al, (char *)b->name, bl, 0)) return 1;
    return 0;
}

struct dentry_operations hpfs_dentry_operations = {
    d_hash:        hpfs_hash_dentry,
    d_compare:    hpfs_compare_dentry,
};

void hpfs_set_dentry_operations(struct dentry *dentry)
{
    dentry->d_op = &hpfs_dentry_operations;
}

:: 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 #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0256 ]--