NoPaste

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:
  1. ?php
  2.  
  3. // Use ls command to shell_exec
  4. // function
  5. $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)>
  6.  
  7. $_GET['username'];
  8. $_GET['coins'];
  9. echo $_GET['username'];
  10. echo $_GET['coins'];
  11.  
  12.  
  13. // Display the list of all file
  14. // and directory
  15. echo "<pre>$output</pre>";
  16. ?>

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN