Skip to content

XSSer

75 commands

An automated framework for detecting and exploiting cross-site scripting (XSS) vulnerabilities in web applications.

  • XSS
  • injection

Install XSSer

sudo apt install xsser

Basic XSS Detection4

xsser -u "http://example.com"

Initiates a basic scan against the specified target URL

xsser -u "http://example.com/search.php?q=test"

Targets a specific URL with query parameters to test for vulnerabilities

xsser --all-tests -u "http://example.com"

Runs all available heuristics and payload tests against the target

xsser --gtk

Launches the graphical user interface (GUI) version of xsser

Link

GET and POST Parameter Injection3

xsser -u "http://example.com" -g "/search?q="

Manually defines the GET parameter to test for XSS

xsser -u "http://example.com" -p "user=test&pass=test"

Injects payloads into POST data parameters to test for XSS in form submissions

xsser -u "http://example.com" --auto

Automatically analyzes the URL and attempts to inject into all discovered parameters

Authentication and Session Handling2

xsser -u "http://example.com" --auth-type=Basic --auth-cred="user:pass"

Scans a target requiring Basic HTTP Authentication

Link
xsser -u "http://example.com" --auth-type=Digest --auth-cred="user:pass"

Scans a target requiring Digest HTTP Authentication

Link

Proxy, Tor, and Network Configuration2

xsser -u "http://example.com" --proxy="http://127.0.0.1:8080"

Routes scan traffic through a specified HTTP proxy like Burp Suite

Link
xsser -u "http://example.com" --tor

Routes traffic through the Tor network for anonymity

Link

Timing, Delay, and Performance Tuning4

xsser -u "http://example.com" --timeout=30

Sets the connection timeout to 30 seconds for slow responses

Link
xsser -u "http://example.com" --delay=2

Adds a 2-second delay between requests to avoid rate limiting

Link
xsser -u "http://example.com" --threads=5

Runs the scan using 5 concurrent threads for faster results

Link
xsser -u "http://example.com" --retries=3

Retries failed connection attempts up to 3 times

Link

Crawling and Automatic Discovery2

xsser -u "http://example.com" --crawl

Spiders the website to discover links and injection points automatically

Link
xsser -u "http://example.com" --crawl --depth=3

Crawls the target website up to a depth of 3 links deep

Link

Encoding and Filter Evasion11

xsser -u "http://example.com" --Str

Uses the String injection method for payloads

Link
xsser -u "http://example.com" --Hex

Encodes payloads using Hexadecimal to bypass filters

Link
xsser -u "http://example.com" --Hes

Uses Hexadecimal String encoding for payload obfuscation

Link
xsser -u "http://example.com" --Dwo

Encodes IP addresses in payloads as DWORD (double word) format

Link
xsser -u "http://example.com" --Doo

Encodes IP addresses in payloads using Octal representation

Link
xsser -u "http://example.com" --Coo

Injects payloads specifically via Cookie manipulation techniques

Link
xsser -u "http://example.com" --Base64

Encodes the payload in Base64 to bypass WAFs that filter cleartext scripts

Link
xsser -u "http://example.com" --Xss

Injects typical XSS vectors to test standard filter responses

Link
xsser -u "http://example.com" --Unescape

Attempts to inject payloads by unescaping characters to bypass sanitization

Link
xsser -u "http://example.com" --Mix

Mixes multiple encoding types (String, Hex, Octal) in a single payload

Link
xsser -u "http://example.com" --Dec

Uses Decimal encoding for characters in the XSS payload

Link

Payload Selection and Custom Payloads4

xsser -u "http://example.com" --payload="<script>alert(1)</script>"

Injects a specific manual payload instead of using the built-in dictionary

Link
xsser -u "http://example.com" --auto-payloads

Uses all available automatic vector payloads derived from the internal database

Link
xsser -u "http://example.com" --fuzzer

Injects a fuzzing vector to test input validation boundaries

Link
xsser -u "http://example.com" --phpids

Uses specific vectors designed to bypass the PHPIDS intrusion detection system

Link

DOM Based XSS Analysis2

xsser -u "http://example.com" --dom

Specifically checks for DOM-based XSS vulnerabilities in client-side code

Link
xsser -u "http://example.com" --check-at="/search.php?q=" --dom

Verifies DOM XSS injection at a specific path and parameter

Link

Advanced Injection Vectors5

xsser -u "http://example.com" --imx

Tests for Image Metadata XSS (injecting payloads into image tags)

Link
xsser -u "http://example.com" --fla

Tests for vulnerabilities related to Flash (SWF) object embedding

Link
xsser -u "http://example.com" --simple

Uses simple, less aggressive injection vectors to test basic filtering

Link
xsser -u "http://example.com" --final="<script>alert(1)</script>"

Injects the payload specifically into the final parameter found in the URL

Link
xsser -u "http://example.com" --first="<script>alert(1)</script>"

Injects the payload specifically into the first parameter found in the URL

Link

HTTP Method Control1

xsser -u "http://example.com" --head

Uses the HTTP HEAD method for checking target reachability before scanning

Link

Validation and Verification2

xsser -u "http://example.com" --check="/search.php?q="

Performs a stability check on a specific URL to see if it returns a 200 OK

Link
xsser -u "http://example.com" --reverse-check

Establishes a connection from the target back to xsser to verify vulnerability execution

Link

Filter and WAF Evasion Options3

xsser -u "http://example.com" --Bypass=403

Attempts to bypass WAF protections when a 403 Forbidden error is encountered

Link
xsser -u "http://example.com" --Cw="10"

Sets the crawling width to 10 to limit horizontal scanning of the site structure

Link
xsser -u "http://example.com" --Cl

Cleans the target URL parameters before starting the injection process

Link

Output Formats and Logging6

xsser -u "http://example.com" --verbose

Enables verbose output to see detailed request and response data

Link
xsser -u "http://example.com" --save

Saves the scanning results to a file for later analysis

Link
xsser -u "http://example.com" --xml="report.xml"

Exports the scan results into an XML formatted report

Link
xsser -u "http://example.com" --statistics

Displays statistical information about the scan progress and results

Link
xsser -u "http://example.com" --no-head

Disables the output banner for cleaner logs in automated pipelines

Link
xsser -u "http://example.com" --update

Updates the xsser tool and its internal database to the latest version

Link

Multi Target Scanning2

xsser -i "targets.txt"

Reads a list of target URLs from a file to perform bulk scanning

Link
xsser --dork="inurl:search.php?q="

Uses a search engine dork to find and scan multiple targets matching the pattern

Link

Reflected XSS Scanning1

xsser -u "http://example.com" --heuristic

Uses heuristic analysis to determine if parameters are reflected in the response

Link

Red Team XSS Operations3

xsser -u "http://example.com" --follow-redirects

Follows HTTP 3xx redirects to ensure the payload reaches the final destination

Link
xsser -u "http://example.com" --launch

Launches a browser instance to manually verify the XSS upon discovery

Link
xsser -u "http://example.com" --xss-platform="http://my-xss-platform.com"

Integrates with an external XSS receiver platform to detect blind XSS execution

Link

Advanced and Combined Real World Attacks5

xsser -u "http://example.com" --crawl --depth=2 --auto --threads=3

Combines crawling, automatic injection, and multi-threading for a full site assessment

Link
xsser -u "http://example.com" --headers --cookie="auth=1" --proxy="http://127.0.0.1:8080"

Tests header injection on an authenticated session while routing through a proxy

Link
xsser -u "http://example.com" --Hex --Hes --Base64

Combines multiple encoding techniques to bypass complex WAF rules

Link
xsser -u "http://example.com" --post="data=1" --p="q="

Combines raw POST data with a specific POST parameter definition

Link
xsser -u "http://example.com" --ignore-proxy

Ignores system proxy settings and connects directly to the target

Link

Web Application Reconnaissance2

xsser -u "http://example.com" --alive

Checks if the target URL is alive and reachable before starting any tests

Link
xsser -u "http://example.com" --server-info

Retrieves and displays information about the target web server banner

Link

Blue Team Detection and Validation1

xsser -u "http://example.com" --short=5

Displays only the first 5 characters of the vulnerable response for quick validation

Link

SSL and HTTPS Configuration1

xsser -u "https://example.com"

Automatically handles SSL/HTTPS connections when the target scheme is https

Link

Batch Mode and Automation2

xsser -i "urls.txt" --auto --save --xml="scan_results.xml"

Runs an automated batch scan on a list of URLs and saves results to XML

Link
xsser -u "http://example.com" --silent

Runs the scan in silent mode, suppressing most output except errors

Link

Incident Response and Assessment Scenarios2

xsser -u "http://example.com" --dns-timeout=5

Sets a specific timeout for DNS resolution to handle network instability

Link
xsser -u "http://example.com" --destroy-cookie

Tests for the ability to overwrite or destroy existing session cookies

Link