Coder Social home page Coder Social logo

anger / voyager-js Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 8 KB

Voyager.js is a Node.js script designed for testing URLs for template injection vulnerabilities. It automates the process of appending known injection strings to URLs and monitors the responses for signs of successful injection.

License: MIT License

JavaScript 100.00%
bugbounty ctf-tools ssti ssti-payloads webhacking

voyager-js's Introduction

around-the-globe--v4

Voyager.js

Voyager.js is a Node.js script designed for testing URLs for template injection vulnerabilities. It automates the process of appending known injection strings to URLs and monitors the responses for signs of successful injection.

Features

  • Injection Testing: Tests a list of known injection strings against provided URLs.
  • User-Agent Rotation: Cycles through a list of user agents for each request.
  • Command-Line Options: Customizable user agents, injection values, and logging.
  • Logging: Option to log successful injections to a file for further analysis.

Installation

Before installing, ensure you have Node.js installed on your system. You can download Node.js from here.

Clone the repository & install required dependencies:

git clone https://github.com/anger/voyager-js.git
cd voyager-js
npm install

Usage

To run the script, use the following command in your terminal:

node voyager.js

Command-Line Options

--log, -l: Enable logging of successful injections to a file.
--user-agent, -u: Specify a custom user agent for requests.
--value, -v: Test a specific injection value.

Example of running with options:

node voyager.js --log
node voyager.js --user-agent "Custom User Agent"
node voyager.js --value "{{1337*1337}}"

Enter the base URL to test at the prompt. To stop the script, type 'exit' or use Ctrl+C.

Future Features

Planned enhancements for Voyager.js include:

  1. Interactive CLI: Implementing a more interactive command-line interface using libraries like inquirer.js for a better user experience.

  2. Advanced Error Handling: Enhancing error handling to manage different types of errors more effectively, providing more detailed feedback to the user.

  3. Proxy Support: Adding the ability to route requests through proxies for testing from different network locations or for privacy concerns.

  4. Parameterized Injection Points: Allowing users to specify where in the URL the injection values should be placed, such as in the query parameters, path, or even in HTTP headers.

  5. Extended Timeout Control: Providing options to set custom timeout durations for different types of connections and responses.

  6. Rate Limiting: Incorporating rate limiting features to prevent sending too many requests in a short time frame.

  7. Automated Scripting: Enabling the tool to run automated scripts for batch processing of multiple URLs or injection patterns.

  8. Integration with Security Tools: Integrating with popular security testing frameworks or vulnerability scanners for more comprehensive testing capabilities.

  9. Customizable Output Formats: Allowing users to choose different formats for output logs, such as JSON, XML, or CSV, for easier integration with other tools and systems.

  10. Dockerization: Packaging the application in a Docker container for ease of deployment and consistency across various environments.

  11. Multithreading/Parallel Requests: Implementing multithreading or parallel processing to handle multiple requests simultaneously, thus improving the tool's efficiency.

  12. Enhanced Logging Options: Expanding the logging functionality to include different levels of verbosity and the ability to log to different destinations (files, databases, etc.).

  13. Time Based SSTI Payloads

These features aim to enhance the usability, functionality, and versatility of Voyager.js, making it a more comprehensive tool for SSTI testing.

voyager-js's People

Contributors

anger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.