first commit
This commit is contained in:
1
static/file/client_secret.json
Executable file
1
static/file/client_secret.json
Executable file
@@ -0,0 +1 @@
|
||||
{"installed":{"client_id":"78061934091-l4m6ba5jip749lb4stk00jg8vf2tcsmq.apps.googleusercontent.com","project_id":"sjva-plex-scan-200106","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"qb0NiC8JahlPggbHZJSF7xVJ","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
|
||||
1
static/file/client_secret_knou_ac_kr.json
Executable file
1
static/file/client_secret_knou_ac_kr.json
Executable file
@@ -0,0 +1 @@
|
||||
{"installed":{"client_id":"934378016374-4nmthr90k8gvhqdn1n0s052mkqskl55h.apps.googleusercontent.com","project_id":"sjva-264303","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"wtp5eTHcR0iDRDnh9dl15yWd","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
|
||||
1
static/file/client_secret_sjva_me.json
Executable file
1
static/file/client_secret_sjva_me.json
Executable file
@@ -0,0 +1 @@
|
||||
{"installed":{"client_id":"931443127323-usci3h10qi2pih0n9tm2mgg6pin9l8gj.apps.googleusercontent.com","project_id":"sjva-gdrive-scan-sjva-me","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"V5Os74ZANzMnJ8xkWjq7voSY","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
|
||||
2
static/file/robots.txt
Executable file
2
static/file/robots.txt
Executable file
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
28
static/file/sjva_tving.php
Executable file
28
static/file/sjva_tving.php
Executable file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
function get_html() {
|
||||
$url = func_get_arg(0);
|
||||
$headers = func_get_arg(1);
|
||||
$query = (func_num_args() == 3) ? func_get_arg(2) : null;
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_HEADER, 0);
|
||||
if ( $query != null) {
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $query);
|
||||
}
|
||||
$data = curl_exec($ch);
|
||||
return $data;
|
||||
}
|
||||
|
||||
$url = $_POST['url'];
|
||||
$cookie = $_POST['cookie'];
|
||||
|
||||
$headers = array('Cookie: '.$cookie.';');
|
||||
$data = get_html($url, $headers);
|
||||
header('Content-type: application/json');
|
||||
echo $data;
|
||||
?>
|
||||
Reference in New Issue
Block a user