DNS Zone Transfer Testing Tool
Project description
PTAXFR
DNS Zone Transfer Testing Tool
Script finds authoritative nameservers for specified domain(s). AXFR record (Zone Transfer) is sent to each nameserver and result is retrieved. ptaxfr supports mass domain testing.
Installation
pip install ptaxfr
Add to PATH
If you cannot invoke the script in your terminal, its probably because its not in your PATH. Fix it by running commands below.
echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.bashrc
source ~/.bashrc
Usage examples
ptaxfr -d example.com
ptaxfr -d example1.com example2.com example3.com
ptaxfr -f domain_list.txt
Options
-d --domain <domain> Test domain
-f --file <file> Test domains from file
-pd --print_dns Print DNS records (default option)
-ps --print_subdomains Print subdomains only
-V --vulnerable_only Print only vulnerable domains
-s --silent Silent mode (show result only)
-t --threads <threads> Number of threads (default 20)
-j --json Enable JSON output
-v --version Show script version and exit
-h --help Show this help message and exit
Dependencies
- dnspython
- ptlibs
- ptthreads
Version History
- 0.0.1 - 0.0.2
- Alpha releases
Licence
Copyright (c) 2020 HACKER Consulting s.r.o.
ptaxfr is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ptaxfr is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ptaxfr. If not, see https://www.gnu.org/licenses/.
Warning
You are only allowed to run the tool against the websites which you have been given permission to pentest. We do not accept any responsibility for any damage/harm that this application causes to your computer, or your network. Penterep is not responsible for any illegal or malicious use of this code. Be Ethical!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ptaxfr-0.0.2.tar.gz
.
File metadata
- Download URL: ptaxfr-0.0.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af88ea4f15708912bed029a7a00b0970193dfa70542aaf49b4add7e929b8161 |
|
MD5 | d837fa9dc6b64c0f655d4c14676e1eee |
|
BLAKE2b-256 | 58dffbdb6a0eda8f36f1742b7bb0e79685c5cc5207f02759996f97aeac5492b1 |
File details
Details for the file ptaxfr-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ptaxfr-0.0.2-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8942464529fcba80e0f66e3b38c8d28fbfc3b5759f5ebb6b5030ac966f285537 |
|
MD5 | eb1766b18818707237b4a5f8b97b1449 |
|
BLAKE2b-256 | b9e2df66d059ce63afca877018c7df197cddd939911bb31475b91683870caed3 |