A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4751

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

/opt/cron/motd.sh - mcpaste

/opt/cron/motd.sh

Von MC, 10 Jahre vorher, geschrieben in Bash, aufgerufen 1'715 mal.
URL https://mcpaste.de/view/6b2b4b6b Einbetten
Paste herunterladen oder Rohtext anzeigen
  1. #!/bin/bash
  2. echo > /etc/motd
  3. echo -e "\033[40;0;34m=============================================================================\033[0m" >> /etc/motd
  4. echo -e "                                   __               __                       " >> /etc/motd
  5. echo -e "    ____  ____ _      _____  _____/ /_  ____  _____/ /____  _____ ___  __  __" >> /etc/motd
  6. echo -e "   / __ \/ __ \ | /| / / _ \/ ___/ __ \/ __ \/ ___/ __/ _ \/ ___// _ \/ / / /" >> /etc/motd
  7. echo -e "  / /_/ / /_/ / |/ |/ /  __/ /  / / / / /_/ (__  ) /_/  __/ /  _/  __/ /_/ / " >> /etc/motd
  8. echo -e " / .___/\____/|__/|__/\___/_/  /_/ /_/\____/____/\__/\___/_/  (_)___/\____/  " >> /etc/motd
  9. echo -e "/_/                                                                          " >> /etc/motd
  10.  
  11.  
  12. echo -e "\n\033[40;0;34m=============================================================================\033[40;0;32m" >> /etc/motd
  13.  
  14. /bin/df -h >> /etc/motd
  15. echo -e "\033[40;0;34m=============================================================================\033[40;0;32m" >> /etc/motd
  16.  
  17. /usr/bin/free -m >> /etc/motd
  18. echo -e "\033[40;0;34m=============================================================================\033[40;0;32m" >> /etc/motd
  19.  
  20. /usr/bin/uptime >> /etc/motd
  21. echo -e "\033[40;0;34m=============================================================================\033[40;0;32m" >> /etc/motd
  22.  
  23. echo -e "\033[40;1;31m Dies ist der PowerHoser.eu Server\033[0m" >> /etc/motd
  24. echo -e "\033[40;1;31m Sofern Sie nicht die ausdrückliche Genehmigung haben sich hier einzuloggen,\033[0m" >> /etc/motd
  25. echo -e "\033[40;1;31m melden Sie sich bitte umgehend ab. Alle Schritte werden protokolliert und\033[0m" >> /etc/motd
  26. echo -e "\033[40;1;31m wir behalten uns rechtliche Schritte gegen Unbefugte vor.\033[0m" >> /etc/motd
  27. echo -e "\033[40;0;34m=============================================================================\033[0m" >> /etc/motd

Antwort auf "/opt/cron/motd.sh"

Hier kannst Du auf den Paste von oben antworten

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876