wormclaude 1.0.162 → 1.0.163

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 CHANGED
@@ -16,4 +16,4 @@ export const theme = {
16
16
  synType: '#a78bfa', // tip/sınıf adları, sabitler
17
17
  synProp: '#e0e0e0', // özellik/anahtar adları
18
18
  };
19
- export const VERSION = '1.0.162';
19
+ export const VERSION = '1.0.163';
package/dist/tools.js CHANGED
@@ -726,11 +726,13 @@ async function execOne(call, hooks) {
726
726
  // 3.4) Güvenlik taraması — kullanıcı "tara/scan/xss/sqli/recon" deyince model bu aracı çağırır;
727
727
  // elle PowerShell payload yazmak YERİNE sunucu motorunu (runPentest) çalıştırır.
728
728
  if (call.name === 'SecurityScan') {
729
- const tool = String(args?.tool || '').toLowerCase().trim();
729
+ let tool = String(args?.tool || '').toLowerCase().trim();
730
730
  const target = String(args?.target || '').trim();
731
731
  if (!['recon', 'scan', 'xss', 'sqli'].includes(tool) || !target) {
732
732
  return { ok: false, output: 'SecurityScan: tool (recon|scan|xss|sqli) ve target gerekli.', args };
733
733
  }
734
+ if (tool === 'scan')
735
+ tool = 'recon'; // "scan" genel tarama → motorun bildiği "recon" (slash ile aynı)
734
736
  try {
735
737
  const { runPentest } = await import('./pentest.js');
736
738
  const out = await runPentest(cfg(), tool, target, true, () => { });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.162",
3
+ "version": "1.0.163",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {