Skip to main content

takeover.py

A script to test for subdomain takeovers from a list of domains. Fingerprints are taken from https://github.com/EdOverflow/can-i-take-over-xyz.

Twitter

Installation

pip install takeover.py

After installation, make sure to configure the config.json file. You can also copy it from the github repository and use with --config flag.

Usage

A single target

echo blog.example.com | takeover -

Multiple Targets:

subfinder -d "example.com" -silent | takeover -

# or
subfinder -d "example.com" -silent | takeover /dev/stdin

Notifications:

subfinder -d "example.com" -silent | takeover - --notify Discord

Note

  • The output is a lot verbose so it is recommended to use a third party webhook service like discord, slack to get notified.

  • Some fingerprints are not well formatted to be matched. For example, in WordPress, the fingerprint is Do you want to register *.wordpress.com?, however this is not an exact match and correct fingerprint should be Do you want to register <em>example.wordpress.com</em>?. To fix this, you can give your own file for fingerprints with either in config.json or with --services flag.

Contribute

  • Feel free to submit a PR or new issues on GitHub.

License

LICENSE.md

Disclaimer

An excerpt from the License: “IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.”

Metadata

Release files for takeover.py 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for takeover.py 1.0.0
File Size Uploaded
takeover.py-1.0.0.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for takeover.py 1.0.0
File Interpreter ABI Platform
takeover.py-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / takeover.py-1.0.0.tar.gz

Download URL takeover.py-1.0.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
31bac32c047a22ce21d2102814b991a9a05b3102ab13c59f508fe47fcd925e5c
BLAKE2b-256 checksum
How to use checksums
7a9c5a2de1e729e5505aea1b2be5da5eb24e0e56d8fd68ad49f799b61df8627c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release files / takeover.py-1.0.0-py3-none-any.whl

Download URL takeover.py-1.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77fcde591c68b5293da9232facc3ee12e0b93347c408b50d23f119c134f581e7
BLAKE2b-256 checksum
How to use checksums
5cc9d770878f4ecf843a14cdc511e27563d8c20c937f67bdf00579259d396af1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page