No project description provided
Project description
PTCONVERT - Penterep Data Format Convertor
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:
burp-report BurpReport format
swagger Swagger format
--csv <path-to-csv> Set path to CSV file
--use-texts Use texts from Burp Report
--parse-url Parse URLs in Burp Report
-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
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 ptconvert-0.0.2.tar.gz
.
File metadata
- Download URL: ptconvert-0.0.2.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac09960216cecb157804f64beea2989a40a1689d169cd98134663bd398214eeb |
|
MD5 | 959b2690b4631b001d7c288a0c888e98 |
|
BLAKE2b-256 | f6e443188aed19f24cae26dc0292697c0b800d71580108e1c8e9be892aaed689 |
File details
Details for the file ptconvert-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ptconvert-0.0.2-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e6b91c3c743481f99da1d014e405489c96c9a894abc0dbf160124ddcaff34c7 |
|
MD5 | 27d4db8c1de4673dcc6753a2bc8acf7a |
|
BLAKE2b-256 | dbbd3eb33de44dc14a53ef51d3fa3c83730162a9d01ee876ae673bf9b1f1fcb2 |