feat: initial commit of Ghaymah internal DNS, TCP and security testing suite and report
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const fs = require('fs');
|
||||
const content = fs.readFileSync('D:/cumin/ghaymah_dns_net_sec_tests/ghaymah_bundle.js', 'utf8');
|
||||
|
||||
let pos = 0;
|
||||
while (true) {
|
||||
const idx = content.indexOf('createApp', pos);
|
||||
if (idx === -1) break;
|
||||
console.log('=== MATCH at', idx, '===');
|
||||
console.log(content.substring(Math.max(0, idx - 100), idx + 250));
|
||||
pos = idx + 1;
|
||||
}
|
||||
Reference in New Issue
Block a user