updates
This commit is contained in:
parent
c80e1254eb
commit
7c0a933e8c
3
app.js
3
app.js
@ -7,6 +7,7 @@ const port = 6969
|
|||||||
|
|
||||||
let DNSArray = require('./DNSArray.json')
|
let DNSArray = require('./DNSArray.json')
|
||||||
let streamArrays = require('./streamArray.json')
|
let streamArrays = require('./streamArray.json')
|
||||||
|
const otherDNS = require('./otherDNS.json')
|
||||||
|
|
||||||
const { gotRequest } = require('./gotRequest')
|
const { gotRequest } = require('./gotRequest')
|
||||||
|
|
||||||
@ -23,6 +24,7 @@ function splitToArray(DNS) {
|
|||||||
|
|
||||||
function mapToStream(DNSList) {
|
function mapToStream(DNSList) {
|
||||||
console.log('---Updated URLS---')
|
console.log('---Updated URLS---')
|
||||||
|
DNSList.unshift(...otherDNS)
|
||||||
for (let index = 0; index < streamArrays.length; index++) {
|
for (let index = 0; index < streamArrays.length; index++) {
|
||||||
let element = streamArrays[index];
|
let element = streamArrays[index];
|
||||||
element.StreamURL = DNSList[index]
|
element.StreamURL = DNSList[index]
|
||||||
@ -68,3 +70,4 @@ app.get('/', async (req, res) => {
|
|||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
console.log(`DNS Logger listening at http://localhost:${port}`)
|
console.log(`DNS Logger listening at http://localhost:${port}`)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -12,8 +12,9 @@ async function main() {
|
|||||||
const user = users[index];
|
const user = users[index];
|
||||||
console.log('Trying ' + user.username)
|
console.log('Trying ' + user.username)
|
||||||
for (let index = 0; index < streamArrays.length; index++) {
|
for (let index = 0; index < streamArrays.length; index++) {
|
||||||
// await delay(1000);
|
await delay(500);
|
||||||
const stream = streamArrays[index];
|
const stream = streamArrays[index];
|
||||||
|
process.stdout.write('.')
|
||||||
let url = stream.StreamURL + "/player_api.php?username=" + user.username + "&password=" + user.password
|
let url = stream.StreamURL + "/player_api.php?username=" + user.username + "&password=" + user.password
|
||||||
let t = await gotRequest(url)
|
let t = await gotRequest(url)
|
||||||
let body = t.body
|
let body = t.body
|
||||||
@ -21,11 +22,13 @@ async function main() {
|
|||||||
body = JSON.parse(body)
|
body = JSON.parse(body)
|
||||||
if (body.user_info.auth) {
|
if (body.user_info.auth) {
|
||||||
var date = new Date(body.user_info.exp_date * 1000).toLocaleDateString('en-GB')
|
var date = new Date(body.user_info.exp_date * 1000).toLocaleDateString('en-GB')
|
||||||
|
process.stdout.write('\n')
|
||||||
console.log('Match - ' + user.username + ' - ' + stream.StreamURL + ' - ' + stream.StreamName + ' - Expires - ' + date)
|
console.log('Match - ' + user.username + ' - ' + stream.StreamURL + ' - ' + stream.StreamName + ' - Expires - ' + date)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('End Of Streams')
|
process.stdout.write('\nEnd Of Streams\n\n')
|
||||||
}
|
}
|
||||||
console.log('Finished')
|
console.log('Finished')
|
||||||
}
|
}
|
||||||
|
28
logins.json
28
logins.json
@ -3,26 +3,6 @@
|
|||||||
"username": "Karl2903",
|
"username": "Karl2903",
|
||||||
"password": "kcshkzex"
|
"password": "kcshkzex"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"username": "Karl2404",
|
|
||||||
"password": "pkrcbobqau"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"username": "Karl2804",
|
|
||||||
"password": "ckazebawsk"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"username": "Karl2904",
|
|
||||||
"password": "peyofdjtau"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"username": "Karl150520",
|
|
||||||
"password": "snqqfndtpn"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"username": "Karl1505",
|
|
||||||
"password": "upfjwtouwc"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"username": "Karl2802",
|
"username": "Karl2802",
|
||||||
"password": "hgChnj8Fks"
|
"password": "hgChnj8Fks"
|
||||||
@ -38,5 +18,13 @@
|
|||||||
{
|
{
|
||||||
"username": "Karl2206",
|
"username": "Karl2206",
|
||||||
"password": "913TpVzp3F"
|
"password": "913TpVzp3F"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"username": "Darren1706",
|
||||||
|
"password": "IqEoN5RjN5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"username": "Dazg3012",
|
||||||
|
"password": "tXrD5tUvZB"
|
||||||
}
|
}
|
||||||
]
|
]
|
4
otherDNS.json
Normal file
4
otherDNS.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[
|
||||||
|
"https://trippy.pro:443",
|
||||||
|
"https://itty.in:443"
|
||||||
|
]
|
@ -1,4 +1,12 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"StreamName": "Insanity",
|
||||||
|
"StreamURL": "https://trippy.pro:443"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"StreamName": "PremPlus",
|
||||||
|
"StreamURL": "https://itty.in:443"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"StreamName": "GunSlinger",
|
"StreamName": "GunSlinger",
|
||||||
"StreamURL": "http://gunslingertv.org:8080"
|
"StreamURL": "http://gunslingertv.org:8080"
|
||||||
@ -108,8 +116,8 @@
|
|||||||
"StreamURL": "http://iptv.satplex.co.uk:8080"
|
"StreamURL": "http://iptv.satplex.co.uk:8080"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"StreamName": "??",
|
"StreamName": "Gambler",
|
||||||
"StreamURL": "http://www.hitechvisionz.com:25461"
|
"StreamURL": "http://37723998.to:2052"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"StreamName": "??",
|
"StreamName": "??",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user