AlexDeMarco
Feb 19, 2020Nimbostratus
Help with scan and cookie
I am trying to parse out the ip and port being used is a persistence cookie
the Cookie name BIGipServer~TESTPartition~TEST_Server_7001
I found the snippet of code below:
scan [HTTP::cookie $bigipcookie] {%*[^\f]%*4x%2x%2x%2x%2xo%i} a b c d e
set Ip $a.$b.$c.$d
set Port $e
But it does not work I believe the scan does not like the format and I can't change the cookie format.
Any ideas how to modify it?