分类: LINUX
2012-12-07 15:05:48
#include
#include
#include
#include
int main()
{
uid_t uid ,euid;
uid = getuid() ;
euid = geteuid();
if(setreuid(euid, uid))
perror("setreuid");
system("/space/web_sync/script/cgi_exec.sh $QUERY_STRING");
return 0;
}