feat: initial commit of Ghaymah internal DNS, TCP and security testing suite and report

This commit is contained in:
2026-10-12 23:43:09 +03:00
commit bdcd2d44f5
57 changed files with 6499 additions and 0 deletions
+11
View File
@@ -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 = 1028159;
const endIdx = content.indexOf('function ', idx + 50);
const rqBody = content.substring(idx, endIdx !== -1 ? endIdx : idx + 10000);
// Find where i (createApp) or a (updateApp) is called
const matches = rqBody.match(/.{0,50}(?:await\s+[ia]\s*\(|[ia]\s*\(\{).{0,300}/g) || [];
console.log('Matches:', matches.length);
matches.forEach(m => console.log('---', m));