Forum Discussion
Yaoxie_117356
Jul 12, 2016Nimbostratus
findstr irule
when RULE_INIT { set static::payload {windows-passwordusernamejackdomainTESTpasswordabcdef}
set username [findstr [findstr [findstr [$static::payload] {username} 1 "} 1 "} 7 "
}
any idea why t...
Yann_Desmarest
Cirrus
Hi,
You may need to use
"
instead of {
to define the static::payload
:
when RULE_INIT {
set static::payload "windows-passwordusernamejackdomainTESTpasswordabcdef"
set username [findstr [findstr [findstr [$static::payload] {username} 1 "} 1 "} 7 "
Yaoxie_117356
Jul 12, 2016Nimbostratus
fixed, there was an additional []
findstr [$static::payload]
After remove it worked fine.
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