Forum Discussion
AlexDeMarco
Nimbostratus
Feb 19, 2020Help 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?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects