Script
von StaticDev- SNIPPET_DESC:
- Das ist mein PHP-Script, wobei ich Hilfe benötige
- SNIPPET_CREATION_TIME:
- 13.07.2019 14:02:55
- SNIPPET_PRUNE_TIME:
- Unendlich
- SNIPPET_TEXT:
-
- ?php
- // Use ls command to shell_exec
- // function
- $output = shell_exec("screen -x root -S master -X stuff $'rl all\n'"); Hier soll der Nutzer Name root angegeben werden, also vom screen Befehl und der Befehl "cmd Lobby-1 addcoins <nutzername (die php Attribute)> <coins (die php atribute)>
- $_GET['username'];
- $_GET['coins'];
- echo $_GET['username'];
- echo $_GET['coins'];
- // Display the list of all file
- // and directory
- echo "<pre>$output</pre>";
- ?>
Quellcode
Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN