
Un outil automatique de découverte de XSS
xsssniper est un outil pratique de découverte XSS avec des fonctionnalités de scan de masse.
Usage: xsssniper.py [options]
Options:
-h, --help show this help message and exit
-u URL, --url=URL target URL
--post try a post request to target url
--data=POST_DATA post data to use
--threads=THREADS number of threads
--http-proxy=HTTP_PROXY
scan behind given proxy (format: 127.0.0.1:80)
--tor scan behind default Tor
--crawl crawl target url for other links to test
--forms crawl target url looking for forms to test
--user-agent=USER_AGENT
provide an user agent
--random-agent perform scan with random user agents
--cookie=COOKIE use a cookie to perform scans
--dom basic heuristic to detect dom xss
Analyse d’une URL unique avec paramètres GET :
$ python xsssniper.py -u "http://target.com/index.php?page=test"
Analyse d’une URL unique avec paramètres POST :
$ python xsssniper.py -u "http://target.com/index.php" --post --data=POST_DATA
Analyse en profondeur d’une URL unique à la recherche de formulaires à tester :
$ python xsssniper.py -u "http://target.com" --forms
Analyse de masse d’un site web entier :
$ python xsssniper.py -u "http://target.com" --crawl
Analyse de masse d’un site web entier, formulaires inclus :
$ python xsssniper.py -u "http://target.com" --crawl --forms
Analyse des JavaScript (intégrés et liés) de la page cible à la recherche de sources et sinks courants :
$ python xsssniper.py -u "http://target.com" --dom
Licence ISC.
Copyright (c) 2012, Gianluca Brindisi < [email protected] >
La permission est accordée, gratuitement, à toute personne obtenant une copie de ce logiciel et des fichiers de documentation associés (le « Logiciel »), d’utiliser, copier, modifier, fusionner, publier, distribuer, sous‑licencier et/ou vendre des copies du Logiciel, et d’autoriser les personnes auxquelles le Logiciel est fourni à faire de même, sous réserve que l’avis de copyright ci‑dessus et cet avis de permission soient inclus dans toutes les copies ou parties substantielles du Logiciel.
LE LOGICIEL EST FOURNI « EN L’ÉTAT », SANS GARANTIE D’AUCUNE SORTE, EXPLICITE OU IMPLICITE, Y COMPRIS MAIS SANS S’Y LIMITER LES GARANTIES DE QUALITÉ MARCHANDE, D’ADAPTATION À UN USAGE PARTICULIER ET D’ABSENCE DE CONTREFAÇON. EN AUCUN CAS L’AUTEUR NE POURRA ÊTRE TENU RESPONSABLE DE TOUT DOMMAGE DIRECT, INDIRECT, ACCESSOIRE, SPÉCIAL, EXEMPLAIRE OU CONSÉCUTIF (Y COMPRIS MAIS SANS S’Y LIMITER L’ACQUISITION DE PRODUITS OU SERVICES DE SUBSTITUTION, LA PERTE D’UTILISATION, DE DONNÉES OU DE PROFITS, OU L’INTERRUPTION D’ACTIVITÉ), QUELLE QU’EN SOIT LA CAUSE ET QUELLE QUE SOIT LA THÉORIE DE RESPONSABILITÉ, QUE CE SOIT PAR CONTRAT, RESPONSABILITÉ STRICTE OU DÉLIT (Y COMPRIS LA NÉGLIGENCE OU AUTRE), DÉCOULANT DE L’UTILISATION OU DE L’IMPUISSANCE À UTILISER LE LOGICIEL, MÊME SI L’AUTEUR A ÉTÉ AVISÉ DE LA POSSIBILITÉ DE TELS DOMMAGES.