!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/libexec/webmin/sshd/   drwxr-xr-x
Free 3.84 GB of 27.03 GB (14.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     useradmin_update.pl (1.32 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

do 'sshd-lib.pl';

# useradmin_create_user(&details)
# Setup SSH and GNUPG for new users
sub useradmin_create_user
{
if ($config{'sync_create'} && &has_command($config{'keygen_path'}) &&
    -d $_[0]->{'home'} && !-d "$_[0]->{'home'}/.ssh") {
    local $cmd;
    local $type = $config{'sync_type'} ? "-t $config{'sync_type'}" :
              $version{'type'} eq 'openssh' &&
               $version{'number'} >= 3.2 ? "-t rsa1" : "";
    if ($config{'sync_pass'} && $_[0]->{'passmode'} == 3) {
        $cmd = "$config{'keygen_path'} $type -P \"$_[0]->{'plainpass'}\"";
        }
    else {
        $cmd = "$config{'keygen_path'} $type -P \"\"";
        }
    &system_logged("echo '' | su $_[0]->{'user'} -c '$cmd' >/dev/null 2>&1");
    if ($config{'sync_auth'}) {
        my $akeys = "$_[0]->{'home'}/.ssh/authorized_keys";
        &lock_file($akeys);
        if (-r "$_[0]->{'home'}/.ssh/identity.pub") {
            &copy_source_dest("$_[0]->{'home'}/.ssh/identity.pub", $akeys);
            }
        elsif (-r "$_[0]->{'home'}/.ssh/id_rsa.pub") {
            &copy_source_dest("$_[0]->{'home'}/.ssh/id_rsa.pub", $akeys);
            }
        else {
            &copy_source_dest("$_[0]->{'home'}/.ssh/id_dsa.pub", $akeys);
            }
        &set_ownership_permissions($_[0]->{'uid'}, $_[0]->{'gid'}, undef, $akeys);
        &unlock_file($akeys);
        }
    }
}

# useradmin_delete_user(&details)
sub useradmin_delete_user
{
}

# useradmin_modify_user(&details)
sub useradmin_modify_user
{
}

1;


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