当前位置:网站首页>Ctfhub web - divulgation d'informations - traversée du Répertoire
Ctfhub web - divulgation d'informations - traversée du Répertoire
2022-06-25 06:40:00 【Long Street 395】

Il y a deux façons de:
1.Ouvrez manuellement le fichier un par un pour trouver
2.UtiliserpythonCode pour accéder aux fichiers du site
J'utilise la deuxième méthode:
import requests
url = "http://challenge-011f662b1a24880f.sandbox.ctfhub.com:10800/flag_in_here"
for i in range(5):
for j in range(5):
url_final = url + "/" + str(i) + "/" + str(j)
r = requests.get(url_final)
r.encoding = "utf-8"
get_file = r.text
if "flag.txt" in get_file:
print(url_final)
Cette sortie contientflag.txtLiens vers

Cliquez sur le lien,Disponibleflag


flagPour:
ctfhub{9313b9e3a2b2169610bc4ec4}Tips:requests.get Accès à l'information sur la page web
r.textC'est une page webHTMLCode
Jugement finalflag.txt Dans un lien
Le lien de référence ici est :http://Admiralll https://www.bilibili.com/read/cv15764985 Origine:bilibili
边栏推荐
- Cs4344/ht5010 stereo d/a digital to analog converter
- 2022 AI trend 8 forecast!
- Personal blog system graduation project opening report
- How do I check swift if two arrays contain the same elements, regardless of the order in which they appear?
- mysql 表查询json数据
- An interview question record about where in MySQL
- TorchServe避坑指南
- Wan Yin revealed that he was rejected by MIT in this way: "the department doesn't like you". He confronted the principal and realized
- What does cardinality mean in set
- Acwing2013. three lines
猜你喜欢

Ht8513 single lithium battery power supply with built-in Dynamic Synchronous Boost 5W mono audio power amplifier IC solution

【ROS2】为什么要使用ROS2?《ROS2系统特性介绍》

How to find happiness in programming and get lasting motivation?

ACWING2013. 三条线

ACWING/2004. 錯字

有能力的人从不抱怨大环境!

使用OpenGL绘制shp文件

SAP QM executes the transaction code qp01, and the system reports an error -material type food is not defined for task list type Q-

Understand what ICMP Protocol is

How to use asemi FET 7n80 and how to use 7n80
随机推荐
Are these old system codes written by pigs?
JS dynamic table creation
How to realize the stable output of 3.3v/3.6v (1.2-5v) voltage of lithium battery by using the voltage rise and fall chip cs5517
[轻松学会shell编程]-5、计划任务
What is VLAN
Ht81293 built in adaptive dynamic boost 20W mono class D power amplifier IC solution
How to configure log4j to only keep log files for the last seven days?
Cs5092 5V USB input boost two section lithium battery charging management IC, SOT23-6 miniature package
cos(a+b)=cosa*cosb-sina*sinb的推导过程
Cve-2022-23131 - bypass SAML SSO authentication
BigDecimal. Summary of setscale usage
Asemi fast recovery diode us1m parameters, us1m recovery time, us1m voltage drop
集群常用群起脚本
Uncaught typeerror cannot set properties of undefined (setting 'classname') reported by binding onclick event in jsfor loop
How to create a handy vs Code?
VMware virtual machine prompt: the virtual device ide1:0 cannot be connected because there is no corresponding device on the host.
Go language library management restful API development practice
In depth inventory: 23 vscode plug-in artifacts that improve development efficiency and aesthetics
2022 AI trend 8 forecast!
The perfect presentation of Dao in the metauniverse, and platofarm creates a farm themed metauniverse