• File: cpanelwrap.c
  • Full Path: /home/romi/public_html/cgi-bin-20260422142752/cpdownload/cpanelwrap.c
  • Date Modified: 12/11/2008 6:23 AM
  • File size: 528 bytes
  • MIME-type: text/x-c
  • Charset: utf-8
/* cpanel12 - cpanelwrap.c                  Copyright(c) 1997-2006 cPanel, Inc.
                                                           All Rights Reserved.
 copyright@cpanel.net                                         http://cpanel.net
 This code is subject to the cPanel license. Unauthorized copying is prohibited */

#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
int main(int argc, char *argv[]) {
	char *prog_argv[1];
	prog_argv[0] = NULL;
	setreuid(UID,UID);
	execv("./cpaneldownload.cgi",prog_argv);
}