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');
|
||||
|
||||
const idx = content.indexOf('function iL');
|
||||
if (idx !== -1) {
|
||||
console.log(content.substring(idx, idx + 500));
|
||||
} else {
|
||||
// Try finding iL= or const iL
|
||||
const m = content.match(/.{0,50}(const iL|var iL|function iL|let iL).{0,200}/);
|
||||
console.log(m ? m[0] : 'not found');
|
||||
}
|
||||
Reference in New Issue
Block a user