Code Monkey home page Code Monkey logo

datn's Introduction

Hướng dẫn cài đặt

Tải về source code full

git clone https://github.com/h2oa/datn.git

Cài đặt thư viện pymetasploit3:

pip3 install -r requirements.txt

Đi tới thư mục:

cd /usr/share/metasploit-framework/modules/auxiliary

Tạo folder customs, ở đây sẽ lưu các custom modul:

sudo mkdir customs

Đi vào folder customs:

cd customs

Thêm các module trong folder custom-modules vào đây, kết quả:

image

Trong Kali, chạy lệnh msfrpcd -P password -S để chạy server metasploit, mặc định port lắng nghe tại 55553:

image

Dùng lệnh ip a trong Kali để xem IP hiện tại:

image

Thay đổi IP trong package/functions.py, ví dụ hiện tại máy server có IP 192.168.81.130:

image

Chạy vulnerability web local, đi vào custom-vul-website/php-website, chạy lệnh sudo php -S 0.0.0.0:80 (nên chạy web server test scan trong Kali luôn).

Biến domain trong hàm main() của file main.py chính là địa chỉ IP của web server sẽ scan, trường hợp này là 192.168.81.130:

image

Bắt đầu scan, chạy lệnh python3 main.py.

Nếu chạy thấy thiếu thư viện nào thì pip3 install + tên thư viện thiếu, hoặc google

datn's People

Contributors

h2oa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.