随笔分类 - ctf
摘要:nmap -sP 192.168.8.0/24 //存活主机nmap -sS -sV -T5 -A -p- 192.168.8.177 //端口探测vim /etc/hosts //添加本地hosts 才能访问dirb http://192.168.8.177 //目录扫描wpscan -url '
阅读全文
摘要:参考文档: https://blog.csdn.net/qq_34801745/article/details/103753259 1.收集信息 namp -sP 192.168.8.0/24 namp -sS -sV -T5 -A -p- 192.168.8.150 dirb http://192
阅读全文
摘要:VulnHub-GoldenEye-1 靶场渗透测试笔记 参考地址:https://www.freebuf.com/articles/web/260592.html靶场信息:地址:https://www.vulnhub.com/entry/goldeneye-1,240/发布日期:2018年5月4日
阅读全文
摘要:快捷使用: file:// http://127.0.0.1/cmd.php?file=file://D:/soft/phpStudy/WWW/phpcode.txtphp://filter http://127.0.0.1/cmd.php?file=php://filter/read=conver
阅读全文
摘要:ctf地址:https://ctf.bugku.com/challenges/ web8题目: <?php include "flag.php"; $a = @$_REQUEST['hello']; eval( "var_dump($a);"); show_source(__FILE__); ?>
阅读全文
摘要:1.匹配以数字开头,并以 abc 结尾的字符串。: var str = "123abc"; var patt1 = /^[0-9]+abc$/; document.write(str.match(patt1)); 以下标记的文本是获得的匹配的表达式: 123abc 知识点: ^ 为匹配输入字符串的开
阅读全文
摘要:堆叠注入原理: 在SQL中,分号(;)是用来表示一条sql语句的结束。试想一下我们在 ; 结束一个sql语句后继续构造下一条语句,会不会一起执行?因此这个想法也就造就了堆叠注入。而union injection(联合注入)也是将两条语句合并在一起,两者之间有什么区别么?区别就在于union 或者un
阅读全文
摘要:文件包含漏洞 参考:https://www.cnblogs.com/endust/p/11804767.html //php伪协议 1 <?php 2 show_source(__FILE__); 3 echo $_GET['hello']; 4 $page=$_GET['page']; 5 whi
阅读全文
摘要:ThinkPHP 命令执行漏洞5.x < 5.1.31, <= 5.0.23 参考:https://www.cnblogs.com/backlion/p/10106676.html 这是一个远程代码执行漏洞,先学习vulhub复现这个漏洞的过程: 输入:http://your-ip:8080/ind
阅读全文
摘要:源码: 1 <?php 2 class Demo { 3 private $file = 'index.php'; 4 public function __construct($file) { 5 $this->file = $file; 6 } 7 function __destruct() {
阅读全文

浙公网安备 33010602011771号