queryDB util

From cpwiki.net
Revision as of 20:26, 29 July 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Check Point Profressional Services


get group object members

network objects

printf "localhost\n-t network_objects -o obj_grp -pf\n-q\n" | queryDB_util  | grep ": Name:" | sed -e 's/(Table: network_objects) //g' | sed -e 's/Name: //g' | sed -e 's/    : //'

services

printf "localhost\n-t services -o icmp-requests -pf\n-q\n" | queryDB_util | grep ": Name:" | sed -e 's/(Table: services) //g' | sed -e 's/Name: //g' | sed -e 's/    ://'