15/08/2013, 20:53
|
المشاركة رقم: 1
|
| المعلومات |
| الكاتب: |
|
| اللقب: |
Moderator |
| الصورة الرمزية |
|
|
| البيانات |
| التسجيل : |
Jul 2013 |
| العضوية : |
5329 |
| الاهتمامات : |
|
| الإقامة : |
Root |
| المواضيع : |
20 |
| الردود : |
39 |
| المجموع : |
59 |
| بمعدل : |
0.01 يوميا |
| الاختراقات : |
[Sniffer] |
| مجتمعنا : |
[لم اسجل] |
| الصنف : |
Black Hat Hacker |
| آخر تواجد : |
24/08/2015/18:34 |
| سبب الغياب : |
حاظر |
| معدل التقييم: |
13 |
| نقاط التقييم: |
10 |
شكراً: 10
تم شكره 5 مرة في 4 مشاركة
| الإتصالات |
| الحالة: |
|
| وسائل الإتصال: |
|
|
Joomla Version Check
كود PHP:
#!/bin/bash # Red V!per Joomla Version Checker # Coded By Red H4t V!per # Tnx 2 : Pawel Frankowski
url="$1"
Usage() { echo "" echo "# ******************************************************************************8203;***8203;*******8203;*********************#" echo "# Usage : Red V!per Joomla Version Checker <target> *#" echo "# Help : -h && --help : Show This Menu *#" echo "# RunScript : Give Permision to script and run it !! *#" echo "# Example : ./script.sh ***91;url***93;www.example.com/joomla/***91;/url***93; *#" echo "# ******************************************************************************8203;***8203;*******8203;#" echo "" exit }
Check_Arguments() { if ***91; -z "$url" ***93; || ***91; "$url" == "-h" ***93; || ***91; "$url" == "--help" ***93;; then Usage; exit fi }
Check_Joomla_Version() { clear i=0 echo -e '\E***91;32m'"***91;****93; Start Check ..."; tput sgr0 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0
wget -q "$url/templates/system/css/system.css"
Version=`cat system.css | grep "OpenID icon style"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.5 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
version=`cat system.css | grep "2011-01-09 02:40:25Z ian"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.6 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
version=`cat system.css | grep "2011-05-11 01:10:29Z dextercowley"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.7 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
version=`cat system.css | grep "2012 Open Source Matters"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 2.5 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
wget -q "$url/media/system/js/mootools-more.js"
Version=`cat mootools-more.js | grep "MooTools={version:"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.5 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat mootools-more.js | grep "1.3.0.1"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.6 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat mootools-more.js | grep "1.3.2.1"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.7 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat mootools-more.js | grep "1.4.0.1"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 2.5.6 or 3.0 alpha 2 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
wget -q "$url/language/en-GB/en-GB.ini"
Version=`cat en-GB.ini | grep "11391 2009-01-04 13:35:50Z ian"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.5.26 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat en-GB.ini | grep "20196 2011-01-09 02:40:25Z ian"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.6.0 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat en-GB.ini | grep "2011-03-18 16:42:30Z infograf768"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.6.5 or 1.7.1 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat en-GB.ini | grep "22183 2011-09-30 09:04:32Z infograf768"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 1.7.3 or 1.7.5 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat en-GB.ini | grep "<version>2.5.0"` if ***91; -z "$Version" ***93;; then let i=$i+1 echo -e '\E***91;32m'"***91;****93; Testing method ($i) ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 2.5.0 -> 2.5.4 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi
Version=`cat en-GB.ini | grep "<version>2.5.5"` if ***91; -z "$Version" ***93;; then echo -e '\E***91;32m'"***91;****93; Shit :( Not Found ..."; tput sgr0 sleep 0.5 else echo -e '\E***91;32m'"***91;****93; Found : $url (joomla) Version is 2.5.5 or 2.5.6 "; tput sgr0 echo -e '\E***91;32m'"***91;****93; Finish ..."; tput sgr0 exit fi }
pre_remove() { rm -rf system.css* rm -rf mootools-more.js* rm -rf en-GB.ini* }
main() { pre_remove; Check_Arguments; Check_Joomla_Version; }
main;
|
|
|