This commit is contained in:
Li 2022-06-14 17:51:59 +12:00
parent a2214b412b
commit f42335187c
15 changed files with 15298 additions and 229 deletions

6
cn.html Normal file
View File

@ -0,0 +1,6 @@
<form action="https://x19mclobt.nie.netease.com/game-patch-info/ " method="post">
mc_version=
<input id="mc_version" name="mc_version" value="1015000">
<input type="submit" value="Submit"><br>
0 / 1015000 / 1016000 / 1014003 / 1007010..
</form>

View File

@ -1,21 +1,21 @@
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function send_form(){
if(grecaptcha.getResponse() != "")
{
document.getElementById("upld").submit();
}
else
{
alert("Please solve the CAPTCHA!");
}
}
</script>
<form action="upload.php" method="post" id="upld" enctype="multipart/form-data">
Convert WAV/MP3/OGG/FLAC -> AT9
<input type="file" name="fileUpload" id="fileUpload">
<input type="hidden" name="continueTo" value="toAt9">
<div class="g-recaptcha" data-sitekey="6LfbwrcZAAAAAPKXdRWseksJBtJJRhGgkyWXf1XU"></div>
</form>
<button onclick="send_form()">Convert to At9</button>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function send_form(){
if(grecaptcha.getResponse() != "")
{
document.getElementById("upld").submit();
}
else
{
alert("Please solve the CAPTCHA!");
}
}
</script>
<form action="upload.php" method="post" id="upld" enctype="multipart/form-data">
Convert WAV/MP3/OGG/FLAC -> AT9
<input type="file" name="fileUpload" id="fileUpload">
<input type="hidden" name="continueTo" value="toAt9">
<div class="g-recaptcha" data-sitekey="6LfbwrcZAAAAAPKXdRWseksJBtJJRhGgkyWXf1XU"></div>
</form>
<button onclick="send_form()">Convert to At9</button>

View File

@ -1,56 +1,56 @@
<?php
function to_at9(string $path)
{
$ext = pathinfo($path, PATHINFO_EXTENSION);
$newName = "/home/web/convert/".(string)(time()).".".$ext;
rename($path,$newName);
exec("/home/web/convert/convert_to_at9.sh ".escapeshellarg($newName));
if(!file_exists($newName.".at9"))
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
echo("Error Converting to AT9.");
}
else
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
$name = "/convertjob/".(string)(time()).".at9";
rename($newName.".at9","/home/web/public_html/vitatricks.tk".$name);
return $name;
}
}
function to_flac(string $path)
{
$newName = "/home/web/convert/".(string)(time()).".at9";
rename($path,$newName);
exec("/home/web/convert/convert_to_flac.sh ".escapeshellarg($newName));
if(!file_exists($newName.".flac"))
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
echo("Error Converting to FLAC.");
}
else
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
$name = "/convertjob/".(string)(time()).".flac";
rename($newName.".flac".$ext,"/home/web/public_html/vitatricks.tk".$name);
return $name;
}
}
?>
<?php
function to_at9(string $path)
{
$ext = pathinfo($path, PATHINFO_EXTENSION);
$newName = "/home/web/convert/".(string)(time()).".".$ext;
rename($path,$newName);
exec("/home/web/convert/convert_to_at9.sh ".escapeshellarg($newName));
if(!file_exists($newName.".at9"))
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
echo("Error Converting to AT9.");
}
else
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
$name = "/convertjob/".(string)(time()).".at9";
rename($newName.".at9","/home/web/public_html/vitatricks.xyz".$name);
return $name;
}
}
function to_flac(string $path)
{
$newName = "/home/web/convert/".(string)(time()).".at9";
rename($path,$newName);
exec("/home/web/convert/convert_to_flac.sh ".escapeshellarg($newName));
if(!file_exists($newName.".flac"))
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
echo("Error Converting to FLAC.");
}
else
{
if(file_exists($path))
delete($path);
if(file_exists($newName))
delete($newName);
$name = "/convertjob/".(string)(time()).".flac";
rename($newName.".flac".$ext,"/home/web/public_html/vitatricks.xyz".$name);
return $name;
}
}
?>

View File

@ -1,21 +1,21 @@
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function send_form(){
if(grecaptcha.getResponse() != "")
{
document.getElementById("upld").submit();
}
else
{
alert("Please solve the CAPTCHA!");
}
}
</script>
<form action="upload.php" method="post" id="upld" enctype="multipart/form-data">
Convert AT9 -> FLAC
<input type="file" name="fileUpload" id="fileUpload">
<input type="hidden" name="continueTo" value="fromAt9">
<div class="g-recaptcha" data-sitekey="6LfbwrcZAAAAAPKXdRWseksJBtJJRhGgkyWXf1XU"></div>
</form>
<button onclick="send_form()">Convert to Flac</button>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function send_form(){
if(grecaptcha.getResponse() != "")
{
document.getElementById("upld").submit();
}
else
{
alert("Please solve the CAPTCHA!");
}
}
</script>
<form action="upload.php" method="post" id="upld" enctype="multipart/form-data">
Convert AT9 -> FLAC
<input type="file" name="fileUpload" id="fileUpload">
<input type="hidden" name="continueTo" value="fromAt9">
<div class="g-recaptcha" data-sitekey="6LfbwrcZAAAAAPKXdRWseksJBtJJRhGgkyWXf1XU"></div>
</form>
<button onclick="send_form()">Convert to Flac</button>

View File

@ -1,5 +1,5 @@
<h1>At9 Conversion Services</h1>
<a href="at9convert.html">WAV/Flac/OGG/MP3 -> AT9</a><br>
<a href="flacconvert.html">AT9 -> Flac</a><br><br>
<h1>At9 Conversion Services</h1>
<a href="at9convert.html">WAV/Flac/OGG/MP3 -> AT9</a><br>
<a href="flacconvert.html">AT9 -> Flac</a><br><br>
<b>Files uploaded here are removed within 10 minutes</b>

View File

@ -1,87 +1,87 @@
<?php
include("convert.php");
if(isset($_POST["g-recaptcha-response"]))
{
$url = 'https://www.google.com/recaptcha/api/siteverify';
$data = array(
'secret' => '6LfbwrcZAAAAAAeA9rNiEDilcmeVMH5sjNaYoGIa',
'response' => $_POST["g-recaptcha-response"]
);
$options = array(
'http' => array (
'method' => 'POST',
'content' => http_build_query($data)
)
);
$context = stream_context_create($options);
$verify = file_get_contents($url, false, $context);
$captcha_success=json_decode($verify);
if ($captcha_success->success==false) {
echo "Recaptcha was not solved successfully.";
die();
} else if ($captcha_success->success==true) {
if(strcmp($captcha_success->hostname,"vitatricks.tk") !== 0)
{
echo("Recaptcha returned incorrect hostname.");
die();
}
}
}
else
{
echo("No recaptcha response data sent.");
die();
}
$uploadPath = $_FILES["fileUpload"]["name"];
$ext = pathinfo($uploadPath, PATHINFO_EXTENSION);
//ESCAPE ESSCAPPPEEE!
$ext = str_replace(".","",$ext);
$ext = str_replace("/","",$ext);
$ext = str_replace("*","",$ext);
$ext = addslashes($ext);
$uploadPath = (string)(time()).".".$ext;
$target_dir = "/home/web/public_html/vitatricks.tk/convertjob/";
$target_file = $target_dir . basename($uploadPath);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));
if(isset($_POST["continueTo"]))
{
$continueTo = $_POST["continueTo"];
if($continueTo == "fromAt9")
{
if($ext == "at9")
{
move_uploaded_file($_FILES["fileUpload"]["tmp_name"], $target_file);
$flac_file = to_flac($target_file);
header("Location: ".$flac_file);
}
else
{
echo("Not an AT9 File.");
}
}
else if($continueTo == "toAt9")
{ if($ext == "mp3" || $ext == "ogg" || $ext == "wav" || $ext == "flac")
{
move_uploaded_file($_FILES["fileUpload"]["tmp_name"], $target_file);
$at9_file = to_at9($target_file);
header("Location: ".$at9_file);
}
else
{
echo("Not a OGG, WAV, or FLAC File.");
}
}
else
{
echo("Unkown Action!");
}
}
?>
<?php
include("convert.php");
if(isset($_POST["g-recaptcha-response"]))
{
$url = 'https://www.google.com/recaptcha/api/siteverify';
$data = array(
'secret' => '6LfbwrcZAAAAAAeA9rNiEDilcmeVMH5sjNaYoGIa',
'response' => $_POST["g-recaptcha-response"]
);
$options = array(
'http' => array (
'method' => 'POST',
'content' => http_build_query($data)
)
);
$context = stream_context_create($options);
$verify = file_get_contents($url, false, $context);
$captcha_success=json_decode($verify);
if ($captcha_success->success==false) {
echo "Recaptcha was not solved successfully.";
die();
} else if ($captcha_success->success==true) {
if(strcmp($captcha_success->hostname,"vitatricks.xyz") !== 0)
{
echo("Recaptcha returned incorrect hostname.");
die();
}
}
}
else
{
echo("No recaptcha response data sent.");
die();
}
$uploadPath = $_FILES["fileUpload"]["name"];
$ext = pathinfo($uploadPath, PATHINFO_EXTENSION);
//ESCAPE ESSCAPPPEEE!
$ext = str_replace(".","",$ext);
$ext = str_replace("/","",$ext);
$ext = str_replace("*","",$ext);
$ext = addslashes($ext);
$uploadPath = (string)(time()).".".$ext;
$target_dir = "/home/web/public_html/vitatricks.xyz/convertjob/";
$target_file = $target_dir . basename($uploadPath);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));
if(isset($_POST["continueTo"]))
{
$continueTo = $_POST["continueTo"];
if($continueTo == "fromAt9")
{
if($ext == "at9")
{
move_uploaded_file($_FILES["fileUpload"]["tmp_name"], $target_file);
$flac_file = to_flac($target_file);
header("Location: ".$flac_file);
}
else
{
echo("Not an AT9 File.");
}
}
else if($continueTo == "toAt9")
{ if($ext == "mp3" || $ext == "ogg" || $ext == "wav" || $ext == "flac")
{
move_uploaded_file($_FILES["fileUpload"]["tmp_name"], $target_file);
$at9_file = to_at9($target_file);
header("Location: ".$at9_file);
}
else
{
echo("Not a OGG, WAV, or FLAC File.");
}
}
else
{
echo("Unkown Action!");
}
}
?>

View File

@ -1,9 +1,9 @@
<?php
setcookie("httpCookie","yes",time()+0x500000);
echo("<script> document.cookie = 'jsCookie=yes; expires=Wed, 21 Dec 2022 12:00:00 UTC;';</script>");
echo("I see... <br>");
print_r($_COOKIE);
echo("<br><br>I set a cookie via HTTP and JS!");
<?php
setcookie("httpCookie","yes",time()+0x500000);
echo("<script> document.cookie = 'jsCookie=yes; expires=Wed, 21 Dec 2022 12:00:00 UTC;';</script>");
echo("I see... <br>");
print_r($_COOKIE);
echo("<br><br>I set a cookie via HTTP and JS!");
?>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
<script>
var url = window.prompt("Goto URL:","https://");
document.write("<a href=\""+url+"\">CLICK ME LOL</a>");
<script>
var url = window.prompt("Goto URL:","https://");
document.write("<a href=\""+url+"\">CLICK ME LOL</a>");
</script>

View File

@ -8,7 +8,7 @@ require_once('PHPMailer/src/Exception.php');$email = $_POST["email"];
$mail = new PHPMailer;
$mail->setFrom($MAIL_SERVER_FROM, 'SilicaAndPina');
$mail->addAddress($email, 'You');
$mail->Subject = 'Run "Package Installer" (NPXS10031)';
$mail->Subject = 'Run "Package Installer" (NPXS10031)';
$mail->Body = $MAIL_BODY;
$mail->isHTML(true);
$mail->addAttachment("pkg.ics");

View File

@ -1,8 +1,8 @@
<?php
// Specify EMAIL (FROM) Address:
$MAIL_SERVER_FROM = "silicaandpina@vitatricks.tk";
$MAIL_SERVER_FROM = "silicaandpina@vitatricks.xyz";
// Specify Site URL to be shown in messages
$SITE_NAME = "http://vitatricks.tk";
$SITE_NAME = "http://vitatricks.xyz";
// Specify message to be sent with every email
$MAIL_BODY = 'This message is intended for use with a PlayStation Vita console<br><br>Using a PlayStation Vita click the attached file and then click the WWW Browser icon.<br><br><i>This email was sent using '.$SITE_NAME.'</i>';
$MAIL_BODY = 'This ICS file can be used to call applications on the PSVita.<br>to do this; Load this email in the PSVitas email client<br>and tap the WWW Browser icon.<br><br><br><i>This email was sent from '.$SITE_NAME.'</i>';
?>

View File

@ -13,7 +13,7 @@ $mail->setFrom($MAIL_SERVER_FROM, 'SilicaAndPina');
$mail->addAddress($email, 'You');
$mail->Subject = 'Run "Sign Up" (NPXS10018)';
$mail->Body = $MAIL_BODY;
$mail->isHTML(true);
$mail->isHTML(true);
$mail->addAttachment("signup.ics");
$mail->send();
?>

View File

@ -1,25 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
window.speak= function()
{
speechSynthesis.speak(new SpeechSynthesisUtterance("We're no strangers to love You know the rules and so do I A full commitment's what I'm thinking of You wouldn't get this from any other guy I just wanna tell you how I'm feeling Gotta make you understand Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you We've known each other for so long Your heart's been aching, but You're too shy to say it Inside, we both know what's been going on We know the game and we're gonna play it And if you ask me how I'm feeling Don't tell me you're too blind to see Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Ooh, give you up Ooh, give you up Never gonna give, never gonna give Give you up Never gonna give, never gonna give Give you up We've known each other for so long Your heart's been aching, but You're too shy to say it Inside, we both know what's been going on We know the game and we're gonna play it I just wanna tell you how I'm feeling Gotta make you understand Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you".repeat(500)))
document.getElementById("troll").innerHTML = "<h1>Congratz you played yourself.</h1>";
}
window.addEventListener("click",speak)
window.addEventListener("keydown",speak)
window.addEventListener("touchstart",speak)
</script>
</head>
<body>
<div id="troll">
<h1>We have been receiving a large number of automated requests</h1>
<img src="/fakecaptcha.png"></img>
</div>
</body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
window.speak= function()
{
speechSynthesis.speak(new SpeechSynthesisUtterance("We're no strangers to love You know the rules and so do I A full commitment's what I'm thinking of You wouldn't get this from any other guy I just wanna tell you how I'm feeling Gotta make you understand Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you We've known each other for so long Your heart's been aching, but You're too shy to say it Inside, we both know what's been going on We know the game and we're gonna play it And if you ask me how I'm feeling Don't tell me you're too blind to see Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Ooh, give you up Ooh, give you up Never gonna give, never gonna give Give you up Never gonna give, never gonna give Give you up We've known each other for so long Your heart's been aching, but You're too shy to say it Inside, we both know what's been going on We know the game and we're gonna play it I just wanna tell you how I'm feeling Gotta make you understand Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you".repeat(500)))
document.getElementById("troll").innerHTML = "<h1>Congratz you played yourself.</h1>";
}
window.addEventListener("click",speak)
window.addEventListener("keydown",speak)
window.addEventListener("touchstart",speak)
</script>
</head>
<body>
<div id="troll">
<h1>We have been receiving a large number of automated requests</h1>
<img src="/fakecaptcha.png"></img>
</div>
</body>
</html>

15049
unity.txt Normal file

File diff suppressed because it is too large Load Diff

11
updateserver.xml Normal file
View File

@ -0,0 +1,11 @@
<update_data_list>
<region id="258">
<np level0_system_version="01.600.000" level1_system_version="03.600.000" level2_system_version="03.600.000" map="03.600.000"/>
<np_d level0_system_version="01.600.000" level1_system_version="03.600.000" level2_system_version="03.600.000" map="03.600.000"/>
<version system_version="03.600.000" label="3.60 (TestKit)">
<update_data update_type="full">
<image size="134526464">http://vitatricks.xyz/updateserver/PSP2UPDAT-360-testkit.PUP</image>
</update_data>
</version>
</region>
</update_data_list>