nuclei-templates/http/exposures/logs/squid-analysis-report-gener...

40 lines
1.0 KiB
YAML

id: squid-analysis-report-generator
info:
name: Squid Analysis Report Generator
author: geeknik
severity: high
description: SARG is an open source tool that allows you to analyse the squid log files and generates beautiful reports in HTML format with information about users, IP addresses, top accessed sites, total bandwidth
usage, elapsed time, downloads, access denied websites, daily reports, weekly reports and monthly reports.
reference:
- https://sourceforge.net/projects/sarg/
tags: sarg,exposure,logs
metadata:
max-request: 1
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Squid User Access Report"
- "Squid User's Access Report"
condition: or
- type: word
part: body
words:
- "<td>Daily reports"
- "FILE/PERIOD"
condition: or
extractors:
- type: regex
part: body
regex:
- sarg-[0-99].[0-99].[0-99]