This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function ProtectMyCode($html) { | |
| $complex_html = str_replace(array("\r","\n"),"",$html); | |
| $encoded = base64_encode($complex_html); | |
| session_start(); | |
| $_SESSION['jsvar'] = chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)); | |
| $_SESSION['divid'] = chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)).chr(rand(65,90)); | |
| echo ' | |
| <script> | |
| var '.$_SESSION['jsvar'].' = atob("'.$encoded.'"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Minecraft Server Status code for Discord.js | |
| Author: https://github.com/mariolatiffathy | |
| Usage: %mcserver IP:PORT | if PORT is not specified then 25565 will be used. | |
| */ | |
| const { Client, Util } = require('discord.js'); | |
| const Discord = require('discord.js'); | |
| const client = new Client(); | |
| var prefix = "%"; |
NewerOlder