11 2020 档案

摘要:在Python安装路径下执行pybot.bat --version,提示 查看Python正常。 解决方法: 1,在C:\Python27\Scripts下查找pybot.bat,未查到该文件。 2,自己创建该文件,用notepad,保存成bat格式,内容为 @Echo off python -m 阅读全文
posted @ 2020-11-30 15:37 NEWdun 阅读(374) 评论(0) 推荐(0)
摘要:当终端关闭时,会话失效,程序就会推出,而nohup + &可以在关闭终端或是在退出账号时,进程仍然保持运行状态。 1,nohup command & 程序启动日志会写进当前目录的nohup.out文件中。如果当前的nohup.out不可写,则写进$HOME/nohup.out 文件中。 当终端关闭时 阅读全文
posted @ 2020-11-12 23:50 NEWdun 阅读(284) 评论(0) 推荐(0)
摘要:安装robotframework。安装过程中所需要下载的包基本上在pypi.org上可以找到。 1,安装wxPython-4.0.0b2-cp27-cp27m-win_amd64.whl wxPython官网:https://extras.wxpython.org/wxPython4/extras/ 阅读全文
posted @ 2020-11-10 00:14 NEWdun 阅读(99) 评论(0) 推荐(0)
摘要:1,shuffle:将列表中的元素随机排序 random.shuffle(list) 参数是列表类型。 2,choice:随机返回参数的某一项,参数可以是列表,元组或字符串等。 random.choice(arg) 3,sample:随机返回一个列表的一个片段。 random.sample(list 阅读全文
posted @ 2020-11-09 23:33 NEWdun 阅读(160) 评论(0) 推荐(0)
摘要:安装Jenkins。 1,下载Jenkins.war。放在tomcat的webapps路径下。 2,双击shutdown.bat 关闭tomcat。 3,双击startup.bat,再启动tomcat。 4,浏览器输入http://localhost:8080/jenkins/。即可打开Jenkin 阅读全文
posted @ 2020-11-05 23:38 NEWdun 阅读(103) 评论(0) 推荐(0)
摘要:PC机安装的是win7系统,Python2.7版本。win10系统基本类似操作。 1,安装tomcat。 tomcat安装较为简单,直接从官网下载版本包即可,我下的是apache-tomcat-9.0.39-windows-x64。直接解压。 在解压路径下有startup和shutdown,2个ba 阅读全文
posted @ 2020-11-05 22:35 NEWdun 阅读(158) 评论(0) 推荐(0)
摘要:1,从提示上可以看出是post方法提交变量shell。 2,burpsuite抓包,发送至repeater。修改为post方法,消息头中添加Content-Type: application/x-www-form-urlencoded。 消息体中写shell=system('find / -name 阅读全文
posted @ 2020-11-03 23:32 NEWdun 阅读(1056) 评论(0) 推荐(0)
摘要:1,xff,全写是X-Forwarded-For,简称xff头,代表http客户端的真实IP。 Referer,表示页面的来源。 2,burpsuite抓取页面,发送至repeater,在消息头中添加x-forwarded-for:123.123.123.123 response中提示.innerH 阅读全文
posted @ 2020-11-03 22:59 NEWdun 阅读(782) 评论(0) 推荐(0)
摘要:1,lsmod命令用于显示加载到系统内核中的模块信息。 通常使用方法 lsmod | grep -i ext3 查询当前系统是否加载了ext3模块。用法类似。 2,lsof命令用于查看某个进程打开的文件,打开文件的进程,进程打开的端口(TCP,UDP),找回/恢复删除的文件。 引文lsof命令需要访 阅读全文
posted @ 2020-11-01 23:01 NEWdun 阅读(294) 评论(0) 推荐(0)