Advertisement
Bayz21

TTY Bash Script

Jan 11th, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.33 KB | None | 0 0
  1. #!/bin/bash
  2. #Coded By Bayz21 - Security Ghost
  3. #Noob Coder , recode = boleh , hapus copyright = mandul >:(
  4.  
  5.  echo "-=Simple TTY Command by Bayz21=-"
  6. choice=13
  7.   echo "1. tty python sh"
  8.  echo "2. tty python bash"
  9.  echo "3. tty echo os.system sh"
  10.  echo "4. tty echo os.system bash "
  11.  echo "5. tty /bin/sh -i"
  12.  echo "6. tty /bin/bash -i"
  13.  echo "7. tty perl sh"
  14.  echo "8. tty perl bash"
  15.  echo "9. tty ruby sh"
  16.  echo "10. tty ruby bash"
  17.  echo "11. tty lua: os.execute sh"
  18.  echo "12. tty lua: os.execute bash"
  19.  echo -n "Pilih metode tty yg lu mau => "
  20.  
  21. while [ $choice -eq 13 ]; do
  22.  
  23. read choice
  24.  
  25. if [ $choice -eq 1 ] ; then
  26.  
  27.         echo `python -c ‘import pty; pty.spawn(/bin/sh)`
  28.  
  29. else                  
  30.  
  31.         if [ $choice -eq 2 ] ; then
  32.                  echo `python -c ‘import pty; pty.spawn(/bin/bash)`
  33.         else
  34.          
  35.                 if [ $choice -eq 3 ] ; then
  36.                         echo `echo os.system(/bin/sh)`
  37.                 else
  38.                
  39.                     if [ $choice -eq 4 ] ; then
  40.                         echo `echo os.system(/bin/bash)`
  41.                         else
  42.                             if [ $choice -eq 5 ] ; then
  43.                         echo `/bin/sh -i`
  44.                         else
  45.                             if [ $choice -eq 6 ] ; then
  46.                         echo `/bin/bash -i`
  47.                         else
  48.                             if [ $choice -eq 7 ] ; then
  49.                         echo `perl: exec/bin/sh”;`
  50.                         else
  51.                         if [ $choice -eq 8 ] ; then
  52.                         echo `perl: exec/bin/bash”;`
  53.                         else
  54.                         if [ $choice -eq 9 ] ; then
  55.                         echo `ruby: exec/bin/sh`
  56.                         else
  57.                         if [ $choice -eq 10 ] ; then
  58.                         echo `ruby: exec/bin/bash`
  59.                         else
  60.                         if [ $choice -eq 11 ] ; then
  61.                         echo `lua: os.execute(/bin/sh)`
  62.                         else
  63.                         if [ $choice -eq 12 ] ; then
  64.                         echo `lua: os.execute(/bin/bash)`
  65.                         else
  66.                
  67.  echo "1. tty python sh"
  68.  echo "2. tty python bash"
  69.  echo "3. tty echo os.system sh"
  70.  echo "4. tty echo os.system bash "
  71.  echo "5. tty /bin/sh -i"
  72.  echo "6. tty /bin/bash -i"
  73.  echo "7. tty perl sh"
  74.  echo "8. tty perl bash"
  75.  echo "9. tty ruby sh"
  76.  echo "10. tty ruby bash"
  77.  echo "11. tty lua: os.execute sh"
  78.  echo "12. tty lua: os.execute bash"
  79.  choice=13
  80.  echo "Powered By Bayz21"
  81.  echo -n "Ngetiknya yg bener tod >:( , pilih metode tty yg lu mau => "
  82.                        
  83.                 fi  
  84.         fi
  85. fi
  86. fi
  87. fi
  88. fi
  89. fi
  90. fi
  91. fi
  92. fi
  93. fi
  94. fi
  95. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement