Giter Club home page Giter Club logo

doenum's Introduction

Do Enum

A script that does all the initial enumeration for you.

  • Add IP and domain to hosts file
  • Create an organised directory structure
  • Run a portscan with nmap's python3-nmap
  • A web directory scan if port 80 or 8080 is open with Wfuzz

Requirements

This script requires the following python3 modules:

  • python3-nmap
  • pprint

An optional feature of this script is termdown - the countdown feature. This is a visual countdown timer. Install:

pip install termdown

Github repo:

Termdown - Github

Usage

The script must be run as root to modify the hosts file.

sudo doenum.py -h
usage: doenum.py [-h] -t TARGET -d DIRECTORY -n NAME [-u USER]

Enumerate a host.

optional arguments:
  -h, --help            show this help message and exit
  -t TARGET, --target TARGET
                        IP address of the host you want to enumerate
  -d DIRECTORY, --directory DIRECTORY
                        Specify the parent directory. "-d tryhackme" will
                        enter ~/tryhackme/ and create a directory structure
                        there.
  -n NAME, --name NAME  The name of the host. This will be the child directory
                        created and will be added to /etc/hosts
  -u USER, --user USER  Set your current user. If not set, it will take the
                        user out of the absolute path (/home/user/..). User
                        will be root if script is confused.
sudo doenum.py -t TARGET -d DIRECTORY -n NAME -u USER

The script will create a directory for the specified /directory/name.

Example:

sudo enumerate.py -i 10.10.10.10 -d /home/user/hackthebox -n boxname -u user

The directory structure:

/home/user/hackthebox/boxname
├── nmap
│   └── nmap.out
└── wfuzz
    └── wfuzz.out:80
    └── wfuzz.out:8080

doenum's People

Contributors

f3dai 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.