send
Grupo de Telegram
play_arrow
Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.

Joomla Version Checker

  • 1 Respuestas
  • 2610 Vistas

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado sniffer

  • *
  • Underc0der
  • Mensajes: 3
  • Actividad:
    0%
  • Reputación 0
    • Ver Perfil
« en: Agosto 15, 2013, 04:07:45 pm »


Código: PHP
  1. #!/bin/bash
  2. # Red V!per Joomla Version Checker
  3. # Coded By Red H4t V!per
  4. # Tnx 2 : Pawel Frankowski
  5.  
  6. url="$1"
  7.  
  8. Usage()
  9. {
  10. echo ""
  11. echo "# ***************************************************************************​​****​*********************#"
  12. echo "# Usage : Red V!per Joomla Version Checker <target> *#"
  13. echo "# Help : -h && --help : Show This Menu *#"
  14. echo "# RunScript : Give Permision to script and run it !! *#"
  15. echo "# Example : ./script.sh [url=http://www.example.com/joomla/]www.example.com/joomla/[/url] *#"
  16. echo "# ***************************************************************************​​****​#"
  17. echo ""
  18. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  19. }
  20.  
  21. Check_Arguments()
  22. {
  23. if [ -z "$url" ] || [ "$url" == "-h" ] || [ "$url" == "--help" ]; then
  24. Usage;
  25. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  26. fi
  27. }
  28.  
  29. Check_Joomla_Version()
  30. {
  31. clear
  32. i=0
  33. echo -e '\E[32m'"[*] Start Check ..."; tput sgr0
  34. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  35.  
  36. wget -q "$url/templates/system/css/system.css"
  37.  
  38. Version=`cat You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.css | grep "OpenID icon style"`
  39. if [ -z "$Version" ]; then
  40. let i=$i+1
  41. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  42. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  43. else
  44. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.5 "; tput sgr0
  45. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  46. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  47. fi
  48.  
  49. version=`cat You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.css | grep "2011-01-09 02:40:25Z ian"`
  50. if [ -z "$Version" ]; then
  51. let i=$i+1
  52. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  53. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  54. else
  55. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.6 "; tput sgr0
  56. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  57. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  58. fi
  59.  
  60. version=`cat You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.css | grep "2011-05-11 01:10:29Z dextercowley"`
  61. if [ -z "$Version" ]; then
  62. let i=$i+1
  63. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  64. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  65. else
  66. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.7 "; tput sgr0
  67. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  68. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  69. fi
  70.  
  71. version=`cat You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.css | grep "2012 Open Source Matters"`
  72. if [ -z "$Version" ]; then
  73. let i=$i+1
  74. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  75. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  76. else
  77. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 2.5 "; tput sgr0
  78. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  79. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  80. fi
  81.  
  82. wget -q "$url/media/system/js/mootools-more.js"
  83.  
  84. Version=`cat mootools-more.js | grep "MooTools={version:"`
  85. if [ -z "$Version" ]; then
  86. let i=$i+1
  87. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  88. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  89. else
  90. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.5 "; tput sgr0
  91. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  92. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  93. fi
  94.  
  95. Version=`cat mootools-more.js | grep "1.3.0.1"`
  96. if [ -z "$Version" ]; then
  97. let i=$i+1
  98. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  99. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  100. else
  101. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.6 "; tput sgr0
  102. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  103. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  104. fi
  105.  
  106. Version=`cat mootools-more.js | grep "1.3.2.1"`
  107. if [ -z "$Version" ]; then
  108. let i=$i+1
  109. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  110. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  111. else
  112. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.7 "; tput sgr0
  113. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  114. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  115. fi
  116.  
  117. Version=`cat mootools-more.js | grep "1.4.0.1"`
  118. if [ -z "$Version" ]; then
  119. let i=$i+1
  120. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  121. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  122. else
  123. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 2.5.6 or 3.0 alpha 2 "; tput sgr0
  124. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  125. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  126. fi
  127.  
  128. wget -q "$url/language/en-GB/en-GB.ini"
  129.  
  130. Version=`cat en-GB.ini | grep "11391 2009-01-04 13:35:50Z ian"`
  131. if [ -z "$Version" ]; then
  132. let i=$i+1
  133. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  134. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  135. else
  136. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.5.26 "; tput sgr0
  137. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  138. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  139. fi
  140.  
  141. Version=`cat en-GB.ini | grep "20196 2011-01-09 02:40:25Z ian"`
  142. if [ -z "$Version" ]; then
  143. let i=$i+1
  144. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  145. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  146. else
  147. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.6.0 "; tput sgr0
  148. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  149. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  150. fi
  151.  
  152. Version=`cat en-GB.ini | grep "2011-03-18 16:42:30Z infograf768"`
  153. if [ -z "$Version" ]; then
  154. let i=$i+1
  155. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  156. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  157. else
  158. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.6.5 or 1.7.1 "; tput sgr0
  159. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  160. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  161. fi
  162.  
  163. Version=`cat en-GB.ini | grep "22183 2011-09-30 09:04:32Z infograf768"`
  164. if [ -z "$Version" ]; then
  165. let i=$i+1
  166. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  167. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  168. else
  169. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 1.7.3 or 1.7.5 "; tput sgr0
  170. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  171. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  172. fi
  173.  
  174. Version=`cat en-GB.ini | grep "<version>2.5.0"`
  175. if [ -z "$Version" ]; then
  176. let i=$i+1
  177. echo -e '\E[32m'"[*] Testing method ($i) ..."; tput sgr0
  178. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  179. else
  180. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 2.5.0 -> 2.5.4 "; tput sgr0
  181. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  182. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  183. fi
  184.  
  185. Version=`cat en-GB.ini | grep "<version>2.5.5"`
  186. if [ -z "$Version" ]; then
  187. echo -e '\E[32m'"[*] Shit :( Not Found ..."; tput sgr0
  188. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login 0.5
  189. else
  190. echo -e '\E[32m'"[*] Found : $url (joomla) Version is 2.5.5 or 2.5.6 "; tput sgr0
  191. echo -e '\E[32m'"[*] Finish ..."; tput sgr0
  192. You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  193. fi
  194. }
  195.  
  196. pre_remove()
  197. {
  198. rm -rf You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.css*
  199. rm -rf mootools-more.js*
  200. rm -rf en-GB.ini*
  201. }
  202.  
  203. main()
  204. {
  205. pre_remove;
  206. Check_Arguments;
  207. Check_Joomla_Version;
  208. }
  209.  
  210. main;
  211.  



sample You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login   
« Última modificación: Agosto 15, 2013, 08:02:55 pm por Snifer »

Conectado ANTRAX

  • *
  • Administrator
  • Mensajes: 5283
  • Actividad:
    35%
  • Reputación 28
  • ANTRAX
    • Ver Perfil
    • Underc0de
    • Email
  • Skype: underc0de.org
  • Twitter: @Underc0de
« Respuesta #1 en: Agosto 15, 2013, 04:11:10 pm »
Nice post bro! I will test it!
Thanks!

Regards
ANTRAX


 

¿Te gustó el post? COMPARTILO!



[Bash] Instalador de Ruby (ultima version) en RHEL/CentOS

Iniciado por B3N

Respuestas: 0
Vistas: 1091
Último mensaje Agosto 09, 2015, 12:49:43 pm
por B3N
[Código-Batch] Consola de Comandos Versión Arcoiris - JaAViEr

Iniciado por JaAViEr

Respuestas: 0
Vistas: 1304
Último mensaje Julio 17, 2011, 05:29:39 am
por JaAViEr
Server Joomla Finder

Iniciado por ZanGetsu

Respuestas: 0
Vistas: 1997
Último mensaje Junio 09, 2013, 02:01:30 pm
por ZanGetsu