- added old script

- added another help website
This commit is contained in:
2025-12-17 01:38:52 -06:00
parent 582ebe996f
commit 8fa8d22b41
3 changed files with 19 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
iceyrazor.gpg.pub
assets/img/**
mmd/*
mcjsonupdate.php

View File

@@ -22,6 +22,7 @@
<h3>beginner stuff</h3>
<p>Here's a beginner guide i found <a href="https://linuxjourney.com/">linuxjourney.com</a></p>
<p>another one <a href="https://tldp.org/index.html">tldp.org</a></p>
<p>Here is a beginner linux video showing some basic linux stuff as well as basic linux commands <a href="https://youtu.be/ROjZy1WbCIA">Linux Operating System - Crash Course for Beginners</a></p>
<h3>self hosting</h3>

18
mcjsonupdate.php Executable file
View File

@@ -0,0 +1,18 @@
<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>