当前位置:网站首页>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
边栏推荐
- [detailed explanation of Huawei machine test] character statistics and rearrangement
- 漫画:程序员不是修电脑的!
- Under the crisis of enterprise development, is digital transformation the future savior of enterprises
- CPU design practice - Chapter 4 practice task 3 use pre delivery technology to solve conflicts caused by related issues
- Pointer operation - C language
- Implement a blog system -- using template engine technology
- 美团优选管理层变动:老将刘薇调岗,前阿里高管加盟
- 【招聘岗位】基础设施软件开发人员
- 基于TI DRV10970驱动直流无刷电机
- 浅谈Dataset和Dataloader在加载数据时如何调用到__getitem__()函数
猜你喜欢
你童年的快乐,都是被它承包了
两个BI开发,3000多张报表?如何做的到?
计算中间件 Apache Linkis参数解读
Mongdb learning notes
亿咖通科技通过ISO27001与ISO21434安全管理体系认证
【NVMe2.0b 14-9】NVMe SR-IOV
How can I quickly check whether there is an error after FreeSurfer runs Recon all—— Core command tail redirection
选择排序和冒泡排序
想进阿里必须啃透的12道MySQL面试题
Photoshop plug-in action related concepts actionlist actiondescriptor actionlist action execution load call delete PS plug-in development
随机推荐
面试突击62:group by 有哪些注意事项?
Cartoon: what are the attributes of a good programmer?
【NVMe2.0b 14-9】NVMe SR-IOV
CODING DevSecOps 助力金融企业跑出数字加速度
MySQL之CRUD
Pointer operation - C language
【数组和进阶指针经典笔试题12道】这些题,满足你对数组和指针的所有幻想,come on !
Anaconda uses China University of science and technology source
机器学习笔记 - 灰狼优化
FR练习题目---简单题
Does maxcompute have SQL that can query the current storage capacity (KB) of the table?
Crud de MySQL
Fr exercise topic --- comprehensive question
Coding devsecops helps financial enterprises run out of digital acceleration
两个BI开发,3000多张报表?如何做的到?
MySQL之CRUD
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
【C 题集】of Ⅷ
想进阿里必须啃透的12道MySQL面试题
JMeter performance test: serveragent resource monitoring