Skip to content

HackQL is an intentially vulnerable e-commerce application that makes use of GraphQL. A playground for hacking, learning, and teaching others on GraphQL-related vulnerabilities.

Notifications You must be signed in to change notification settings

MWR-CyberSec/HackQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HackQL

HackQL is an intentially vulnerable e-commerce application that makes use of GraphQL. A playground for hacking, learning, and teaching others on GraphQL-related vulnerabilities.


🧩 Tech Stack

Layer Technology
Frontend Vue 3, Vite, Apollo Client
Backend Node.js, Apollo Server, Prisma ORM
Database SQLite (with Prisma)
Containerization Docker & Docker Compose
Auth JWT-based Authentication

🚀 Getting Started (Docker Setup)

1️⃣ Clone the repository

git clone https://github.com/yourusername/hackql.git
cd hackql

2️⃣ Docker

  • Install Docker
  • After Installation:
docker compose up -d --build

3️⃣ Access Application

  • Access HackQL at: http://localhost:5173/

Localhost Interception (Firefox)

If Burp Suite isn't intercepting traffic to your local web application (localhost or 127.0.0.1), it's usually due to built-in browser security settings that bypass the proxy for loopback addresses.

  1. Essential Proxy Setup Checklist
  • Ensure Burp Suite is running and your browser is pointed to it:
  • Burp Listener: Go to Proxy $\rightarrow$ Options. Verify a Listener is running on 127.0.0.1 and the correct port (default: 8080).
  • Browser Proxy: Configure your browser (manually or via a tool) to use 127.0.0.1 and the Burp port.
  • No Proxy List: Check your browser's proxy settings and ensure the "No Proxy For" list does NOT contain localhost or 127.0.0.1.
  1. Firefox changes:
  • Firefox ignores the proxy for loopback addresses by default, even if you set it manually.
  • In the Firefox address bar, type: about:config
  • Search for the setting: network.proxy.allow_hijacking_localhost
  • Click the Toggle button to change its value from false to true.

About

HackQL is an intentially vulnerable e-commerce application that makes use of GraphQL. A playground for hacking, learning, and teaching others on GraphQL-related vulnerabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published