8 lines
262 B
JavaScript
8 lines
262 B
JavaScript
const fs = require('fs');
|
|
const content = fs.readFileSync('D:/cumin/ghaymah_dns_net_sec_tests/ghaymah_bundle.js', 'utf8');
|
|
|
|
const idx = content.indexOf('t(D.port),expose:D.exposePort');
|
|
if (idx !== -1) {
|
|
console.log(content.substring(idx - 600, idx + 100));
|
|
}
|