wormclaude 1.0.176 → 1.0.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/theme.js +1 -1
- package/dist/tools.js +5 -1
- package/package.json +1 -1
package/dist/theme.js
CHANGED
package/dist/tools.js
CHANGED
|
@@ -774,7 +774,11 @@ async function execOne(call, hooks) {
|
|
|
774
774
|
if (all.length)
|
|
775
775
|
rpt += '\n' + all.slice(0, 60).map((x) => ' ' + JSON.stringify(x)).join('\n');
|
|
776
776
|
rpt += `\n[full-done] recon+xss+sqli koşuldu. SecurityScan'i TEKRAR çağırma — bulguları kullanıcıya METİN olarak raporla (özet + öncelikli düzeltmeler).`;
|
|
777
|
-
|
|
777
|
+
const _now = Date.now();
|
|
778
|
+
_scanCache.set(_fk, { out: rpt, t: _now });
|
|
779
|
+
// Alt tarama tiplerini de cache'le → full sonrası model tek tek recon/xss/sqli çağıramaz (gereksiz tekrar).
|
|
780
|
+
for (const _t of ['recon', 'xss', 'sqli'])
|
|
781
|
+
_scanCache.set(_t + '|' + target.toLowerCase(), { out: rpt, t: _now });
|
|
778
782
|
return { ok: true, output: rpt, args };
|
|
779
783
|
}
|
|
780
784
|
catch (e) {
|