当前位置:网站首页>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
边栏推荐
- Live broadcast preview | how to implement Devops with automatic tools (welfare at the end of the article)
- Two policemen were shot dead in a "safety accident" in Philadelphia, USA
- 超级哇塞的快排,你值得学会!
- FR练习题目---简单题
- 【C 题集】of Ⅷ
- Cartoon: programmers don't repair computers!
- qt creater断点调试程序详解
- 漫画:优秀的程序员具备哪些属性?
- 手写promise与async await
- I collect multiple Oracle tables at the same time. After collecting for a while, I will report that Oracle's OGA memory is exceeded. Have you encountered it?
猜你喜欢
PyTorch二分类时BCELoss,CrossEntropyLoss,Sigmoid等的选择和使用
Section - left closed right open
Ecotone technology has passed ISO27001 and iso21434 safety management system certification
leetcode:881. lifeboat
Crud of MySQL
Interview shock 62: what are the precautions for group by?
CPU design related notes
1330:【例8.3】最少步数
Crud de MySQL
Penetration testing methodology
随机推荐
CPU设计相关笔记
微帧科技荣获全球云计算大会“云鼎奖”!
我想咨询一下,mysql一个事务对于多张表的更新,怎么保证数据一致性的?
Talking about how dataset and dataloader call when loading data__ getitem__ () function
Is the securities account given by the head teacher of qiniu school safe? Can I open an account?
[detailed explanation of Huawei machine test] character statistics and rearrangement
【NVMe2.0b 14-9】NVMe SR-IOV
Mysql---- function
Brief introduction of machine learning framework
【jvm】运算指令
Topology可视化绘图引擎
Selection and use of bceloss, crossentropyloss, sigmoid, etc. in pytorch classification
Two Bi development, more than 3000 reports? How to do it?
MongDB学习笔记
Fr exercise topic - simple question
I collect multiple Oracle tables at the same time. After collecting for a while, I will report that Oracle's OGA memory is exceeded. Have you encountered it?
Behind the ultra clear image quality of NBA Live Broadcast: an in-depth interpretation of Alibaba cloud video cloud "narrowband HD 2.0" technology
How to choose the appropriate certificate brand when applying for code signing certificate?
面试突击62:group by 有哪些注意事项?
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署