当前位置:网站首页>Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (III)
Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (III)
2022-07-19 06:39:00 【Dish @ just one word】
Preface
I had the pleasure of attending 2022 The competition of the enterprise group of the second network security skills competition in Shanxi Province , This is the first time to participate ctf match , In order to accumulate practical experience , Even rank 14, It's a little unexpected .
Tips : The following is the main body of this article .
One 、 subject
subject :
Flow analysis questions , I didn't remember the specific title .
The attachment :
Plaintext-TS Attachments to .pcapng
Two 、 The problem solving steps
1. Their thinking
First, I have a general look ,FTP Most packets , see TCP flow , When viewing stream by stream , It is found that there are two successful login , Once for anonymous users , One time for root user , among root Users are constantly tested for passwords .
root After the user logs in , There is data transmission behavior , And that includes flag Content .
2. The problem solving process
Keep probing root User password :
220 (vsFTPd 2.3.4)
USER root
331 Please specify the password.
PASS 12345678
530 Login incorrect.
USER root
331 Please specify the password.
PASS hint:
530 Login incorrect.
USER root
331 Please specify the password.
PASS thomas
530 Login incorrect.
USER root
Login success information :
TCP 18 flow :
220 (vsFTPd 2.3.4)
USER anonymous
331 Please specify the password.
PASS [email protected]
230 Login successful.
PASV
227 Entering Passive Mode (192,168,80,145,241,8).
LIST
150 Here comes the directory listing.
226 Directory send OK.
QUIT
TCP 41 flow :
220 (vsFTPd 2.3.4)
OPTS UTF8 ON
200 Always in UTF8 mode.
USER root
331 Please specify the password.
PASS @_Fa1se
230 Login successful.
PORT 192,168,80,1,118,103
200 PORT command successful. Consider using PASV.
NLST
150 Here comes the directory listing.
226 Directory send OK.
PORT 192,168,80,1,118,104
200 PORT command successful. Consider using PASV.
RETR flag.zip
150 Opening BINARY mode data connection for flag.zip (192 bytes).
226 Transfer complete.
PORT 192,168,80,1,118,105
200 PORT command successful. Consider using PASV.
RETR pass.txt
150 Opening BINARY mode data connection for pass.txt (774 bytes).
226 Transfer complete.
QUIT
221 Goodbye.
You can see , Two files were transferred ,flag.zip and pass.txt.
TCP 43 Flow to flag.zip data , Save it locally as original data , Prompt for password when opening .
TCP 44 Flow to pass.txt Content , Is shown as :
446966666572656E74204D6F727365EFBC9A5C2D2E2E2E2D2E2E2D2D2D2D2E2E2E2D2D5C2E2D2E2D2E2E2D2D2D2E2E2E2D2E2D2D5C2E2D2E2D2D2E2D2D2D2D2E2E2E2D2D2E5C2E2D2D2D2D2E2E2E2E2E2E2E2E2E2E2D5C2E2D2E2D2D2D2D2E2E2D2D2D2E2D2D2E5C2E2D2E2E2D2D2D2E2E2E2E2E2D2D2E2D5C2E2D2E2D2E2D2D2D2E2E2D2E2D2E2E2E5C2D2E2E2E2D2D2D2D2D2D2E2D2D2E2E2D5C2D2E2E2D2E2E2E2D2D2D2E2E2D2D2E2E5C2D2D2D2D2D2D2D2D2E2E2E2E2D2D2E2E5C2E2D2E2E2D2D2D2E2E2E2E2E2D2D2E2D5C2E2D2E2D2D2E2E2D2D2E2E2E2E2E2D2E5C2D2E2E2E2D2E2D2D2D2D2E2D2E2D2E2D5C2D2E2E2E2D2E2D2D2D2D2E2D2E2D2E2D5C2E2E2D2E5C2D5C2E2D2D2E5C2E2D2D2E2E2D2D2D2E2E2E2E2D2D2E2D5C2E2D2E2D2E2E2D2E2D2E2D2E2E2E2E2D5C2E2D2E2D2E2D2D2E2E2D2D2E2D2E2E2E5C2E2D2D2D2E2D2D2E2D2E2E2E2E2D2E2E5C2E2D2E2D2D2E2D2D2D2D2E2E2E2D2D2E5C2E2D2D2D2D2E2E2E2E2E2E2E2E2E2E2D5C2D2D2D2D2D2D2D2D2E2E2E2D2D2D2D2D
Put it HEX Decode and get :
Different Morse:\-...-..----...--\.-.-..---...-.--\.-.--.----...--.\.----..........-\.-.----..---.--.\.-..---.....--.-\.-.-.---..-.-...\-...------.--..-\-..-...---..--..\--------....--..\.-..---.....--.-\.-.--..--.....-.\-...-.----.-.-.-\-...-.----.-.-.-\..-.\-\.--.\.--..---....--.-\.-.-..-.-.-....-\.-.-.--..--.-...\.---.--.-....-..\.-.--.----...--.\.----..........-\--------...-----
Morse decode :
The decompression password is not here , Why don't you try FTP The password of the server ?
According to the prompt , The password for [email protected] or @_Fa1se
After testing , The password for @_Fa1se.
Unpack and get flag
flag{5658b3cc5f625339f207b7547ba5e6c3}3、 ... and 、 summary
The game has been solved , But some links were skipped , Password is required in the compressed package , First of all, I thought of the first two FTP password , Use it directly @_Fa1se Unpack and get flag.
Writing WP when , Seriously pass.txt Content , Only then did I know that there was HEX and Morse Decoding steps .
边栏推荐
- [force buckle] realize queue with stack
- 实验一 简单程序设计
- 工作中遇到的一些问题
- 机器学习篇-逻辑回归的分类预测
- Creation and implementation of WebService interface
- Key points of embedded C language (const, static, volatile, bit operation)
- Cygwin 配合 Listary 切换当前目录快速打开
- Restclient multi conditional aggregation
- 自下而上和自上而下的注意力:不同的过程和重叠的神经系统 2014sci
- Positional Change of the Eyeball During Eye Movements: Evidence of Translatory Movement眼球运动过程中眼球的位
猜你喜欢

Depth first search (DFS for short)

Solution: unable to load file c:\program files\ Because running scripts is forbidden on this system

Design and implementation of a gesture control system for tablet computer based on gaze

日常的眼睛接触检测使用无监督的注视目标发现

2022/07/12 learning notes (day05) cycle

数据库的查询(二)

Learning video saliency from human gaze using candidate selection

Perception de l’état d’attention des utilisateurs sur les smartphones
![[Li Kou] a subtree of another tree](/img/96/1aaf8b8ff310677aeaabe4859eec46.png)
[Li Kou] a subtree of another tree
![[force buckle] design cycle queue](/img/77/f1da62b302eaf16a271512527b096f.png)
[force buckle] design cycle queue
随机推荐
吴恩达机器学习第6-7章
LeetCode字符串
Get the current month, day, hour, minute, second and week, and update them in real time
From entering URL to displaying page
Daily eye contact detection uses unsupervised gaze target detection
Busybox specified date modification temporarily does not require clock -w to write to hardware
EOG-based eye movement detection and gaze estimation for an asynchronous virtual keyboard基于EOG的异步虚
Using VOR depth estimation to solve the problem of target ambiguity in three-dimensional gaze interaction
CUDA与大数组的双调排序
Experiment 3 inheritance and derived classes
实验四 运算符重载和虚函数
数据库的查询(二)
Depth first search (DFS for short)
感知智能手機上用戶的關注狀態
吴恩达机器学习第14-15章
Restclient multi conditional aggregation
2022/07/12 learning notes (day05) cycle
In Chapter 5, can we directly call the run () method to start a new thread
Manjaro 系统日常使用入门导引
基于视觉显著性的外观注视估计