AntiDebug Breaker AntiDebug Breaker
  • Home
  • Overview
  • Installation
  • Quickstart
  • Scripts
  • ๐Ÿ”’ AntiDebug
  • Bypass Debugger
  • hook log
  • Hook table
  • hook clear
  • hook close
  • hook history
  • Fixed window size
  • Locate navigation code
  • ๐Ÿ” Crypto Hooks
  • Hook CryptoJS
  • Hook JSEncrypt
  • Hook SM-crypto
  • ๐Ÿช API Hooks
  • Fixed-value Hooks
  • Observation Hooks
  • Keyword-filtered Hooks
  • ๐ŸŸข Vue
  • Get routes
  • Clear redirects
  • Clear navigation guards
  • Enable Vue Devtools
  • ๐Ÿ”ต React
  • Get routes
  • Use cases
  • FAQ
  • Team tools
  • Sponsors
  • GitHub (opens new window)
Home
Overview
Installation
Quickstart
  • ๐Ÿ”’ AntiDebug

    • Bypass Debugger
    • hook log
    • Hook table
    • hook clear
    • hook close
    • hook history
    • Fixed window size
    • Locate navigation code
  • ๐Ÿ” Crypto Hooks

    • Hook CryptoJS
    • Hook JSEncrypt
    • Hook SM-crypto
  • ๐Ÿช API Hooks

    • Fixed-value Hooks
    • Observation Hooks
    • Keyword-filtered Hooks
  • ๐ŸŸข Vue

    • Get routes
    • Clear redirects
    • Clear navigation guards
    • Enable Vue Devtools
  • ๐Ÿ”ต React

    • Get routes
Use cases
FAQ
Team tools
Sponsors
GitHub (opens new window)
  • ็ฎ€ไฝ“ไธญๆ–‡
  • English
  • Home
  • Overview
  • Installation
  • Quickstart
  • Scripts
  • ๐Ÿ”’ AntiDebug
  • Bypass Debugger
  • hook log
  • Hook table
  • hook clear
  • hook close
  • hook history
  • Fixed window size
  • Locate navigation code
  • ๐Ÿ” Crypto Hooks
  • Hook CryptoJS
  • Hook JSEncrypt
  • Hook SM-crypto
  • ๐Ÿช API Hooks
  • Fixed-value Hooks
  • Observation Hooks
  • Keyword-filtered Hooks
  • ๐ŸŸข Vue
  • Get routes
  • Clear redirects
  • Clear navigation guards
  • Enable Vue Devtools
  • ๐Ÿ”ต React
  • Get routes
  • Use cases
  • FAQ
  • Team tools
  • Sponsors
  • GitHub (opens new window)
Home
Overview
Installation
Quickstart
  • ๐Ÿ”’ AntiDebug

    • Bypass Debugger
    • hook log
    • Hook table
    • hook clear
    • hook close
    • hook history
    • Fixed window size
    • Locate navigation code
  • ๐Ÿ” Crypto Hooks

    • Hook CryptoJS
    • Hook JSEncrypt
    • Hook SM-crypto
  • ๐Ÿช API Hooks

    • Fixed-value Hooks
    • Observation Hooks
    • Keyword-filtered Hooks
  • ๐ŸŸข Vue

    • Get routes
    • Clear redirects
    • Clear navigation guards
    • Enable Vue Devtools
  • ๐Ÿ”ต React

    • Get routes
Use cases
FAQ
Team tools
Sponsors
GitHub (opens new window)
  • ็ฎ€ไฝ“ไธญๆ–‡
  • English
BestProxy BestProxy ยท 10% off code ZCTYUH90 RapidProxy RapidProxy ยท 10% off code 0xsdeo
  • ๐Ÿ”’ AntiDebug
  • ๐Ÿ” Crypto Hooks
  • ๐Ÿช API Hooks
  • ๐ŸŸข Vue
    • Get Routes
      • Description
      • When to use it
      • Frequently asked questions
        • Some routes are missing
      • Underlying approach
    • Clear Redirects
    • Clear Navigation Guards
    • Enable Vue Devtools
  • ๐Ÿ”ต React
  • Script Reference
  • Vue Helper Scripts
  • Get Routes
0xsdeo
2026-06-02
Contents

Get Routes

BestProxy BestProxy ยท 10% off code ZCTYUH90 RapidProxy RapidProxy ยท 10% off code 0xsdeo

# Get Routes โ€” Extract Vue Router routes

# Description

Retrieves loaded routes and displays them in the table at the bottom of the extension. Routes that have not been loaded cannot be retrieved. If no routes appear after a long wait, the target website may not use Vue Router, or it may not have finished loading.

# When to use it

On a Vue website, enable this script to retrieve routes and expand the attack surface you can assess. Example:

# Frequently asked questions

# Some routes are missing

For example, some websites load only routes such as /login, without loading the administration routes:

This happens because the administration routes have not been loaded:

This is the Vue dynamic route attack surface I first documented last year. Here is a practical example. My recommended approach is to include the routes directly when the router is instantiated:

$e contains the loaded routes. Use concat to append the routes that have not been loaded:

Refresh the page and check the extension. You must refresh with DevTools already open via F12; otherwise, the replacement JavaScript will not run:

The previously unloaded routes are now loaded, expanding the attack surface.

# Underlying approach

For more Vue techniques, including removing navigation guards, loading dynamic routes, and removing redirects, see my two-part Vue series published last year:

Maximizing JavaScript Collection in Vue Single-Page Applications

Maximizing Route Discovery in Vue Single-Page Applications

Non-fixed-value Scripts with Keyword Filtering
Clear Redirects

โ† Non-fixed-value Scripts with Keyword Filtering Clear Redirectsโ†’

Theme by Vdoing | Copyright ยฉ 2025-2026 0xsdeo
  • System
  • Light
  • Dark
  • Reading