摘要: 开启msf root@sch01ar:~# msfconsole 设置模块 msf > use exploit/windows/fileformat/cve_2017_8464_lnk_rce 设置payload msf exploit(cve_2017_8464_lnk_rce) > set pa 阅读全文
posted @ 2017-11-05 16:09 Sch01aR# 阅读(354) 评论(0) 推荐(0)
摘要: 单继承 运行结果 Jack is talking #调用父类的talk方法Jack is studying #调用本身的study方法Jack is eating #重构父类中的eat方法后又调用了父类的eat方法Jack doesn't like eating #调用了本身重构父类eat方法后的e 阅读全文
posted @ 2017-11-04 20:16 Sch01aR# 阅读(263) 评论(0) 推荐(0)
摘要: 平台地址:http://ctf.nuptsast.com/ 签到题: 右键查看源代码,得到flag md5 collision: 传入的a的md5值要为0e开头的,但不能是QNKCDZO,百度一个0e开头的md5 得到flag 签到2: 右键查看源代码 输入框允许的最大长度为10,口令的长度为11 阅读全文
posted @ 2017-11-03 21:25 Sch01aR# 阅读(6730) 评论(0) 推荐(0)
摘要: fwrite() //对文件进行写入 fwrite(file,string,length)file:必选项,需要写入的文件string:必选项,规定要写入文件的字符串length:可选项,规定要写入的最大字节数 如果规定了最大的字节数,fwrite()函数将在写入了最大的字节数时停止,否则将一直写入 阅读全文
posted @ 2017-11-02 17:49 Sch01aR# 阅读(241) 评论(0) 推荐(0)
摘要: def __init__(self) 为构造函数,给实例化的类传参数,self为实例化的对象赋予的变量,相当于例子中的p1 运行结果 阅读全文
posted @ 2017-11-01 23:09 Sch01aR# 阅读(2680) 评论(0) 推荐(0)
摘要: 1.fread() //读取打开的文件 fread(file,length) file:必选项,规定要读取的打开的文件 length:必选项,规定要读取的最大字节数。 2.file_get_contents() //把一个文件内容读入到一个字符串中 3.fgets() //从打开的文件中返回一行 f 阅读全文
posted @ 2017-10-31 22:28 Sch01aR# 阅读(297) 评论(0) 推荐(0)
摘要: 文件的打开: fopen()函数 fopen(filename,mode,include_path,context) filename: 必选项,要打开的文件或url mode: 必选项,打开文件的模式 在打开文件时有三个选择: 1.打开一个文件为了只读、只写或者是读和写 2.如果要写一个文件,可以 阅读全文
posted @ 2017-10-30 23:55 Sch01aR# 阅读(528) 评论(0) 推荐(0)
摘要: 和html标签相关的字符串格式化 nl2br() //在字符串中每个新行"\n"之前插入html换行符"<br />" htmlspecialchars() //将html标记中的特殊字符转换为html实体 htmlspecialchars(string,flags,character-set,do 阅读全文
posted @ 2017-10-30 23:10 Sch01aR# 阅读(5327) 评论(0) 推荐(0)
摘要: 项目地址:https://github.com/AhMyth/AhMyth-Android-RAT 下载后打开 安装nodejs,nodejs在官网下载,下载完后解压,切到bin目录下 设置全局 还需下载一个包,地址:https://github.com/AhMyth/AhMyth-Android- 阅读全文
posted @ 2017-10-28 12:07 Sch01aR# 阅读(5966) 评论(2) 推荐(0)
摘要: 使用getpass模块对输入的字符进行隐藏输入 在cmd界面下运行 阅读全文
posted @ 2017-10-26 23:53 Sch01aR# 阅读(279) 评论(0) 推荐(0)