wormclaude 1.0.89 → 1.0.90

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/commands.js CHANGED
@@ -743,14 +743,16 @@ export async function runSlashCommand(input, ctx) {
743
743
  case '/skill': {
744
744
  const m = (arg || '').trim().split(/\s+/).filter(Boolean);
745
745
  const sub = (m.shift() || '').toLowerCase();
746
- if (['xss', 'sqli', 'recon', 'scan'].includes(sub)) {
746
+ // dahili (xss/sqli/recon) VEYA sunucudaki şablon id'si — sunucu doğrular
747
+ if (sub && !['list', 'help', 'ls', ''].includes(sub)) {
747
748
  await pentestCmd(sub, m.join(' '), ctx);
748
749
  return true;
749
750
  }
750
- ctx.note('Güvenlik tarama skill\'leri (seviye 3+ · ayrı kurulum gerekmez, motor sunucuda):\n' +
751
- ' /skill xss <url> reflected XSS\n' +
752
- ' /skill sqli <url> SQL injection (error/boolean/time)\n' +
753
- ' /skill recon <alan> alt-alan + başlık + ifşa\n' +
751
+ ctx.note('Güvenlik tarama skill\'leri (seviye 3+ · motor sunucuda gizli):\n' +
752
+ ' /skill xss <url> reflected XSS\n' +
753
+ ' /skill sqli <url> SQL injection (error/boolean/time)\n' +
754
+ ' /skill recon <alan> alt-alan + başlık + ifşa\n' +
755
+ ' /skill <şablon-id> <hedef> sunucudaki özel şablonlar (.md)\n' +
754
756
  'Çalıştırmak için sonuna "run" ekle:\n' +
755
757
  ' /skill xss https://site/p?id=1 run\n' +
756
758
  '(kısa yol: /xss /sqli /recon)');
package/dist/pentest.js CHANGED
@@ -36,7 +36,7 @@ async function execReq(req, allowed) {
36
36
  method: req.method || 'GET',
37
37
  headers: req.headers,
38
38
  body: req.body,
39
- redirect: 'follow',
39
+ redirect: req.follow === false ? 'manual' : 'follow', // open-redirect vb. için Location'ı görmek
40
40
  signal: AbortSignal.timeout(Math.max(3, req.timeout || 20) * 1000),
41
41
  });
42
42
  let body = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {