add checker

This commit is contained in:
Karl 2021-02-06 11:19:30 +00:00
parent 67eca698b8
commit c80e1254eb
4 changed files with 211 additions and 2 deletions

11
.vscode/launch.json vendored
View File

@ -7,11 +7,20 @@
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"name": "Server",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/app.js"
},
{
"type": "node",
"request": "launch",
"name": "Checker",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/checker.js"
}
]
}

33
checker.js Normal file
View File

@ -0,0 +1,33 @@
let streamArrays = require('./streamArray.json')
let users = require('./logins.json')
const { gotRequest } = require('./gotRequest')
const delay = ms => new Promise(res => setTimeout(res, ms));
async function main() {
for (let index = 0; index < users.length; index++) {
const user = users[index];
console.log('Trying ' + user.username)
for (let index = 0; index < streamArrays.length; index++) {
// await delay(1000);
const stream = streamArrays[index];
let url = stream.StreamURL + "/player_api.php?username=" + user.username + "&password=" + user.password
let t = await gotRequest(url)
let body = t.body
if (t.statusCode == 200 && body !== "") {
body = JSON.parse(body)
if (body.user_info.auth) {
var date = new Date(body.user_info.exp_date * 1000).toLocaleDateString('en-GB')
console.log('Match - ' + user.username + ' - ' + stream.StreamURL + ' - ' + stream.StreamName + ' - Expires - ' + date)
}
}
}
console.log('End Of Streams')
}
console.log('Finished')
}
main()

42
logins.json Normal file
View File

@ -0,0 +1,42 @@
[
{
"username": "Karl2903",
"password": "kcshkzex"
},
{
"username": "Karl2404",
"password": "pkrcbobqau"
},
{
"username": "Karl2804",
"password": "ckazebawsk"
},
{
"username": "Karl2904",
"password": "peyofdjtau"
},
{
"username": "Karl150520",
"password": "snqqfndtpn"
},
{
"username": "Karl1505",
"password": "upfjwtouwc"
},
{
"username": "Karl2802",
"password": "hgChnj8Fks"
},
{
"username": "Karl0704",
"password": "CJXENz4vxy"
},
{
"username": "Karl24",
"password": "3vpfS48hHF"
},
{
"username": "Karl2206",
"password": "913TpVzp3F"
}
]

View File

@ -1 +1,126 @@
[{"StreamName":"GunSlinger","StreamURL":"http://gunslingertv.org:8080"},{"StreamName":"VIP","StreamURL":"http://oven-cleaner.com:8080/"},{"StreamName":"Technoid","StreamURL":"http://capoisagod2021.org:8080"},{"StreamName":"Old Premium","StreamURL":"https://caporeds.online:443"},{"StreamName":"??","StreamURL":"http://screamstreams.info:8080"},{"StreamName":"Gold","StreamURL":"http://catenamode.cf:8090"},{"StreamName":"??","StreamURL":"http://sulu.xyz:2086"},{"StreamName":"??","StreamURL":"http://bigbox.me.uk:2086"},{"StreamName":"??","StreamURL":"http://beautifilm.xyz:8080"},{"StreamName":"??","StreamURL":"https://hulks.xyz:443"},{"StreamName":"??","StreamURL":"http://mytv.digital:8080/"},{"StreamName":"??","StreamURL":"http://theonlinemedia.network:2052"},{"StreamName":"??","StreamURL":"http://server1.jforbes.club:8090"},{"StreamName":"??","StreamURL":"http://ths.viewdns.net:8080"},{"StreamName":"??","StreamURL":"http://vpsuk.store:8080"},{"StreamName":"??","StreamURL":"http://g132.caporeds.online:8080/"},{"StreamName":"??","StreamURL":"http://theonlinemedia.network:2052"},{"StreamName":"??","StreamURL":"http://beautifilm.xyz:8080"},{"StreamName":"??","StreamURL":"http://pimptv.dnsabr.com:8080"},{"StreamName":"??","StreamURL":"http://tavaratv.xyz:2095"},{"StreamName":"??","StreamURL":"http://cms-tan.media:8880"},{"StreamName":"??","StreamURL":"http://streamknighttv.xyz:8080"},{"StreamName":"??","StreamURL":"http://covidsucks.xyz:8080"},{"StreamName":"??","StreamURL":"http://fckbrexit.link:8080"},{"StreamName":"??","StreamURL":"http://tv.realot.xyz:35001"},{"StreamName":"??","StreamURL":"http://www.tvxclnt.com:8080"},{"StreamName":"??","StreamURL":"http://iptv.satplex.co.uk:8080"},{"StreamName":"??","StreamURL":"http://www.hitechvisionz.com:25461"},{"StreamName":"??","StreamURL":"http://apkdns.store:8080"},{"StreamName":"??","StreamURL":"http://opplex.tv:8080"},{"StreamName":"??","StreamURL":"http://keepgoing.cool:8880"}]
[
{
"StreamName": "GunSlinger",
"StreamURL": "http://gunslingertv.org:8080"
},
{
"StreamName": "VIP",
"StreamURL": "http://oven-cleaner.com:8080/"
},
{
"StreamName": "Technoid",
"StreamURL": "http://capoisagod2021.org:8080"
},
{
"StreamName": "Old Premium",
"StreamURL": "https://caporeds.online:443"
},
{
"StreamName": "??",
"StreamURL": "http://screamstreams.info:8080"
},
{
"StreamName": "Gold",
"StreamURL": "http://catenamode.cf:8090"
},
{
"StreamName": "??",
"StreamURL": "http://sulu.xyz:2086"
},
{
"StreamName": "??",
"StreamURL": "http://bigbox.me.uk:2086"
},
{
"StreamName": "??",
"StreamURL": "http://beautifilm.xyz:8080"
},
{
"StreamName": "??",
"StreamURL": "https://hulks.xyz:443"
},
{
"StreamName": "??",
"StreamURL": "http://mytv.digital:8080/"
},
{
"StreamName": "??",
"StreamURL": "http://theonlinemedia.network:2052"
},
{
"StreamName": "Gold",
"StreamURL": "http://server1.jforbes.club:8090"
},
{
"StreamName": "??",
"StreamURL": "http://ths.viewdns.net:8080"
},
{
"StreamName": "??",
"StreamURL": "http://vpsuk.store:8080"
},
{
"StreamName": "??",
"StreamURL": "http://g132.caporeds.online:8080/"
},
{
"StreamName": "??",
"StreamURL": "http://theonlinemedia.network:2052"
},
{
"StreamName": "??",
"StreamURL": "http://beautifilm.xyz:8080"
},
{
"StreamName": "??",
"StreamURL": "http://pimptv.dnsabr.com:8080"
},
{
"StreamName": "??",
"StreamURL": "http://tavaratv.xyz:2095"
},
{
"StreamName": "??",
"StreamURL": "http://cms-tan.media:8880"
},
{
"StreamName": "??",
"StreamURL": "http://streamknighttv.xyz:8080"
},
{
"StreamName": "??",
"StreamURL": "http://covidsucks.xyz:8080"
},
{
"StreamName": "??",
"StreamURL": "http://fckbrexit.link:8080"
},
{
"StreamName": "??",
"StreamURL": "http://tv.realot.xyz:35001"
},
{
"StreamName": "??",
"StreamURL": "http://www.tvxclnt.com:8080"
},
{
"StreamName": "??",
"StreamURL": "http://iptv.satplex.co.uk:8080"
},
{
"StreamName": "??",
"StreamURL": "http://www.hitechvisionz.com:25461"
},
{
"StreamName": "??",
"StreamURL": "http://apkdns.store:8080"
},
{
"StreamName": "??",
"StreamURL": "http://opplex.tv:8080"
},
{
"StreamName": "??",
"StreamURL": "http://keepgoing.cool:8880"
}
]