on *:sockread:creds.*: {
sockread &data
while ($sockbr) {
sockread &data2
bcopy &data $calc($bvar(&data,0) + 1) &data2 1 -1
}
if ($bfind(&data, 1, BinarySecurityToken Id="PPToken1">t=)) {
var %start = $calc($ifmatch + 34), %end = $bfind(&data, %start, </wsse:BinarySecurityToken>), $&
%str = $bvar(&data, $+(%start, -, %end)).text)
}
}