1. Prapattimynk

    Don't Use Spread Operator with Byte Arrays in JavaScript

    🚫 Don't Use Spread Operator with Byte Arrays in JavaScript Many devs (including experienced ones) unknowingly kill performance when handling byte arrays like this: // ❌ Bad Practice const bytes1 = randomBytes(500); const bytes2 = randomBytes(300); const bytes3 = randomBytes(200); const...
  2. Prapattimynk

    DOM XSS LAB - Vulnerability Analysis & Walkthrough

    🧪 Overview A classic DOM-based XSS challenge involving poor URL validation logic and parameter filtering. This write-up walks through the vulnerable JavaScript code and how to exploit it. 🔍 Step-by-Step Analysis Step 1: Parameter Parsing Function (Lines 84–91) var p = function () { const s...
Back
Top