Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

tor2json : bash script to download TOR file and save it in DataCenter JSON file

Hello,

I wrote a simple bash shell script that will download TOR file from CheckPoint server and save it in a JSON file suitable to be used as DataCenter object in R81+ versions.

Script works on any Linux including Gaia. On generic Linux make sure you have curl(1) and dos2unix(1) commands. 

Without command line argument it will save it to current directory in a file named TOR.json.

With command line argument it will save it in specified file, e.g.:

# ./tor2json /var/www/htm

...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




3 Replies

PhoneBoy
Admin
Admin

@_Val_ maybe Toolbox?

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

_Val_
Admin
Admin

@PhoneBoy definitely.  @HristoGrigorov I will reach out to you offline, thanks

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

_Val_
Admin
Admin

Et voila!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free