当前位置:网站首页>【HackTheBox】dancing(SMB)
【HackTheBox】dancing(SMB)
2022-06-29 04:16:00 【Happy star】
Let's talk about stepping on the pit openvpn file name .ovpn
Open with this command vpn
The result is 
Cannot be opened , Straight out 
Or it's a dead cycle , Keep waiting
It took about an hour , Keep trying
Last , yes tcp Switch to udp, It's solved 
1、SMB What does that mean? ?
Server Message Block – SMB, Is a file sharing protocol . When the original document is in your A On the computer , And you want to use your mobile phone under the LAN 、iPad Or another computer to access A This file on your computer , You may need to use SMB share .
Server Message Block
2、SMB What port to use for operation ?

TCP port 139 yes NETBIOS Upper SMB. NETBIOS Is a transport layer protocol , It aims to use the Internet to Windows Used in the operating system .
TCP 445 Is based on IP Of SMB. This is a newer version , Can be in IP Normal use on the network SMB.
445
3、 stay Nmap Ports that appear in the scan 445 What is the name of your service ?
microsoft-ds
4、SMB Tools can be used “ List ” Shared content “ sign ” or “ switch ” What is it? ?
stay linux in , You can use the command line tool smbclient Connect ,smbclient Will try to connect to the remote host , And check if any authentication is required
Use -L The command displays the resources shared by the server -L
smbclient -L 10.129.193.22

This one is really stupid , I tried for a long time , Maybe the target host is not very stable smbclient -L=10.129.193.22 I tried this
The other three are shared by default , You can use your own physical machine to input commands net share You know the
All we care about WorkShares This
5、 If the password is empty , What is the name of the share we can eventually access ?
because s ending , I just tried the one above sharenameWorkShares
So we get ,WorkShares You don't need a password
Connect the shared file smbclient \\\\10.129.193.22\\WorkShares
In the same way, it can be connected to other smbclient \\\\10.129.193.22\\C$

Finally connected 
worknotes.txt It's not ours flag
Look at another directory , There are flag.txt
Direct use more You can see flag 了 
6、 We can do it in SMB shell What commands are used in to download the files we find ?
get
边栏推荐
- Sword finger offer II 040 Largest rectangle in matrix
- PostgreSQL has a cross database references are not implemented bug
- Tech Cloud Report: Mixed Office B side: How Safety and Efficiency can be combined?
- 选对学校,专科也能进华为~早知道就好了
- 访问数据库时出现错误
- 我的创作纪念日
- 1017 A除以B分
- 增额终身寿险下架了吗?现在还有哪些增额终身寿险产品?
- Logstash starts too slowly or even gets stuck
- SEAttention 通道注意力机制
猜你喜欢

Implementation of b+ tree index based on xlsx

不使用union实现Mysql 列转行

赚钱的5个层次,你在哪一层?

Remediation for Unsafe Cryptographic Encryption

多机局域网办公神器 rustdesk 使用强推!!!
![[Brillouin phenomenon] Study on simultaneous measurement system of Brillouin temperature and strain distribution in optical fiber](/img/92/57792ef733964230d36e0b9bb218b4.png)
[Brillouin phenomenon] Study on simultaneous measurement system of Brillouin temperature and strain distribution in optical fiber

SqlServer如何查询除去整列字段为null的结果

【布里渊现象】光纤布里渊温度和应变分布同时测量系统研究

MySQL review materials (additional) case when

How to keep database and cache consistent
随机推荐
Remote connection of raspberry pie in VNC Viewer Mode
Hot renewal process
【FPGA数学公式】使用FPGA实现常用数学公式
Zhai Jia: from technical engineer to open source entrepreneur of "net red"
The virtual machine MySQL cannot be connected to the local computer
Libuv库概述及libevent、libev、libuv对比(转载)
Cloud native weekly | grafana 9 was officially released; The Chinese version of cloud native vocabulary is now online
Logstash starts too slowly or even gets stuck
[wc2021] Fibonacci - number theory, Fibonacci sequence
Does cdc2.2.1 not support postgresql14.1? Based on the pgbouncer connection mode, with 5433
【C语言】详解线程回收函数 pthread_join
【C语言】开启一个线程
科班出身,结果外包都不要
SQL 数据记录如何上下行合并
Seattention channel attention mechanism
Wi-Fi 7 来啦,它到底有多强?
sql两列变为多行过滤显示
自己动手搭建一个简单的网站
044. (2.13) add value to yourself
How to merge upstream and downstream SQL data records