This shell script is to find unused objects in objects_5_0.C and rulebases_5_0.fws files on Checkpoint Firewalls. It searches for unused objects both in object groups and the rulebase, then generates the output list as a text file. If you have the copies of files objects_5_0.C and rulebases_5_0.fws, you can also run the script in a bash environment.
You can download it from the following link: https://packetstormsecurity.com/files/download/102007/Cleanup_1.zip
Source: https://packetstormsecurity.com/files/102007/Checkpoint-FW-Cleanup-Tool-1.html

