- added old script
- added another help website
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
|||||||
iceyrazor.gpg.pub
|
iceyrazor.gpg.pub
|
||||||
assets/img/**
|
assets/img/**
|
||||||
mmd/*
|
mmd/*
|
||||||
mcjsonupdate.php
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
<h3>beginner stuff</h3>
|
<h3>beginner stuff</h3>
|
||||||
<p>Here's a beginner guide i found <a href="https://linuxjourney.com/">linuxjourney.com</a></p>
|
<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>
|
<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>
|
<h3>self hosting</h3>
|
||||||
|
|||||||
18
mcjsonupdate.php
Executable file
18
mcjsonupdate.php
Executable 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>
|
||||||
Reference in New Issue
Block a user