Bash script to check if you have a SIP profile attached to a Virtual Server (CVE-2023-22842)
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.
Short Description
Generate a CSV report to know which virtual servers have a SIP profile attached.
P...
Published Sep 05, 2023
Version 1.0michelangelodorado
Employee
Joined December 02, 2019
Carl_Brothers
Employee
Feb 05, 2025Here is a similar result done in two commands from the bash shell that will scan all partitions and include results from iApps and FAST as well. This simply returns the virtual server name for every virtual that has a SIP profile associated with it to the terminal.
PROFILES=$(tmsh -c 'cd /; list ltm profile sip recursive one-line' | awk '{ print $4}' | tr '\n' '|' | sed '$s/.$/\n/')
tmsh -c 'cd /; list ltm virtual recursive one-line' | grep -E "($PROFILES)" | awk '{print "/" $3}'