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

Overview

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


NtH1M - Super Fast Sub-domain Takeover Detection

     

Notice

This is a sad notice that our Internet Hero (@TheBinitGhimire) had recent demise on 26th of June, 2022. Since has has passed away, and I was the one who implemented online repo system in collaboration with Penterter-Nepal using this as repo and there was an issue for using local/custom signatures.json file and not from the repo. Hence, I've implemented it with a major release version (everying is almost same except for naming since we need to make releases) and few misc changes.


Read the full NtH1M Documentation!

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


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

Method 2: Using Crates.io

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

cargo install NtH1M

Method 3: Manual Build

You will need the latest version (or at least a newer release) of Cargo to perform the manual build for NtH1M, 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/c4p-n1ck/NtH1M;
  2. Go inside the folder, cd NtH1M;
  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 NtH1M.exe (on Microsoft Windows) or NtH1M binary (on most of the other platforms).

If you would like to get a release binary for NtH1M, 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 NtH1M as well as some infrequently used or older platforms or system architectures: Before doing a manual build of NtH1M 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 NtH1M has been uploaded to YouTube, covering all of these three methods, and you can watch the video here: How to Install and Use NtH1M (Now, the Host is Mine!)? Super Fast Sub-domain Takeover Detection!


Usage

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

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


Use Case 1 (Single Target):

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

Use Case 2 (Multiple Targets):

NtH1M -f hostnames.txt

Usage Demonstration:

NtH1M Usage Demonstration


Examples

Single Target

Single Target

Multiple Targets using Concurrent Threads

Multiple Targets using Concurrent Threads


Workflow

Platform Identification

NtH1M 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 NtH1M, 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 NtH1M 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 NtH1M, 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 NtH1M. 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

NtH1M is licensed under the MIT License.

You might also like...
A fast uuid generator in Python using Rust

ruuid A fast UUID generator for Python built using Rust. Its a simple wrapper on top of Rust's UUID crate. How to use? Installation: pip3 install ruui

Automatically deploy from GitHub to Replit, lightning fast ⚡️

repl.deploy Automatically deploy from GitHub to Replit, lightning fast ⚡️ repl.deploy is split into A GitHub app, which listens for code changes and s

fast rust implementation of online nonnegative matrix factorization as laid out in the paper "detect and track latent factors with online nonnegative matrix factorization"

ONMF status: early work in progress. still figuring this out. code still somewhat messy. api still in flux. fast rust implementation of online nonnega

A fast lean and clean modern constraint programming solver implementation (in rust)

MaxiCP-rs This project aims at implementing a fast, and clean constraint programming solver with a focus on correctness, simplicity, maintainability a

Fast and simple datetime, date, time and duration parsing for rust.

speedate Fast and simple datetime, date, time and duration parsing for rust. speedate is a lax† RFC 3339 date and time parser, in other words, it pars

A fast, iterative, correct approach to Stackblur, resulting in a very smooth and high-quality output, with no edge bleeding

A fast, iterative, correct approach to Stackblur, resulting in a very smooth and high-quality output, with no edge bleeding. This crate implements a t

Macro for fast implementing serialize methods in serde::Serializer trait

impl_serialize! This library provides a simple procedural macro for fast implementing serialize methods in serde::Serializer trait. [dependencies] imp

Simple and fast proxy checker that include protocol validation;

Open Proxies ⭐️ Leave me a start please ⭐️ it will motivate me to continue maintaining and adding futures About | Technologies | Requirements | Starti

A backend framework for building fast and flexible APIs rapidly.

Andromeda Andromeda is a backend framework for Rust, to simplify the development of the kinds of basic API services that we developers have to build s

Releases(0.2.4)
Owner
Captain Nick Lucifer*
Alternate Github Account to @naryal2580
Captain Nick Lucifer*
A Domain Driven Design example application in Rust.

Rust Domain Driven Design Example rust-ddd Rust Domain-Driven-Design (DDD) Summery This repository is used to present how I find implementing DDD in R

Behrouz R.Farsi 6 Nov 15, 2022
A domain-specific language for Infrastructure as Code

Skyr A domain-specific language for Infrastructure As Code, with a phased execution model, allowing for expressive and highly dynamic IaC solutions. D

Emil Broman 4 Mar 11, 2023
Domain modeling. Event sourcing. CQRS.

f(model) - Functional Domain Modeling with Rust Publicly available at crates.io and docs.rs When you’re developing an information system to automate t

Fraktalio 12 Oct 7, 2023
The orez programming language (a toy langauge for now obviously)

orezc The main repository for the orez programming language (a toy langauge for now obviously) Yes I've looked into the rust compiler, if you are curi

null 12 Mar 11, 2022
Stardust XR Reference Server, now in Rust :D

Stardust XR Reference Server This project is a usable Linux display server that reinvents human-computer interaction for all kinds of XR, from putting

Stardust XR 9 Dec 20, 2022
sodiumoxide clone, now with less chlorides and more oxides

sodiumoxide2 Less Chlorides, more Oxides! This package is a fork of sodiumoxide, using rust-native crypto. It's not intended to be easy to use or impl

Conrad Ludgate 3 Apr 16, 2023
API based replacement for carbon.now.sh

Inkify Unfortunately Carbon has been without an API for too long, and I've run into a few cases where one would be useful for a project. So I present

Chris Watson 3 Oct 31, 2023
A rust version of "the super tiny compiler"

The (Rust) super tiny compiler This project is a rust version of the super tiny compiler (the original one (JS) was created by Jamie Kyle). The output

Eduardo Stuart 6 Dec 25, 2022
A super simple dialogue system for Rust.

?? Dialogos A super simple dialogue system for Rust. It's nothing special, but that's the point! It's something that just works. This library is ideal

null 3 Sep 19, 2022
Super-simple, fully Rust powered "memory" (doc store + semantic search) for LLM projects, semantic search, etc.

memex Super simple "memory" for LLM projects, semantic search, etc. Running the service Note that if you're running on Apple silicon (M1/M2/etc.), it'

Spyglass Search 15 Jun 19, 2023