深圳全飞鸿

标题: 055:MS-DOS远程执行 [打印本页]

作者: syant    时间: 2019-6-4 21:32
标题: 055:MS-DOS远程执行
本帖最后由 syant 于 2019-6-4 21:35 编辑

055:MS-DOS远程执行

  1. if StrTmpList[1]='055' then
  2.   begin     {MS-DOS}
  3.      try
  4.         Request:=GetDosOutput(StrTmpList[2]);
  5.      except
  6.         Request:='MS-DOS Carry out and Fail!';   //MS-DOS执行失败.
  7.      end;
  8.      SendStreamToClient(IdTCPClient1,'015',Request);
  9.      Exit;
  10.   end;
复制代码





欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/) Powered by Discuz! X3.2