Skip to main content

Crossdomain.xml Testing Tool

Project description

penterepTools

PTCROSSD

Crossdomain.xml Testing Tool

Installation

pip install ptcrossd

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

$ ptcrossd.py -u https://www.example.com/crossdomain.xml
$ ptcrossd.py -u https://www.example.com/

Options

-u   --url         <url>           Connect to URL
-p   --proxy       <proxy>         Set proxy (e.g. http://127.0.0.1:8080)
-c   --cookie      <cookie>        Set cookie
-H   --headers     <header:value>  Set custom header(s)
-ua  --user-agent  <user-agent>    Set User-Agent header
-j   --json                        Output in JSON format
-v   --version                     Show script version and exit
-h   --help                        Show this help message and exit

Dependencies

- defusedxml
- requests
- ptlibs

Version History

  • 0.0.1 - 0.0.2
    • Alpha release

Licence

Copyright (c) 2020 HACKER Consulting s.r.o.

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

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


Download files

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

Source Distribution

ptcrossd-0.0.2.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

ptcrossd-0.0.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file ptcrossd-0.0.2.tar.gz.

File metadata

  • Download URL: ptcrossd-0.0.2.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9

File hashes

Hashes for ptcrossd-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4c270f758e4fcc54c5b57be1793d28ab631ee91789565f8cee37e2ff5826d4bb
MD5 25b0fb9a66a41e20f1fa7ff174bace43
BLAKE2b-256 ce361b7c6435d83de566d0341effab4236f35f07465880d9642327d9d723f70a

See more details on using hashes here.

File details

Details for the file ptcrossd-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ptcrossd-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9

File hashes

Hashes for ptcrossd-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0cbcb4fdf026b719ffe4f0632d4f81d51689995ef36802cac71b4c27479dfcf
MD5 1cb45619acd3462e05b624d896f0698b
BLAKE2b-256 45a6c9ac3dddaaa5fb1ef27e7b3a88da1c8150537565a0bb4097060b4ef47eb2

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