Skip to main content

This small script tries to detect subdomain takeovers from a list of domains. Fingerprints are taken from https://github.com/EdOverflow/can-i-take-over-xyz.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

takeover.py-1.0.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

takeover.py-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file takeover.py-1.0.0.tar.gz.

File metadata

  • Download URL: takeover.py-1.0.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for takeover.py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 31bac32c047a22ce21d2102814b991a9a05b3102ab13c59f508fe47fcd925e5c
MD5 0ec5d4ca6b015ad5e24d6b86bfd35ab9
BLAKE2b-256 7a9c5a2de1e729e5505aea1b2be5da5eb24e0e56d8fd68ad49f799b61df8627c

See more details on using hashes here.

File details

Details for the file takeover.py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: takeover.py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for takeover.py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77fcde591c68b5293da9232facc3ee12e0b93347c408b50d23f119c134f581e7
MD5 3e6fb2b2d279e4919d3767a647f94268
BLAKE2b-256 5cc9d770878f4ecf843a14cdc511e27563d8c20c937f67bdf00579259d396af1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page