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

ccc - Common Check Point Commands

Danny
Champion Champion
Champion

🏆 Code Hub Contribution of the Year 2018!
🎓 Featured in official Maestro courseware!
👍 Endorsed by Check Point Support!
📕 Books: Max Power, FW Admin
▶️ YouTube: Intro

ccc script to run CLI tasks & show system info.

Installation


    curl_cli $(if [[ `grep proxy:ip /config/active` ]];then echo -n '--proxy ';grep proxy:ip /config/active|cut -f2 -d' '|tr -d '\n';echo -n :;grep proxy:port /config/active|cut -f2 -d' ';fi) -k https://dannyjung.de/ccc|zc
...;
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.




(2)
247 Replies

Vladimir
Champion
Champion

Danny,

In v4.9 fw monitor results in:

/usr/bin/ccc: eval: line 656: syntax error: unexpected end of file

 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Danny
Champion Champion
Champion

Fixed in ccc v5.0

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Vladimir
Champion
Champion

Danny, the FIREWALL MANAGEMENT & GATEWAY | Show installed CP licenses shows expiration dates in Unix epoch.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Danny
Champion Champion
Champion

Hi  @Vladimir : That's how Check Point shows it. I converted it to a human readable date in ccc 5.0

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

G_W_Albrecht
Legend Legend
Legend

Found hcp in the new version - brilliant! But the post looks like it needs to load all replies to see the newest, sort order does not matter -  @PhoneBoy ?

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Danny
Champion Champion
Champion

Released ccc version 5.1
New: ElasticXL and R82 support

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


the_rock
Legend
Legend

Awesome, will try it sometime this week.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Flo
Contributor
Contributor

Hi @Danny ,

thanks for the mega script. I use this on all the firewalls I use.

I am currently evaluating our firewalls for the CIS benchmark and configuring them according to best practices. --> https://www.cisecurity.org/benchmark/checkpoint_firewall

Many checks are simple config queries with show and are already built in with you.

As we talked at CPX in Vienna it would be mega helpful for me if I could automate the whole thing and query everything with one command.

If ther

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


0 Kudos