Huis ยป Linux Gereedschap ยป Dalfox – Parameteranalyse & Tutorial voor XSS-detector

Dalfox – Parameteranalyse & Tutorial voor XSS-detector

door de Suyash
dalfox

Dalfox is een geweldige tool voor parameteranalyse en XSS-scannen.

Dalfox betekent typisch,

Dal = maan (Koreaanse uitspraak ) ; Fox = Vind van XSS.

Dalfox-functies:

  • Parameteranalyse (vind gereflecteerde parameter, vind gratis / slechte karakters, Identificatie van het injectiepunt)
  • Statische analyse (Controleer Bad-header zoals CSP, X-Frame-opties, enzovoort.. met basisverzoek / responsbasis)
  • Optimalisatievraag van payloads
    • Controleer het injectiepunt door abstractie en genereerde de geschikte payload.
    • Elimineer onnodige ladingen op basis van slechte char
  • XSS-scannen(Weerspiegeld + Opgeslagen) en DOM-basisverificatie
  • Alle testlasten(gebouwd in, uw gewoonte / blind) worden parallel met de encoder getest.
    • Ondersteuning voor dubbele URL-encoder
    • Ondersteuning voor HTML Hex Encoder
  • Vriendelijke pijplijn (enkele URL, uit een bestand, van IO)
  • En de verschillende opties die nodig zijn voor het testen ๐Ÿ˜€
    • ingebouwde / aangepaste grepping om andere kwetsbaarheden te vinden
    • als je vond, na actie
    • enzovoort..

Bewerkers keuze:


Hoe Dalfox te installeren?

Er zijn in totaal drie manieren om Dalfox te installeren.

U kunt ze allemaal gebruiken.

1. Go-Install

  1. Kloon eerst deze repository.
$ git clone https://github.com/hahwul/dalfox
  1. Installeer in gekloond Dalfox-pad
$ go install
  1. Dalfox gebruiken
$ ~/go/bin/dalfox

2. Ga halen

  1. ga dalfox halen!
$ go get -u github.com/hahwul/dalfox
  1. Dalfox gebruiken
$ ~/go/bin/dalfox

3. Uitgegeven versie

  1. Open de laatste releasepagina https://github.com/hahwul/dalfox/releases/latest
  2. Download bestand Download en pak het bestand uit dat bij uw besturingssysteem past.
  3. U kunt het in de uitvoeringsdirectory plaatsen en gebruiken. bijv
$ cp dalfox /usr/bin/

Gebruik van Dalfox:

    _..._
  .' .::::.   __   _   _    ___ _ __ __
 :  :::::::: |  \ / \ | |  | __/ \\ V /
 :  :::::::: | o ) o || |_ | _( o )) (
 '. '::::::' |__/|_n_||___||_| \_//_n_\
   '-.::''
Parameter Analysis and XSS Scanning tool based on golang
Finder Of XSS and Dal is the Korean pronunciation of moon. @hahwul


Usage:
  dalfox [command]

Available Commands:
  file        Use file mode(targets list or rawdata)
  help        Help about any command
  pipe        Use pipeline mode
  sxss        Use Stored XSS mode
  update      Update DalFox (Binary patch)
  url         Use single target mode
  version     Show version

Flags:
  -b, --blind string            Add your blind xss (e.g -b hahwul.xss.ht)
      --config string           Using config from file
  -C, --cookie string           Add custom cookie
      --custom-payload string   Add custom payloads from file
  -d, --data string             Using POST Method and add Body data
      --delay int               Milliseconds between send to same host (1000==1s)
      --found-action string     If found weak/vuln, action(cmd) to next
      --grep string             Using custom grepping file (e.g --grep ./samples/sample_grep.json)
  -H, --header string           Add custom headers
  -h, --help                    help for dalfox
      --ignore-return string    Ignore scanning from return code (e.g --ignore-return 302,403,404)
      --only-discovery          Only testing parameter analysis
  -o, --output string           Write to output file
      --output-format string    -o/--output 's format (txt/json/xml)
  -p, --param string            Only testing selected parameters
      --proxy string            Send all request to proxy server (e.g --proxy http://127.0.0.1:8080)
      --silence                 Not printing all logs
      --timeout int             Second of timeout (default 10)
      --user-agent string       Add custom UserAgent
  -w, --worker int              Number of worker (default 40)
$ dalfox [mode] [flags]

Single target-modus

$ dalfox url http://testphp.vulnweb.com/listproducts.php\?cat\=123\&artist\=123\&asdf\=ff -b https://hahwul.xss.ht

Meerdere doelmodi vanuit bestand

$ dalfox file urls_file --custom-payload ./mypayloads.txt

Pijplijnmodus

$ cat urls_file | dalfox pipe -H "AuthToken: bbadsfkasdfadsf87"

Download Dalfox:

dalfox

Gevolgtrekking:

Dalfox is een geweldige tool die je kunt gebruiken.

Als u de waarde hebt gevonden in dit artikel. Zorg ervoor dat je hieronder een reactie geeft en het enthousiasme van ons team een โ€‹โ€‹boost geeft.

Ook met betrekking tot deze tool kunt u suggesties of vragen geven.

Ons team zal proberen u zo snel mogelijk te antwoorden.

Laat een reactie achter