8 lines
346 B
JavaScript
8 lines
346 B
JavaScript
const fs = require('fs');
|
|
const content = fs.readFileSync('D:/cumin/ghaymah_dns_net_sec_tests/ghaymah_bundle.js', 'utf8');
|
|
|
|
// Find where createApp or qe is invoked
|
|
const matches = content.match(/.{0,50}(?:createApp|qe)\s*\(\s*\{.{0,200}/g) || [];
|
|
console.log('Matches:', matches.length);
|
|
matches.slice(0, 5).forEach(m => console.log('---', m));
|