dnsx3

Install && Run Fiddler debugger on Ubuntu

Oct 30th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.92 KB | None | 0 0
  1. # Coder By : Lov3rDns / @NetDevr
  2. # My Home  : http://www.BlackFoxs.com/
  3. # Title    : Fiddler debugger is a computer program that assists in the detection and correction of errors in website .
  4.  
  5. function download()
  6. {
  7. if [ -f "fiddler-linux.zip" ]
  8. then
  9. chmod 777 fiddler-fox
  10. cd fiddler-fox
  11. mono Fiddler.exe
  12. echo "
  13.  
  14. is over. I wish you good luck
  15.  
  16. "
  17. else
  18. wget http://telerik-fiddler.s3.amazonaws.com/fiddler/fiddler-linux.zip --no-proxy
  19. unzip -d fiddler-fox fiddler-linux.zip
  20. chmod 777 fiddler-fox
  21. cd fiddler-fox
  22. mono Fiddler.exe
  23. echo "
  24.  
  25. is over. I wish you good luck
  26.  
  27. "
  28. fi
  29. }
  30.  
  31. if [ "$1" = "-i" ];
  32. then
  33. echo "Welcome $( whoami ) [ Install Fiddler ......>]"
  34. sleep 3
  35. if [ -d "fiddler-fox" ]
  36. then
  37. echo "You are already download the Fiddler [ Run Fiddler ......>]"
  38. sleep 3
  39. chmod 777 fiddler-fox
  40. cd fiddler-fox
  41. mono Fiddler.exe
  42. echo "
  43.  
  44. is over. I wish you good luck
  45.  
  46. "
  47. elif [ -f "fiddler-linux.zip" ]
  48. then
  49. unzip -d fiddler-fox fiddler-linux.zip
  50. chmod 777 fiddler-fox
  51. cd fiddler-fox
  52. mono Fiddler.exe
  53. echo "
  54.  
  55. is over. I wish you good luck
  56.  
  57. "
  58. else
  59. PKG_OK=$(dpkg-query -W --showformat='${Status}\n' mono-complete|grep "install ok installed")
  60. echo Checking for somelib: $PKG_OK
  61. download
  62. if [ "" == "$PKG_OK" ]; then
  63.   echo "You don't install package mono-complete !
  64.  i'll try to install mono-complete now ... :)"
  65.   sleep 3
  66.   sudo apt-get --force-yes --yes install mono-complete
  67.   echo "The package was installed successfully, the program will be loaded and run now"
  68.   sleep 3
  69.   download
  70. fi
  71. fi
  72. elif [ "$1" = "-r" ];
  73. then
  74. if [ -d "fiddler-fox" ]
  75. then
  76. echo "Welcome $( whoami ) [ Run Fiddler ......>]"
  77. sleep 3
  78. chmod 777 fiddler-fox
  79. cd fiddler-fox
  80. mono Fiddler.exe
  81. echo "
  82.  
  83. is over. I wish you good luck
  84.  
  85. "
  86. else
  87. download
  88. fi
  89. else
  90. echo "
  91. [+]----------------------[+]
  92. Usage : bash $0 -install
  93. Usage : bash $0 -run
  94.  
  95. Example : bash $0 -i
  96. Example : bash $0 -r
  97. [+]----------------------[+]
  98. "
  99. exit
  100. fi
Add Comment
Please, Sign In to add comment