当前位置:网站首页>Ctfshow web entry explosion
Ctfshow web entry explosion
2022-07-05 14:58:00 【Cwxh0125】
web21
First, enter an account password casually
Grab the bag
The account name and password entered are base64 Encrypted , Decoding found that its form is ——admin: password , Next, construct payload
Using a custom iterator The first paragraph is admin The second paragraph is “:” The third paragraph is the password for downloading the title attachment Conduct base64 After encryption, it can be exploded
web22
web23
Open to see php Code , First analyze the code , You can know token By md5 encryption , And its first = Fourteenth = 17th ,( first place + Fourteenth + 17th )/ first place = 31st place
php Script
<?php
error_reporting(0);
$a="asdfghjklqwertyuiopzxcvbnm1234567890";
for($i=0;$i<36;$i++){
for($j=0;$j<36;$j++){
$token=$a[$i].$a[$j];
$token = md5($token);
if(substr($token, 1,1)===substr($token, 14,1) && substr($token, 14,1) ===substr($token, 17,1)){
if((intval(substr($token, 1,1))+intval(substr($token, 14,1))+substr($token, 17,1))/substr($token, 1,1)===intval(substr($token, 31,1))){
echo $a[$i].$a[$j];
exit(0);
}
}
}
}
?>
After running, get 3j The ginseng token=3j
web24
mt_scrand(seed) This function means , By distributing seed seeds , Then the seeds have , by mt_rand() Generate random Count
stay kali Run on Or by php Script
Run a pseudo-random number 1155388967 Pass on ?r=1155388967 Can get flag
web25
web26
Direct input I can't find out
Blow up the password
After blasting
边栏推荐
- Strong connection component
- 华为哈勃化身硬科技IPO收割机
- 机器学习笔记 - 灰狼优化
- 【华为机试真题详解】欢乐的周末
- Anaconda uses China University of science and technology source
- 【leetcode周赛总结】LeetCode第 81 场双周赛(6.25)
- R 熵权法计算权重及综合得分
- Photoshop plug-in action related concepts actionlist actiondescriptor actionlist action execution load call delete PS plug-in development
- 一键更改多个文件名字
- 亿咖通科技通过ISO27001与ISO21434安全管理体系认证
猜你喜欢
1330:【例8.3】最少步数
Run faster with go: use golang to serve machine learning
CODING DevSecOps 助力金融企业跑出数字加速度
leetcode:881. lifeboat
Pointer operation - C language
机器学习笔记 - 灰狼优化
Niuke: intercepting missiles
想进阿里必须啃透的12道MySQL面试题
Fr exercise topic --- comprehensive question
Interview shock 62: what are the precautions for group by?
随机推荐
be careful! Software supply chain security challenges continue to escalate
CPU design practice - Chapter 4 practical task 2 using blocking technology to solve conflicts caused by related problems
用 Go 跑的更快:使用 Golang 为机器学习服务
Crud de MySQL
Run faster with go: use golang to serve machine learning
Jmeter性能测试:ServerAgent资源监控
【招聘岗位】软件工程师(全栈)- 公共安全方向
How to solve the problem of garbled code when installing dependency through NPM or yarn
实现一个博客系统----使用模板引擎技术
Topology可视化绘图引擎
Drive brushless DC motor based on Ti drv10970
【jvm】运算指令
P6183 [USACO10MAR] The Rock Game S
[summary of leetcode weekly competition] the 81st fortnight competition of leetcode (6.25)
通过npm 或者 yarn安装依赖时 报错 出现乱码解决方式
Long list optimized virtual scrolling
[recruitment position] infrastructure software developer
Leetcode: Shortest Word Distance II
JS bright blind your eyes date selector
PostgreSQL 13 installation