Advertisement
SH1NU11b1

subeef

Oct 21st, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. #!/bin/sh
  2. clear
  3. sleep 0.5
  4. echo ""
  5. echo "PLEASE SELECT AN OPTION TO CONTINUE"
  6. echo "WITH LAUNCHING SUBTERFUGE..."
  7. echo ""
  8. echo "1 = START ON DEFAULT PORT [80]"
  9. echo "2 = SELECT ALTERNATE PORT NUMBER"
  10. echo ""
  11. echo "OPTION NUMBER: \c"
  12. read option
  13.  
  14.  
  15. if [ $option = "1" ]; then
  16.  
  17.   sleep 1
  18.   xterm -e subterfuge -s 127.0.0.1:80 &
  19.   sleep 4
  20.   firefox 127.0.0.1:80
  21.  
  22. else
  23. if [ $option = "2" ]; then
  24.  
  25.   sleep 1
  26.   echo ""
  27.   echo "WHAT PORT WOULD YOU LIKE TO USE? \c"
  28.   read port
  29.   sleep 1
  30.   xterm -e subterfuge -s 127.0.0.1:$port &
  31.   sleep 4
  32.   firefox 127.0.0.1:$port  
  33.  
  34.  
  35. fi
  36. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement