OSCP Learning Notes - Enumeration(3)

时间:2019-06-23 11:02:31   收藏:0   阅读:116

 

 

SMB Enumeration

1. Set the smb configurations.

locate smb.conf

技术分享图片

vim /etc/samba/smb.conf

技术分享图片

Insert the global settings to the configuration file.

client use spnego = no
client ntlmv2 auth = no

技术分享图片

 

2. Enumerate the target computer and find some interestring things.

enum4linux 10.0.0.20

技术分享图片

技术分享图片

技术分享图片

技术分享图片

技术分享图片

3. Exploit the target using Metasploit.

技术分享图片

Detecte the SMB version.

search smb

技术分享图片

技术分享图片

Set the rhosts.

技术分享图片

Identity the samba version is 2.2.1a.

技术分享图片

4. Search the vulnerabilities locally and on the Internet.

技术分享图片

技术分享图片

5. Scan the exploite the target computer.

nbtscan 10.0.0.20

技术分享图片

smbclient -L 10.0.0.20

技术分享图片

smbclient -L "\\\\10.0.0.20\IPC$"

技术分享图片

smbclient "\\\\10.0.0.20\IPC$"

技术分享图片

 

原文:https://www.cnblogs.com/keepmoving1113/p/11072050.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!