wmiexec.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:PiBunny 作者: tholum 项目源码 文件源码
def do_cd(self, s):
        self.execute_remote('cd ' + s)
        if len(self.__outputBuffer.strip('\r\n')) > 0:
            print self.__outputBuffer.decode(CODEC)
            self.__outputBuffer = ''
        else:
            self.__pwd = ntpath.normpath(ntpath.join(self.__pwd, s.decode(sys.stdin.encoding)))
            self.execute_remote('cd ')
            self.__pwd = self.__outputBuffer.strip('\r\n').decode(CODEC)
            self.prompt = unicode(self.__pwd + '>').encode(sys.stdout.encoding)
            self.__outputBuffer = ''
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号