当前位置:网站首页>【HackTheBox】dancing(SMB)
【HackTheBox】dancing(SMB)
2022-06-28 21:45:00 【华为云】
先说个踩坑openvpn 文件名.ovpn
用这个命令打开vpn
结果是
打不开,直接退出来了
要不然就是死循环,一直等
就这样弄了一个小时左右,一直试
最后,是tcp换成udp,解决了
1、SMB是什么意思?
Server Message Block – SMB,是一种文件共享协议。当文件原件在你的A电脑上,而你想在局域网下用你的手机、iPad或是另一台电脑来访问A电脑上的该文件时,你可能需要用到SMB共享。
Server Message Block
2、SMB使用什么端口进行操作?

TCP端口139是NETBIOS上的SMB。 NETBIOS是一种传输层协议,旨在通过网络在Windows操作系统中使用。
TCP 445是基于IP的SMB。 这是较新的版本,可以在IP网络上正常使用SMB。
445
3、在Nmap扫描中出现的端口445的服务名称是什么?
microsoft-ds
4、SMB工具可用于“列出”共享内容的“标志”或“开关”是什么?
在 linux 中,可以使用命令行工具 smbclient进行连接,smbclient将尝试连接到远程主机,并检查是否需要任何身份验证
使用 -L 命令显示服务器端分享的资源-L
smbclient -L 10.129.193.22

这个真的太坑了,试了好久,可能是目标主机不太稳定吧smbclient -L=10.129.193.22这样也试了
其他三个都是默认共享的,可以用自己物理机输入命令net share就知道了
所有我们关注WorkShares这个
5、如果密码为空,我们最终能够访问的共享名称是什么?
因为s结尾,我就直接试了一下上面得到的那个sharenameWorkShares
所以我们得到了,WorkShares是不需要密码的
连接该共享文件smbclient \\\\10.129.193.22\\WorkShares
同理也可以连接别的smbclient \\\\10.129.193.22\\C$

终于连接上了
worknotes.txt并不是我们的flag
看另一个目录,里面有flag.txt
直接用more就能看到flag了
6、我们可以在SMB shell中使用什么命令来下载我们找到的文件?
get
边栏推荐
- Webrtc audio and video development - experience
- LeetCode1114. 按序打印
- Golang JSON serializing and deserializing strings deserializing to map[string]interface{}
- LeetCode877. 石子游戏
- [dynamic programming] p1018 linear DP: maximum product
- What is an interface? What is interface testing?
- User network model and QoE
- 犹豫的根音
- Sword finger offer:[day 1 stack and queue (simple)] --- > use two stacks to realize the queue
- QJsonObject的使用示例
猜你喜欢

视觉弱监督学习研究进展

Un voyage profond d'IA dans Huawei Cloud

ROS 2 Humble Hawksbill 之 f1tenth gym

PE file-

PHP uses stack to solve maze problem
![[software test] 2022 national unified college enrollment examination](/img/9a/d76d7eb30a097d364fef28c2230e1a.png)
[software test] 2022 national unified college enrollment examination

Interface test process

華為雲的AI深潜之旅

华为云的AI深潜之旅

16 `bs object Node name Div. attribute contents ` children descendants get child nodes and descendants
随机推荐
Understanding web automated testing
Is it safe to open an account on great wisdom
LeetCode188. 买卖股票的最佳时机IV
小样本利器2.文本对抗+半监督 FGSM & VAT & FGM代码实现
LeetCode1114. 按序打印
零基础自学SQL课程 | SQL中的日期函数大全
Visual studio 2022 17.1 is now available!
Lumiprobe non fluorescent alkyne research - dbco NHS ester
Survival of beaver: post-90s female doctors and AI developers
Wechat applet realizes left sliding deletion
Ctrip will push the "3+2" working mode: 3 days a week on duty and 2 days of free choice of office space. Do you envy it?
How to analyze the relationship between enterprise digital transformation and data asset management?
Multinomial distribution (a discrete distribution)
Manual backup and restore of DHCP server
直播预告|SQL也能玩转工业级机器学习?MLOps meetup V3带你一探究竟!
Is it safe to open a stock trading account? Is it reliable?
User network model and QoE
城市大脑知识图谱构建及应用研究
QJsonObject的使用示例
阿海的忠告