摘要: 1.匹配以数字开头,并以 abc 结尾的字符串。: var str = "123abc"; var patt1 = /^[0-9]+abc$/; document.write(str.match(patt1)); 以下标记的文本是获得的匹配的表达式: 123abc 知识点: ^ 为匹配输入字符串的开 阅读全文
posted @ 2021-01-13 18:17 包子TT 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 靶场环境:https://www.ctfhub.com/#/challenge 上面搜索hate 打开网页: <?php error_reporting(0); if(!isset($_GET['code'])){ highlight_file(__FILE__); }else{ $code = $ 阅读全文
posted @ 2021-01-13 16:12 包子TT 阅读(1464) 评论(0) 推荐(0) 编辑
摘要: 1.弱类型比较 参考 https://www.cnblogs.com/Mrsm1th/p/6745532.html php中有两种比较的符号 == 与 1 <?php 2 $a = $b ; 3 $a $b ; 4 ?> 在进行比较的时候,会先判断两种字符串的类型是否相等,再比较 == 在进行比较的 阅读全文
posted @ 2021-01-13 15:26 包子TT 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 下载地址: https://hfish.io/index.html 也可以在github上下载: https://github.com/hacklcx/HFish 使用文档: https://hfish.io/docs/#/ 我这里下载的是windows版本的,直接cmd命令,HFish.exe r 阅读全文
posted @ 2021-01-13 14:14 包子TT 阅读(1666) 评论(0) 推荐(0) 编辑
摘要: from time import sleep import requests url="http://192.168.8.197:8084/shop?page=" for i in range(1,500): r=requests.get(url+str(i)) sleep(0.1) if 'lv6 阅读全文
posted @ 2021-01-13 09:44 包子TT 阅读(254) 评论(0) 推荐(0) 编辑