摘要: Pass-01 前端js绕过 拿到题目看hint提示判定在前端,用burp代理,将1.php后缀名更改为.png格式即可通过前端检测,而后在burp中对修改包内容,将1.png改为1.php即可绕过前端js检测 Pass-02 MIME验证 上传php后显示不成功,但是上传图片显示正常,即使用bur 阅读全文
posted @ 2020-11-04 22:56 Do1phln 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Lets Warm Up If I told you a word started with 0x70 in hexadecimal, what would it start with in ASCII? 这应该就是签到题了吧?爱了爱了,十六进制转十进制再打表(突然ACM)转ASCII,得到‘p’, 阅读全文
posted @ 2020-11-04 22:55 Do1phln 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 思路 队列的原理基本与站队一样,队首出,队尾入,变化以后也是大同小异,写起来主要就是注意struct的相关知识,以及伪指针(分别指向队首和队尾+1),队尾序号要+1以防首位变量数字重合造成不必要的麻烦(目前也不是很清楚会遇到什么) 代码 #include<iostream> using namesp 阅读全文
posted @ 2020-11-04 22:52 Do1phln 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 思路 快排基本思路应该就是二分+递归,从两侧同时(实则先从右往左)往中间找,同时和参变量对比,发现位置颠倒后交换位置,然后通过二分将其一块一块的分割开,直到分割到一个元素位置,即完成了快排。 代码 #include<bits/stdc++.h> using namespace std; int a[ 阅读全文
posted @ 2020-11-04 22:51 Do1phln 阅读(220) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; int book[101],sum,n,e[101][101]; void dfs(int cur) { cout<<cur<<" "; sum++; if(sum==n) return; for(int i=1;i<= 阅读全文
posted @ 2020-11-04 22:49 Do1phln 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 刷pico遇到一个凯撒密码加密题,顺手写了个解密工具,但是暂时没有解决到边界字母的升降档问题 #include<iostream> using namespace std; int main(){ char s[100]; int n,k,s2[100]; cin>>n>>k; for(int i= 阅读全文
posted @ 2020-11-04 22:46 Do1phln 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 题目:shark on wire 1 Description We found this packet capture. Recover the flag. 思路 这里懂得了winshark的一些基本用法(感谢wbl学长),例如常见的CTF的杂项的流量包分析,主要内容集中在TCP中进行TCP追踪流( 阅读全文
posted @ 2020-11-04 22:44 Do1phln 阅读(168) 评论(0) 推荐(0) 编辑