A versatile Go-based tool for decrypting and converting Ravro platform bug bounty reports to PDF.
ravro_dcrpt
is a cross-platform utility designed to decrypt and process reports submitted by hunters on the Ravro platform, embodying the "write once, run anywhere" philosophy of Go.
- π Decrypt encrypted Ravro report files
- π Convert decrypted reports to PDF
- ποΈ Multi-key support
- π Multi-zip file decryption
- π JSON conversion option
- π₯οΈ Cross-platform compatibility (Windows, Linux, macOS)
- π Built-in update mechanism
- π Comprehensive error logging
wget https://raw.githubusercontent.com/ravro-ir/ravro_dcrpt/refs/heads/main/autoinstall/linux.sh -O - | sh
Ps> curl -L -o win64.bat https://raw.githubusercontent.com/ravro-ir/ravro_dcrpt/refs/heads/main/autoinstall/win64.bat
Ps> .\win64.bat
[+++] Downloading OpenSSL Libraries...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 6445k 100 6445k 0 0 2571k 0 0:00:02 0:00:02 --:--:-- 8572k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1224k 100 1224k 0 0 46645 0 0:00:26 0:00:26 --:--:-- 51891
[+++] Downloading wkhtmltox Library...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 28.7M 100 28.7M 0 0 2247k 0 0:00:13 0:00:13 --:--:-- 1839k
[+++] Downloading Ravro Decrypt Tools...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 6100k 100 6100k 0 0 33418 0 0:03:06 0:03:06 --:--:-- 29295
[+++] Extracting Ravro Decrypt Tools...
[+++] Cleanup...
[+++] Installation complete!
wget https://raw.githubusercontent.com/ravro-ir/ravro_dcrpt/refs/heads/main/autoinstall/darwin.sh -O - | sh
.
βββ decrypt
β βββ ir2020-07-16-0002
β βββ test__ir2020-07-16-0002__user3.pdf
βββ encrypt
β βββ report-ir2020-07-16-0002
β βββ judgment
β β βββ data.ravro
β βββ report
β βββ data.ravro
βββ key
βββ key.private
$ ./ravro_dcrpt -init
$ ./ravro_dcrpt
$ ./ravro_dcrpt -init
$ ./ravro_dcrpt -in=<input_path> -out=<output_path> -key=<key_path>
- Update to latest version:
$ ./ravro_dcrpt -update
- View error logs:
$ ./ravro_dcrpt -log
- Convert report to JSON:
$ ./ravro_dcrpt -json
$ git clone https://github.com/ravro-ir/ravro_dcrpt.git
$ cd ravro_dcrpt
$ go build ravro_dcrpt
$ go run ravro_dcrpt
Ps> $env:CGO_CFLAGS="-IC:/OpenSSL-Win64/include"
Ps> $env:CGO_LDFLAGS="-LC:/OpenSSL-Win64/lib/VC/x64/MD -lssl -lcrypto -lws2_32 -lcrypt32"
Ps> go build
$ export PKG_CONFIG_PATH=$(brew --prefix openssl)/lib/pkgconfig
$ export CGO_CFLAGS="-I$(brew --prefix openssl)/include"
$ export CGO_LDFLAGS="-L$(brew --prefix openssl)/lib"
$ go build
Ps> $env:PATH="C:/OpenSSL-Win64/bin;C:/wkhtmltox/bin;$env:PATH"
Ps> $env:CGO_CFLAGS="-IC:/OpenSSL-Win64/include -IC:/wkhtmltox/include"
Ps> $env:CGO_LDFLAGS="-LC:/OpenSSL-Win64/lib/VC/x64/MD -LC:/wkhtmltox/lib -L/C:/wkhtmltox/bin -lssl -lcrypto -lws2_32 -lcrypt32 -lwkhtmltox"
Ps> go build
TODO
git clone https://aur.archlinux.org/ravro_dcrpt-git.git
cd ravro_dcrpt-git
makepkg -sri
- Use CGO for OpenSSL and wkhtmltopdf
- Multi-zip file decryption support
- Improved key selection process
- Enhanced path handling
- Comprehensive error handling
- Code refactoring
- Added logging capabilities
- Implemented loading spinner
- Added update functionality
- Improved PDF generation performance
- JSON conversion support
- Project packaging
- Bug fixes
GNU General Public License, version 3
Ramin Farajpour Cami
- Email: [email protected]
- Alternate Email: [email protected]