当前位置:网站首页>Ctfhub information disclosure
Ctfhub information disclosure
2022-07-21 18:39:00 【Qihai】
Directory traversal
There are two levels of directories , And the names under the directory are consistent , Easy to mislead , Traverse according to the way of viewing layer by layer Every time you start the environment ,flag The location of the file will change , Just look for it according to the idea of directory traversal
PHPINFO
Backup file download
Website source code
According to the prompt , Download the website source code zip
I found a file named flag Number
Check the text directly without flag, Go visit and try
< Add >
Common website source code backup file suffix :
- tar
- tar.gz
- zip
- rar
Common website source code backup file name - web
- website
- backup
- back
- www
- wwwroot
- temp
According to the tip , You can write test scripts , This is what I found on the Internet For reference only
import requests
url = "http://challenge-c3c711c8d7b491a2.sandbox.ctfhub.com:10800/"
back1 = ['web','website','backup','back','www','wwwroot','temp']
back2 = ['tar','tar.gz','zip','rar']
for i in back1:
for j in back2:
url_new = url + i + '.' + j
r = requests.get(url_new)
if (r.status_code == 200):
print (url_new)
bak file
index.php Not in echo flag
download index.php.bak
< Add >
have access to dirsearch Scan catalog files
install :
git clone https://github.com/maurosoria/dirsearch.git
Scan internal files :
python3 dirsearch.py -u 'url' -e*
/**kali Bring it with you python3 So there is no need to install **/
When using this scanning tool , Want administrator rights , Otherwise, it will report a mistake
VIM cache
Scan directly
Access the directory , download
Binary file open find flag
.DS_Store
windows no way , There is no valid information in the downloaded file
Switch to linux( You can also drag the file directly to linux Check it out )
Open after download
visit
< Add >
.DS_Store yes Mac OS A hidden file that saves the custom properties of a folder . adopt .DS_Store You can know the list of all the files in this directory .
SVN Let the cat out of the
Reference resources :https://blog.csdn.net/tempulcc/article/details/108959901
Reference resources :https://www.freesion.com/article/98721217183/
- Configure the tool environment
git clone https://github.com/kost/dvcs-ripper
sudo apt-get install perl libio-socket-ssl-perl libdbd-sqlite3-perl libclass-dbi-perl libio-all-lwp-perl
2. recovery .svn
./rip-svn.pl -v -u http://challenge-a111d17ddfd2f7cb.sandbox.ctfhub.com:10800/.svn/
perhaps
perl rip-svn.pl -v -u http://challenge-a111d17ddfd2f7cb.sandbox.ctfhub.com:10800/.svn/
Tip the lack of SQLite
Install the module
[ Execution requires root jurisdiction ]
perl -MCPAN -e shell
install DBD::SQLite
exit
Installation completed , To restore .svn
- Get into .svn Directory search flag
flag The location of existence may be different , Just look for it in turn
HG Let the cat out of the
Also use dvcs-ripper Tools
./rip-hg.pl -v -u http://challenge-a111d17ddfd2f7cb.sandbox.ctfhub.com:10800/.hg/
Git Let the cat out of the
This is a little more , I proposed to record it separately
边栏推荐
- Getting started with ctfshow web (included in the file)
- Demystifying Closures, Futures and async-await in Rust–Part 3: Async & Await
- Three ways of understanding spatial transformation matrix
- golang拾遗:自定义类型和方法集
- Tio2-fe3o4/mil-101 (CR) magnetic composite photocatalytic material | nano drug carriers with core-shell structure (siRNA pcnps)
- ctfshow web入门(SSRF)
- Using community structure to visualize complex networks
- C language to find the greatest common divisor and the least common multiple of two numbers
- 【翻译】开发人员的技术写作
- What impact will Microsoft's closure of basic authentication have on enterprises and employees?
猜你喜欢
CTFHub-信息泄露
Okaleido tiger NFT即将登录Binance NFT平台,NFT权益时代即将开启
Experimental requirements of cy5-pna cyanine dye Cy5 labeling PNA
JNDI注入之略微学学
Event object learning
Clwy permission management (V) -- user login
5-carboxyl tetramethyl rhodamine labeled peptide nucleic acid PNA | TMR ahx- (Tamra ahx-) -pna | fluorescein labeled peptide nucleic acid mechanism
[email protected]|甲基丙烯酸磺基甜菜碱(pSBMA)接枝改性UiO-66-PEI|活性氧化铝负载FeMOF绿色复合粒料"/>
齐岳mof|CdS [email protected]|甲基丙烯酸磺基甜菜碱(pSBMA)接枝改性UiO-66-PEI|活性氧化铝负载FeMOF绿色复合粒料
SkiaSharp 之 WPF 自绘弹跳球(案例版)
乙二胺改性金属有机骨架材料MIL-101(Cr)|功能MOFs/聚合物复合材料|ZIF-8/丙烯酸十四-十六酯共聚物(ZIF-8/P(TDA--HDA)
随机推荐
PHP-CGI远程代码执行漏洞(CVE-2012-1823)
ctfshow web入门 命令执行
Application of carboxymethyl fluorescein 6-fam modified PNA peptide nucleic acid 6-fam-pna|cy3-pna fluorescent dye Cy3 coupling PNA peptide nucleic acid
Clwy permission management (VI) -- permission implementation
excel通过sumproduct和countifs不重复计数(数据中包含空白单元)
VS2017监视窗口
无码时代,企业数字化转型该如何发展?
【IoT毕设.3】STM32单片机+机智云AIoT+猪舍监测与系统硬件设计
JNDI注入之略微学学
国内疫情反反复复,线下实体店的如何转型才能突破困境?
dataframe 绘制相关系数拟合线 散点图拟合线
C语言求两数最大公约数和最小公倍数
JSON定义的语法 [JSON]
JSON值的获取以及遍历 [JSON]
Query the records of a time period in Oracle database. If there is no record of a certain day, fill it with the record of the latest day. How should this SQL be written?
SOHO @ L2TP/IPsec Issue
Mysql字符集和排序规则
JSON概述
金属有机框架MIL-100(Cr)和MIL-101(Cr)负载磷钨酸|锆基金属有机骨架[email protected]多孔陶瓷复合材料(齐岳mof材料)
Notpad replacement