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.
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| takeover.py-1.0.0.tar.gz | 5.1 kB | Without provenance | Details for takeover.py-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| takeover.py-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for takeover.py-1.0.0-py3-none-any.whl |
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
|
Security for takeover.py 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.