Files
iceyfox.xyz/mcjsonupdate.php
iceyrazor 8fa8d22b41 - added old script
- added another help website
2025-12-17 01:38:52 -06:00

18 lines
525 B
PHP
Executable File

<html>
<body>
<?php
$json = file_get_contents('php://input');
$json= str_replace(["<",">"], "", $json);
$data = json_decode($json);
if($data->pass=="ejhwkreyhu82eyhuv8ebnjkelwhj3k"){
unset($data->pass);
$data->mods[0]=str_replace("<", "",$data->mods[0]);
$data->mods[0]=str_replace(">", "",$data->mods[0]);
file_put_contents("minecraft_mod_list.json", json_encode($data));
} else {
echo "pass incorrect";
}
?>
</body>
<script language="javascript" type="text/javascript">window.close();</script>
</html>