【安全牛學習筆記】w3af
w3af Web applicaiton Attack and Audit Framework,基於python語言開發 此框架的目標是幫助你發現和利用所有WEB應用程序漏洞 9大類近plugin audit infrastructure grep evasion mangle auth bruteforce outpput crawl |
W3af 安裝(kali自帶版本執行掃描時掛死) cd ~ apt-get update apt-get install -y python-pip w3af pip install --upgrade pip git clone https://github.com/andresriancho/w3af.git cd w3af ./w3af_console (./w3af_gui) apt-get build-dep python-lxml ./tmp/w3af_dependency_install.sh |
自帶的w3af,掃描的時候回卡住,關不掉軟件,必須結束進程
[email protected]:~# ps aux | grep w3af
[email protected]:~# kill -9 1944 1495 1497 1508
[email protected]:~# cd ~
[email protected]:~# apt-get update
命中 http://mirrors.ustc.edu.cn sana InRelease
獲取:1 http://mirrors.ustc.edu.cn sana/updates InRelease [11.9 kB]
獲取:2 http://mirrors.ustc.edu.cn sana/updates/main Sources [106 kB]
命中 http://mirrors.ustc.edu.cn sana/updates/contrib Sources
命中 http://mirrors.ustc.edu.cn sana/updates/non-free Sources
獲取:3 http://mirrors.ustc.edu.cn sana/updates/main amd64 Packages [331 kB]
命中 http://mirrors.ustc.edu.cn sana/updates/contrib amd64 Packages
命中 http://mirrors.ustc.edu.cn sana/updates/non-free amd64 Packages
命中 http://mirrors.ustc.edu.cn sana/main amd64 Packages
命中 http://mirrors.ustc.edu.cn sana/non-free amd64 Packages
命中 http://mirrors.ustc.edu.cn sana/contrib amd64 Packages
忽略 http://mirrors.ustc.edu.cn sana/contrib Translation-zh_CN
忽略 http://mirrors.ustc.edu.cn sana/contrib Translation-zh
忽略 http://mirrors.ustc.edu.cn sana/contrib Translation-en
......
[email protected]:~# apt-get install -y python-pip w3af
正在讀取軟件包列表... 完成
正在分析軟件包的依賴關系樹
正在讀取狀態信息... 完成
python-pip 已經是最新的版本。
python-pip 已設置為手動安裝。
w3af 已經是最新的版本。
升級了 0 個軟件包,新安裝了 0 個軟件包,要卸載 0 個軟件包,有 18 個軟件包未被升級。
[email protected]:~# pip install --upgrade pip
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-8.0.3-py2.py3-none-any.whl#md5=b234250205337ff67967dff300001e3d
Downloading pip-8.0.3-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Installing collected packages: pip
Found existing installation: pip 1.5.6
Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installemd d pip
Cleaning up...
[email protected]:~# git clone https://github.com/andresriancho/w3af.git
正克隆到 ‘w3af‘...
remote: Counting objects: 133697, done.
remote: Total 133697 (delta 0), reused 0 (delta 0), pack-reused 133697
接收對象中: 100% (133697/133697), 157.08 MiB | 151.00 KiB/s, 完成.
處理 delta 中: 100% (102499/102499), 完成.
檢查連接... 完成。
[email protected]:~# ls
w3af 公共 模板 視頻 圖片 文檔 下載 音樂 桌面
[email protected]:~# cd w3af
[email protected]:~/w3af# ./w3af_console //命令行界面
w3af‘s requirements are not met, one or more third-party libraries need to be installed.
On Kali 2.0 systems please install the following operating system packages before running the pip installer:
sudo apt-get -y install libssl-dev libsqlite3-dev libxslt1-dev libyaml-dev
Your python installation needs the following modules to run w3af:
pyclamd github nltk chardet concurrent.futures pyasn1 lxml scapy.config markdown psutil
After installing any missing operating system packages, use pip to install the remaining modules:
sudo pip install pyClamd==0.3.15 PyGithub==1.21.0 nltk==3.0.1 chardet==2.1.1 futures==2.1.5 pyasn1==0.1.8 lxml==3.4.4 scapy-real==2.2.0-dev markdown==2.6.1 psutil==2.2.1
A script with these commands has been created for you at /tmp/w3af_dependency_install.sh
According to Kali‘s documentation [0] in order to avoid breaking the packaged w3af version you should run the following commands:
cd ~
apt-get install -y python-pip
pip install --upgrade pip
git clone https/github.com/andresriancho/w3af.git
cd w3af
./w3af_console
. /tmp/w3af_dependency_install.sh
[0] http://www.kali.org/kali-monday/bleeding-edge-kali-repositories/
[email protected]:~/w3af# cd /tmp/
[email protected]:~/tmp# cat w3af_dependency_install.sh //查看w3af命令行依賴包
!/bin/bash
sudo apt-get -y install libssl-dev libsqlite3-dev libxslt1-dev libyaml-dev
sudo pip install pyClamd==0.3.15 PyGithub==1.21.0 nltk==3.0.1 chardet==2.1.1 futures==2.1.5 pyasn1==0.1.8 lxml==3.4.4 scapy-real==2.2.0-dev markdown==2.6.1 psutil==2.2.1
[email protected]:~/tmp# apt-get build-dep python-lxml
[email protected]:~/tmp# ./w3af_dependency_install.sh //安裝w3af命令行依賴包
[email protected]:~/tmp# cd
[email protected]:~# cd w3af
[email protected]:~/w3af# ./w3af_gui //圖形化行界面
you python installation needs the following modules to run w3af:
xdot
After installing any missing operating system packages, use pip to install the remaining modules:
sudo pip install xdot==0.6
A script with these commands has been created for you at /tmp/w3af_dependency_install.sh
[email protected]:~/w3af# cat /tmp/w3af_dependency_install.sh
#!/bin/bash
sudo pip install xdot==0.6
[email protected]:~/w3af# pip install xdot==0.6
Downloading/unpacking xdot==0.6
Downloading xdot-0.6.tar.gz
Running setup.py (path:/tmp/pip-build-xI8Xu7/xdot/setup.py) egg_info for package xdot
Installing collected packages: xdot
Found existing installation: xdot 0.5
Not uninstalling xdot at /usr/lib/python2.7/dist-packages, owned by OS
Running setup.py install for xdot
Installing xdot script to /usr/local/bin
Successfully installed xdot
Cleaning up...
W3af 升級 git pull 創建快捷方式 /usr/share/applications/w3af.desktop 用戶接口 Console Gui API |
[email protected]:~/w3af# cp /usr/share/applications/w3af.desktop /root/桌面/
[Desktop Entry]
Name=w3af
Encoding=UTF-8
Exec=sh -c "/root/w3af/w3af_gui"
Icon=w3af.png
StartupNotify=false
Terminal=false
Type=Application
Categories=03.webapp.analysis;
[email protected]:~/w3af# cd
[email protected]:~# cd 桌面
[email protected]:~/桌面# chmod +x w3af.desktop
[email protected]:~/桌面# cd
[email protected]:~# cd w3af
[email protected]:~/w3af# ./w3af_console //命令行界面
W3af W3af_console help #顯示可用指令 plugin #進入plugin子命令 Help #顯示可用指令 list sqli xxs #選擇使用的audi插件 http-setting / misc-setings #全局配置 help view #查看可配置的參數 set #設置參數 back #回到上一級命令 |
[email protected]:~/w3af# ./w3af_console //命令行界面
w3af>>> help
w3af>>> plugins
w3af/plugins>>> help
w3af/plugins>>> list aduit
w3af/plugins>>> list grep
w3af/plugins>>> list auth
w3af/plugins>>> list aduit
w3af/plugins>>> aduit xss sqli lfi
w3af/plugins>>> list aduit
w3af/plugins>>> aduit all
w3af/plugins>>> help
w3af/plugins>>> grep all
w3af/plugins>>> crwal
w3af/plugins>>> crwal web_spider
w3af/plugins>>> back
w3af>>> help
w3af>>> profiles
w3af/profiles>>> help
w3af/profiles>>> list
w3af/profiles>>> save_as test
w3af/profiles>>> help
w3af/profiles>>> use fast_scan
w3af/profiles>>> back
w3af>>> help
w3af>>> http-settings
w3af/config:http-settings>>> help
w3af/config:http-settings>>> view
w3af/config:http-settings>>> set rand_user_agent ture
w3af/config:http-settings>>> save
The configuration has been saved.
w3af/config:http-settings>>> back
The configuration has been saved.
w3af>>> help
w3af>>> misc-settings
w3af/config:misc-setting>>> help
w3af/config:misc-setting>>> view
w3af/config:misc-setting>>> back
w3af>>> help
w3af>>> target
w3af/config:target>>> help
w3af/config:target>>> view
w3af/config:target>>> set target http://192.168.1.1
w3af/config:target>>> view
w3af/config:target>>> back
w3af>>> profiles
w3af/profiles>>> save_as test1
W3af Profiles save_as self-contained save_as test self-contained Target set target http://1.1.1.1/ Start Script scrpt/*.w3af |
[email protected]:~# cd w3af
[email protected]:~/w3af# ls
[email protected]:~/w3af# cd scripts/
[email protected]:~/w3af/scripts# ls
[email protected]:~/w3af/scripts# cat sqli.w3af
該筆記為安全牛課堂學員筆記,想看此課程或者信息安全類幹貨可以移步到安全牛課堂
Security+認證為什麽是互聯網+時代最火爆的認證?
牛妹先給大家介紹一下Security+
Security+ 認證是一種中立第三方認證,其發證機構為美國計算機行業協會CompTIA ;是和CISSP、ITIL 等共同包含在內的國際 IT 業 10 大熱門認證之一,和CISSP偏重信息安全管理相比,Security+ 認證更偏重信息安全技術和操作。
通過該認證證明了您具備網絡安全,合規性和操作安全,威脅和漏洞,應用程序、數據和主機安全,訪問控制和身份管理以及加密技術等方面的能力。因其考試難度不易,含金量較高,目前已被全球企業和安全專業人士所普遍采納。
Security+認證如此火爆的原因?
原因一:在所有信息安全認證當中,偏重信息安全技術的認證是空白的, Security+認證正好可以彌補信息安全技術領域的空白 。
目前行業內受認可的信息安全認證主要有CISP和CISSP,但是無論CISP還是CISSP都是偏重信息安全管理的,技術知識講的寬泛且淺顯,考試都是一帶而過。而且CISSP要求持證人員的信息安全工作經驗都要5年以上,CISP也要求大專學歷4年以上工作經驗,這些要求無疑把有能力且上進的年輕人的持證之路堵住。在現實社會中,無論是找工作還是升職加薪,或是投標時候報人員,認證都是必不可少的,這給年輕人帶來了很多不公平。而Security+的出現可以掃清這些年輕人職業發展中的障礙,由於Security+偏重信息安全技術,所以對工作經驗沒有特別的要求。只要你有IT相關背景,追求進步就可以學習和考試。
原因二: IT運維人員工作與翻身的利器。
在銀行、證券、保險、信息通訊等行業,IT運維人員非常多,IT運維涉及的工作面也非常廣。是一個集網絡、系統、安全、應用架構、存儲為一體的綜合性技術崗。雖然沒有程序猿們“生當做光棍,死亦寫代碼”的悲壯,但也有著“鋤禾日當午,不如運維苦“的感慨。天天對著電腦和機器,時間長了難免有對於職業發展的迷茫和困惑。Security+國際認證的出現可以讓有追求的IT運維人員學習網絡安全知識,掌握網絡安全實踐。職業發展朝著網絡安全的方向發展,解決國內信息安全人才的匱乏問題。另外,即使不轉型,要做好運維工作,學習安全知識取得安全認證也是必不可少的。
原因三:接地氣、國際範兒、考試方便、費用適中!
CompTIA作為全球ICT領域最具影響力的全球領先機構,在信息安全人才認證方面是專業、公平、公正的。Security+認證偏重操作且和一線工程師的日常工作息息相關。適合銀行、證券、保險、互聯網公司等IT相關人員學習。作為國際認證在全球147個國家受到廣泛的認可。
在目前的信息安全大潮之下,人才是信息安全發展的關鍵。而目前國內的信息安全人才是非常匱乏的,相信Security+認證一定會成為最火爆的信息安全認證。
本文出自 “11662938” 博客,請務必保留此出處http://11672938.blog.51cto.com/11662938/1967913
【安全牛學習筆記】w3af