Code AnalysisIntermediate 50s
Trace: Path Traversal
What file does this read when name = '../../etc/passwd'?
Starter code
const p = path.join('/var/www/files', req.query.name);
fs.readFileSync(p);Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.