excute的作用
C/C++ code
这里excute怎么解释???
if ('\0'==*send_buf) { memset(cmd,0,sizeof(cmd)); strcpy(cmd,"/sbin/"); strcat(cmd,recv_buf); execute(cmd,send_buf);
这里excute怎么解释???
作者: yuncha299792458 发布时间: 2011-11-25
看代码的意思是,先用root执行shell命令,再将结果储存到send_buf中
作者: Esperantor 发布时间: 2011-11-26