W3af
De Linuxmemo.
(Différences entre les versions)
(→Utilisation de la console) |
(→Script de démarrage) |
||
Ligne 31 : | Ligne 31 : | ||
output | output | ||
output config html_file | output config html_file | ||
+ | set output_file ~/w3af-report.html | ||
set verbose true | set verbose true | ||
back | back |
Version du 26 mai 2016 à 19:36
Framework d'Attaque et d'Audit d'Application Web (w3af),
Sommaire |
Install
git clone https://github.com/andresriancho/w3af.git
- Memo Python modules via proxy
vim /tmp/w3af_dependency_install.sh
ajouter le proxy en httpS
sudo pip install --proxy "https://xxx.xxx.xxx.xxx:8080" module
si nécessaire
sudo pip install --proxy "https://xxx.xxx.xxx.xxx:8080" --timeout 30 module
Config
- plugin output
w3af>>> plugins w3af/plugins>>> output console,html_file w3af/plugins>>> output config html_file w3af/plugins/output/config:html_file>>> w3af/plugins/output/config:html_file>>> help w3af/plugins/output/config:html_file>>> view w3af/plugins/output/config:html_file>>> save
output_file ~/report.html File name where this plugin will write to
Script de démarrage
vim basic.w3af plugins output output config html_file set output_file ~/w3af-report.html set verbose true back output config console set verbose true back back #profiles #use full_audit #back # could change this to audit all but just doing Cross Site Scripting Now #target #set target http://localhost #back #start
./w3af_console –s basic.w3af
Utilisation de la console
- Plugins
crawl desc phpinfo # pour la description du plugins crawl phpinfo robots_txt # pour l'activation d'un ou plusieurs plugins
audit config xss # configuration d'un plugins view |-----------------------------------------------------------------------------| | Setting | Value | Description | |-----------------------------------------------------------------------------| | persistent_xss | True | Identify persistent cross site scripting | | | | vulnerabilities | |-----------------------------------------------------------------------------| set persistent_xss False
- profiles
profiles save_as tutorial self-contained Profile saved.
~/.w3af/profiles