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/html/cp/tor.json
Download file from GitHub:
https://github.com/HGrigorov/checkpoint/
Refer to CheckPoint sk167210 for more details how to use it.
Hope you find it useful and it works for you as well 😉