• Stars
    star
    345
  • Rank 118,875 (Top 3 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 3 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Now, the Host is Mine! - Super Fast Sub-domain Takeover Detection!

GitHub Stars     GitHub Forks     GitHub Issues
Now, the Host is Mine! - Super Fast Sub-domain Takeover Detection
    GitHub Downloads     Cargo Installs


NtHiM - Super Fast Sub-domain Takeover Detection

     


Read the full NtHiM Documentation!

This guide consists of documentations for users and developers using or contributing to NtHiM.


Installation

Method 1: Using Pre-compiled Binaries

The pre-compiled binaries for different systems are available in the Releases page. You can download the one suitable for your system, unzip the file and start using NtHiM.

Method 2: Using Crates.io

NtHiM is available on Crates.io. So, if you have Rust installed on your system, you can simply install NtHiM with the following command:

cargo install NtHiM

Method 3: Manual Build

You will need the latest version (or at least a newer release) of Cargo to perform the manual build for NtHiM, to ensure that the build process proceeds properly.

It is highly recommended to use Rust and Cargo using rustup. If you would like to install it that way, you can go through the instructions provided at https://www.rust-lang.org/tools/install or https://rustup.rs/.

If you have Cargo installed, you can simply follow the steps below:

  1. Clone this repository, git clone https://github.com/TheBinitGhimire/NtHiM;
  2. Go inside the folder, cd NtHiM;
  3. Use the cargo build command,
  4. Go inside the newly-created target folder, and open the debug folder inside it, cd target/debug;
  5. You will find NtHiM.exe (on Microsoft Windows) or NtHiM binary (on most of the other platforms).

If you would like to get a release binary for NtHiM, you can use the --release flag in Step 3, and go to the release folder (i.e. cd target/release) instead in Step 4.

For older versions of NtHiM as well as some infrequently used or older platforms or system architectures: Before doing a manual build of NtHiM or installing through Crates.io with cargo, you might need to have OpenSSL installed in your system. Sometimes if you get an error during the manual building process, then the odds of the error taking place due to OpenSSL are high. Please check out the issue #1 to figure out a solution for this issue.

The installation walkthrough for NtHiM has been uploaded to YouTube, covering all of these three methods, and you can watch the video here: How to Install and Use NtHiM (Now, the Host is Mine!)? Super Fast Sub-domain Takeover Detection!


Usage

Flag Description Example
-h Display help related to usage! NtHiM -h
-t Scan a single target! NtHiM -t https://example.example.com
-f Scan a list of targets from a file! NtHiM -f hostnames.txt
-c Number of Concurrent Threads! NtHiM -c 100 -f hostnames.txt
-s Timeout for connections (in seconds)! NtHiM -s 4 -f hostnames.txt
-v Enable Verbose Mode! NtHiM -v -f hostnames.txt
-o Write output to file! NtHiM -f hostnames.txt -o output.txt
-u Update signature cache! NtHiM -u
-V Display the version information! NtHiM -V

By default, NtHiM uses 10 concurrent threads, and 5 seconds of timeout for connections.


Use Case 1 (Single Target):

NtHiM -t https://example.example.com

Use Case 2 (Multiple Targets):

NtHiM -f hostnames.txt

Usage Demonstration:

NtHiM Usage Demonstration


Examples

Single Target

Single Target

Multiple Targets using Concurrent Threads

Multiple Targets using Concurrent Threads


Workflow

Platform Identification

NtHiM uses the data provided in EdOverflow/can-i-take-over-xyz for the platform identification.


Frequently Asked Questions (FAQs)

If you have any questions regarding NtHiM, please raise an issue by going to the Issues page.

Some of your queries might have been answered in one of the existing issues, so please make sure to check the Issues with the FAQ label before raising an issue on your own.


Contributions and Feature Requests

We welcome contributions from NtHiM users, developers and anyone who is interested to help in upgrading the status of the project. Therefore, we have prepared a Contributing Guide that would be helpful for future contributors.

If you are interested in contributing in the development of NtHiM, you can feel free to create a Pull Request with modifications in the original code, or you shall open up a new issue, and we will try to include the feature as requested.

There is no restriction on anyone for contributing to the development of NtHiM. If you would like to contribute, you can feel free to do so, but please make sure to go through out Contributing Guide before creating a Pull Request.


Code of Conduct

Our Code of Conduct is available at Contributor Covenant Code of Conduct.


License

NtHiM is licensed under the MIT License.

More Repositories

1

Web-Shells

Some of the best web shells that you might need!
PHP
294
star
2

GitHub-Recon

GitHub Recon — and what you can achieve with it!
101
star
3

WHOISxss

Real-time XSS Detection Suite!
Python
33
star
4

Delit

Delete everything from anyone's repositories on GitHub!
PowerShell
27
star
5

GH-Takeover

GH-Takeover — GitHub Pages Sub-domain Takeover Automation!
Shell
26
star
6

SHADEL

Obtain IP Addresses from a List of Domains!
Shell
9
star
7

bytads

Bypass YouTube ads! (Web Extensions)
JavaScript
8
star
8

TheBinitGhimire.github.io

Binit Ghimire | I am a Tech Enthusiastic full-stack web developer, programmer and web/network penetration tester from Nepal.
JavaScript
8
star
9

YourFirstHacktoberfest

This repository is full of issues, which you need to resolve, first by forking this repository, making changes and then creating a Pull Request in this repository.
C
7
star
10

TheBinitGhimire

🦸‍♂️ Software Engineer | Doing Offensive Security and DevSecOps! 🇳🇵
5
star
11

COVID-19-Tracking-Utilities-for-the-Modern-World

Welcome to COVID-19 Tracking Utilities for the Modern World project developed by U-TEC 31337!
CSS
4
star
12

RemoteUploader

Easily download files from a different server to your server!
PHP
4
star
13

rDNS

rDNS is a reverse DNS lookup utility, using which you can figure out the hostname associated with an IP address.
Rust
4
star
14

EC2MadeSimple

Just a tiny EC2 simplifying utility!
Shell
4
star
15

QuantumHack

Emergency Medical Response System for Smart City | QuantumHack
PHP
4
star
16

WHOIScommits

Just commits for no reason!
2
star
17

LF-Internship-Assignments

Binit Ghimire's Leapfrog Technology Software Engineering Internship Assignments!
HTML
2
star
18

-svg-onload-alert-document.domain-

nice ok lol
1
star
19

COVID-19-Tracking-Web-Application

The official GitHub Repository for the COVID-19 Tracking Web Application hosted on GitHub Pages!
HTML
1
star
20

init-react

Initial React Application!
JavaScript
1
star
21

sampleProject

Assignment | Binit Ghimire
HTML
1
star
22

NepSecCTF

NepSecCTF Platform
PHP
1
star
23

express-demo

JavaScript
1
star
24

ci-cd-demo

CI/CD Demonstration!
Rust
1
star
25

IntuitiveContacts

Intuitive Contacts, a contacts management application!
JavaScript
1
star