Change <PASS> value in capture
jean-neymar last edited by
let's say i have this combo to test :
if at some point in my config i change the global variable <PASS> , like this :
SET GVAR "PASS" "9999999"
and if this new <PASS> is correct (SUCCESS)
what OB will store in the database ?
unless i'm wrong in my tests, it keeps the initial <PASS> value : 1111111
any way to store the correct one : 9999999 ?
You cannot change that. You can do it in OB2 though (I think).
this will work to save proper pass
#again FUNCTION RandomString "?d?d?d?d?d?d?d" -> VAR "NEWPASS"
IF "<SOURCE>" Contains "Success"
FUNCTION Replace "<PASS>" "<USER>:<NEWPASS>" UseRegex=TRUE "<PASS>" -> CAP "goodPASS"
UTILITY File "correct.txt" AppendLines "<goodPASS>"
meinname last edited by
And you can do something like
SET DATA "<VAR1>:<VAR2>"