摘要: 阅读全文
posted @ 2017-05-04 16:22 ForeverPine 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 一、粘包现象 让我们基于tcp先制作一个远程执行命令的程序(1:执行错误命令 2:执行ls 3:执行ifconfig) 注意注意: res=subprocess.Popen(cmd.decode('utf-8'),shell=True,stderr=subprocess.PIPE,stdout=su 阅读全文
posted @ 2017-05-04 16:10 ForeverPine 阅读(500) 评论(0) 推荐(0) 编辑
TOP