Skip to main content

No project description provided

Project description

penterepTools

PTCONVERT - Penterep Data Format Converter

ptconvert is a tool that transforms various data formats into Penterep-compatible JSON.

Installation

pip install ptconvert

Adding to PATH

If you're unable to invoke the script from your terminal, it's likely because it's not included in your PATH. You can resolve this issue by executing the following commands, depending on the shell you're using:

For Bash Users

echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.bashrc
source ~/.bashrc

For ZSH Users

echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.zshrc
source ~/.zshrc

Usage examples

ptconvert -f swagger -i swagger_file.json -o penterep.json

Options

   -i  --input    <file>    Set input file
   -o  --output   <output>  Set output file
   -f  --format   <format>  Set input file format to:
                   swagger      Swagger format

   -v  --version            Show script version and exit
   -h  --help               Show this help message and exit

Dependencies

ptlibs

License

Copyright (c) 2024 Penterep Security s.r.o.

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

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

ptconvert-0.0.1.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

ptconvert-0.0.1-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file ptconvert-0.0.1.tar.gz.

File metadata

  • Download URL: ptconvert-0.0.1.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for ptconvert-0.0.1.tar.gz
Algorithm Hash digest
SHA256 006beba585dc296f1ca2dcc241711153c5f3e29e50baddafdd5af40fd66b4dbd
MD5 8ad1474a11c091bf4f14c91151138226
BLAKE2b-256 948f871618c4b12a85d249a87be75b396bbbf20156b43f293c0a9b3c56d88cfc

See more details on using hashes here.

File details

Details for the file ptconvert-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ptconvert-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for ptconvert-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa51f62dde32315bb8749ef7266acf81d09713c6c730756bb1be758971fa6590
MD5 f80d6436769721847fde184e99045c94
BLAKE2b-256 65a22f7bc8090c6da86fe0ce80f8a950d438db4c782c70550efa92774c10bb04

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