-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtool_registry.py
More file actions
2082 lines (2007 loc) · 78.5 KB
/
tool_registry.py
File metadata and controls
2082 lines (2007 loc) · 78.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""
Tool Registry with compact schemas for the AI agent.
Categorized tool definitions with minimal schemas.
Only 5-8 tools are loaded per task category to fit small model context windows.
Can be increased or decreased as needed, but focus on the most effective tools for each category.
"""
from typing import Dict, List, Optional
import logging
from typing import TypedDict, Any
logger = logging.getLogger(__name__)
# ---------------------------------------------------------------------------
# Schema definition for tool registry entries.
# Every entry in TOOLS must conform to this shape.
# ---------------------------------------------------------------------------
class ToolDefinition(TypedDict, total=False):
desc: str # required
endpoint: str # required — must start with "/"
method: str # required — e.g. "POST"
category: str # required
params: dict # required — required parameters
optional: dict # required — optional parameters with defaults
effectiveness: float # required — 0.0–1.0
_REQUIRED_TOOL_KEYS: tuple = ("desc", "endpoint", "method", "category", "params", "optional", "effectiveness")
def _validate_registry(tools: Dict[str, dict]) -> None:
"""Validate all entries in the TOOLS registry at import time.
Raises ValueError listing all malformed entries so the server fails fast
rather than silently serving broken tool definitions at runtime.
"""
errors: List[str] = []
for name, defn in tools.items():
missing = [k for k in _REQUIRED_TOOL_KEYS if k not in defn]
if missing:
errors.append(f" '{name}': missing keys {missing}")
endpoint = defn.get("endpoint", "")
if endpoint and not endpoint.startswith("/"):
errors.append(f" '{name}': endpoint {endpoint!r} must start with '/'")
eff = defn.get("effectiveness")
if eff is not None and not (0.0 <= eff <= 1.0):
errors.append(f" '{name}': effectiveness {eff!r} must be between 0.0 and 1.0")
if errors:
raise ValueError(
"tool_registry: the following TOOLS entries are malformed:\n" + "\n".join(errors)
)
# ---------------------------------------------------------------------------
# Tool definitions - each entry is intentionally compact so the full category
# fits well under the context window of smaller models when serialized.
# ---------------------------------------------------------------------------
TOOLS: Dict[str, dict] = {
# ---- AI ----
"ai_analyze_session": {
"desc": "Analyse an existing workflow session with the LLM.",
"endpoint": "/api/intelligence/analyze-session",
"method": "POST",
"category": "ai_assist",
"params": {"session_id": {"required": True}},
"optional": {},
"effectiveness": 0.90,
},
# ---- Vulnerability Intelligence ----
"vulnx": {
"desc": "CVE vulnerability intelligence and analysis",
"endpoint": "/api/vuln-intel/vulnx",
"method": "POST",
"category": "vulnerability_intelligence",
"params": {},
"optional": {"cve_id": "", "search": "", "auth_key": ""},
"effectiveness": 0.90,
},
# ---- URL Recon ----
"waymore": {
"desc": "Find URLs and responses from various archives using waymore.",
"endpoint": "/api/tools/waymore",
"method": "POST",
"category": "osint",
"params": {"input": {"required": True}},
"optional": {"mode": "U", "output_urls": "", "output_responses": ""},
"effectiveness": 0.85,
},
# ---- Intelligence ----
"analyze-target": {
"desc": "Analyze target and create comprehensive profile using Intelligent Decision Engine",
"endpoint": "/api/intelligence/analyze-target",
"method": "POST",
"category": "intelligence",
"params": {"target": {"required": True}},
"optional": {},
"effectiveness": 0.92,
},
"create-attack-chain": {
"desc": "Create an intelligent attack chain based on target profile",
"endpoint": "/api/intelligence/create-attack-chain",
"method": "POST",
"category": "intelligence",
"params": {"target": {"required": True}},
"optional": {"objective": "comprehensive"},
"effectiveness": 0.90,
},
"preview-attack-chain": {
"desc": "Preview an intelligent attack chain without persisting a session",
"endpoint": "/api/intelligence/preview-attack-chain",
"method": "POST",
"category": "intelligence",
"params": {"target": {"required": True}},
"optional": {"objective": "comprehensive"},
"effectiveness": 0.89,
},
"smart-scan": {
"desc": "Execute an intelligent scan using AI-driven tool selection and parameter optimization with parallel execution",
"endpoint": "/api/intelligence/smart-scan",
"method": "POST",
"category": "intelligence",
"params": {"target": {"required": True}},
"optional": {"objective": "comprehensive", "max_tools": 5},
"effectiveness": 0.93,
},
"technology-detection": {
"desc": "Detect technologies and create technology-specific testing recommendations",
"endpoint": "/api/intelligence/technology-detection",
"method": "POST",
"category": "intelligence",
"params": {"target": {"required": True}},
"optional": {},
"effectiveness": 0.90,
},
# "cve-monitor": {
# "desc": "Monitor CVE databases for new vulnerabilities with AI analysis.",
# "endpoint": "/api/vuln-intel/cve-monitor",
# "method": "POST",
# "category": "vulnerability_intelligence",
# "params": {},
# "optional": {
# "keywords": ""
# },
# "effectiveness": 0.90,
# },
# ---- Network Recon ----
"nmap": {
"desc": "Port scan and service detection",
"endpoint": "/api/tools/nmap",
"method": "POST",
"category": "essential",
"params": {"target": {"required": True}},
"optional": {"scan_type": "-sCV", "ports": "", "additional_args": "-T4 -Pn"},
"effectiveness": 0.95,
},
"nmap_advanced": {
"desc": "Advanced Nmap scans with custom NSE scripts and optimized timing",
"endpoint": "/api/tools/nmap-advanced",
"method": "POST",
"category": "network_recon",
"params": {"target": {"required": True}},
"optional": {"scan_type": "-sS", "ports": "", "timing": "T4", "nse_scripts": "", "os_detection": False, "version_detection": False, "aggressive": False, "stealth": False, "additional_args": ""},
"effectiveness": 0.97,
"parent_tool": "nmap"
},
"masscan": {
"desc": "Fast mass port scanner",
"endpoint": "/api/tools/masscan",
"method": "POST",
"category": "network_recon",
"params": {"target": {"required": True}},
"optional": {"ports": "1-65535", "rate": "1000", "additional_args": ""},
"effectiveness": 0.92,
},
"rustscan": {
"desc": "Ultra-fast port scanner",
"endpoint": "/api/tools/rustscan",
"method": "POST",
"category": "network_recon",
"params": {"target": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.90,
},
"enum4linux": {
"desc": "SMB/RPC enumeration on Windows/Samba",
"endpoint": "/api/tools/enum4linux",
"method": "POST",
"category": "network_recon",
"params": {"target": {"required": True}},
"optional": {"additional_args": "-a"},
"effectiveness": 0.80,
},
"smbmap": {
"desc": "SMB share enumeration",
"endpoint": "/api/tools/smbmap",
"method": "POST",
"category": "network_recon",
"params": {"target": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.85,
},
"arp-scan": {
"desc": "ARP-based host discovery on local network",
"endpoint": "/api/tools/arp-scan",
"method": "POST",
"category": "network_recon",
"params": {"target": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.85,
},
# ---- Web Recon ----
"gobuster": {
"desc": "Directory and file brute-forcer",
"endpoint": "/api/tools/gobuster",
"method": "POST",
"category": "essential",
"params": {"url": {"required": True}},
"optional": {"mode": "dir", "wordlist": "/usr/share/wordlists/dirb/common.txt", "additional_args": ""},
"effectiveness": 0.90,
},
"ffuf": {
"desc": "Fast web fuzzer for dirs, vhosts, params",
"endpoint": "/api/tools/ffuf",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"wordlist": "/usr/share/wordlists/dirb/common.txt", "mode": "directory", "match_codes": "200,204,301,302,307,401,403", "additional_args": ""},
"effectiveness": 0.90,
},
"feroxbuster": {
"desc": "Recursive content discovery",
"endpoint": "/api/tools/feroxbuster",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"wordlist": "/usr/share/wordlists/dirb/common.txt", "threads": 10, "additional_args": ""},
"effectiveness": 0.85,
},
"katana": {
"desc": "Web crawler for endpoint discovery",
"endpoint": "/api/tools/katana",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.88,
},
"gospider": {
"desc": "Web spider for crawling URLs, sitemap, robots, and third-party sources",
"endpoint": "/api/tools/gospider",
"method": "POST",
"category": "web_recon",
"params": {},
"optional": {
"site": "",
"sites": "",
"proxy": "",
"output": "",
"user_agent": "web",
"cookie": "",
"headers": [],
"burp": "",
"blacklist": "",
"threads": 1,
"concurrent": 5,
"depth": 1,
"delay": 0,
"random_delay": 0,
"timeout": 10,
"sitemap": False,
"robots": True,
"other_source": False,
"include_subs": False,
"include_other_source": False,
"debug": False,
"verbose": False,
"no_redirect": False,
"version": False,
"additional_args": ""
},
"effectiveness": 0.84,
},
"httpx": {
"desc": "HTTP probing and tech detection",
"endpoint": "/api/tools/httpx",
"method": "POST",
"category": "web_recon",
"params": {"target": {"required": True}},
"optional": {"probe": True, "tech_detect": False, "status_code": False, "title": False, "additional_args": ""},
"effectiveness": 0.85,
},
"hurl": {
"desc": "Hexadecimal & URL encoder + decoder with support for various encodings and transformations",
"endpoint": "/api/tools/data_processing/hurl",
"method": "POST",
"category": "data_processing",
"params": {"input": {"required": True}},
"optional": {"mode": "base64_encode", "suppress": True, "additional_args": ""},
"effectiveness": 0.84,
},
"testssl": {
"desc": "TLS and SSL analysis with testssl.sh",
"endpoint": "/api/tools/testssl",
"method": "POST",
"category": "web_recon",
"params": {"target": {"required": True}},
"optional": {"protocols": True, "server_defaults": True, "quiet": True, "additional_args": ""},
"effectiveness": 0.89,
},
"dirsearch": {
"desc": "Web path scanner",
"endpoint": "/api/tools/dirsearch",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.87,
},
"wafw00f": {
"desc": "Web application firewall detection",
"endpoint": "/api/tools/wafw00f",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.80,
},
"wpscan": {
"desc": "WordPress vulnerability scanner",
"endpoint": "/api/tools/wpscan",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"additional_args": "--disable-tls-checks --enumerate u,vp,vt"},
"effectiveness": 0.95,
},
"joomscan": {
"desc": "Joomla vulnerability scanner",
"endpoint": "/api/tools/web_recon/joomscan",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.90,
},
"interactsh": {
"desc": "Out-of-band interaction client for detecting blind vulnerabilities (SSRF, XSS, DNS exfiltration)",
"endpoint": "/api/tools/web_scan/interactsh",
"method": "POST",
"category": "web_scan",
"params": {},
"optional": {
"server": "",
"token": "",
"n": 1,
"poll_interval": 5,
"timeout": 60,
"additional_args": "",
},
"effectiveness": 0.88,
},
# ---- Web Vuln ----
"nuclei": {
"desc": "Template-based vulnerability scanner",
"endpoint": "/api/tools/nuclei",
"method": "POST",
"category": "web_vuln",
"params": {"target": {"required": True}},
"optional": {"severity": "", "tags": "", "template": "", "additional_args": ""},
"effectiveness": 0.95,
},
"nikto": {
"desc": "Web server vulnerability scanner",
"endpoint": "/api/tools/nikto",
"method": "POST",
"category": "essential",
"params": {"target": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.85,
},
"sqlmap": {
"desc": "Automatic SQL injection detection and exploitation",
"endpoint": "/api/tools/sqlmap",
"method": "POST",
"category": "essential",
"params": {"url": {"required": True}},
"optional": {"data": "", "additional_args": ""},
"effectiveness": 0.90,
},
"dalfox": {
"desc": "XSS vulnerability scanner",
"endpoint": "/api/tools/dalfox",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"blind": False, "additional_args": ""},
"effectiveness": 0.93,
},
"xsser": {
"desc": "Cross-site scripting scanner",
"endpoint": "/api/tools/xsser",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.80,
},
"dotdotpwn": {
"desc": "Directory traversal scanner",
"endpoint": "/api/tools/dotdotpwn",
"method": "POST",
"category": "web_recon",
"params": {"target": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.78,
},
"jaeles": {
"desc": "Web security scanning framework",
"endpoint": "/api/tools/jaeles",
"method": "POST",
"category": "web_recon",
"params": {"url": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.92,
},
# ---- Exploitation ----
"commix": {
"desc": "Command injection exploitation tool",
"endpoint": "/api/tools/exploitation/commix",
"method": "POST",
"category": "exploitation",
"params": {"url": {"required": True}},
"optional": {"level": "", "additional_args": ""},
"effectiveness": 0.85,
},
"msfvenom": {
"desc": "Metasploit payload generator",
"endpoint": "/api/tools/msfvenom",
"method": "POST",
"category": "exploitation",
"params": {"payload": {"required": True}},
"optional": {"format": "elf", "lhost": "", "lport": "4444", "additional_args": ""},
"effectiveness": 0.85,
},
# ---- Brute Force ----
"hydra": {
"desc": "Network login brute-forcer",
"endpoint": "/api/tools/hydra",
"method": "POST",
"category": "essential",
"params": {"target": {"required": True}, "service": {"required": True}},
"optional": {"username": "", "username_file": "", "password": "", "password_file": "", "additional_args": ""},
"effectiveness": 0.80,
},
"hashcat": {
"desc": "GPU-accelerated password cracker",
"endpoint": "/api/tools/hashcat",
"method": "POST",
"category": "essential",
"params": {"hash_file": {"required": True}, "hash_type": {"required": True}},
"optional": {"attack_mode": "0", "wordlist": "/usr/share/wordlists/rockyou.txt", "mask": "", "additional_args": ""},
"effectiveness": 0.85,
},
"john": {
"desc": "Password cracker with many formats",
"endpoint": "/api/tools/john",
"method": "POST",
"category": "essential",
"params": {"hash_file": {"required": True}},
"optional": {"wordlist": "/usr/share/wordlists/rockyou.txt", "format_type": "", "additional_args": ""},
"effectiveness": 0.80,
},
"medusa": {
"desc": "Network login brute-forcer",
"endpoint": "/api/tools/medusa",
"method": "POST",
"category": "brute_force",
"params": {"target": {"required": True}, "module": {"required": True}},
"optional": {"username": "", "username_file": "", "password": "", "password_file": "", "additional_args": ""},
"effectiveness": 0.80,
},
"patator": {
"desc": "Multi-purpose brute-forcer",
"endpoint": "/api/tools/patator",
"method": "POST",
"category": "brute_force",
"params": {"target": {"required": True}, "module": {"required": True}},
"optional": {"username": "", "username_file": "", "password": "", "password_file": "", "additional_args": ""},
"effectiveness": 0.80,
},
"ophcrack": {
"desc": "Windows hash cracker using rainbow tables",
"endpoint": "/api/tools/password-cracking/ophcrack",
"method": "POST",
"category": "brute_force",
"params": {"hash_file": {"required": True}},
"optional": {"tables_dir": "", "tables": "", "additional_args": ""},
"effectiveness": 0.75,
},
"hashid": {
"desc": "Identify hash types from hash strings",
"endpoint": "/api/tools/password_cracking/hashid",
"method": "POST",
"category": "brute_force",
"params": {"hash": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.80,
},
# ---- Active Directory ----
"ldapdomaindump": {
"desc": "Dump LDAP information from Active Directory",
"endpoint": "/api/tools/active_directory/ldapdomaindump",
"method": "POST",
"category": "active_directory",
"params": {"hostname": {"required": True}},
"optional": {"username": "", "password": "", "authtype" : "NTLM"},
"effectiveness": 0.85,
},
"impacket-scripts": {
"desc": "Execute Impacket scripts with dynamic arguments (e.g. GetADUsers, secretsdump, smbclient, psexec)",
"endpoint": "/api/tool/active_directory/impacket",
"method": "POST",
"category": "active_directory",
"params": {
"script": {"required": True},
"target": {"required": True}
},
"optional": {
"options": ""
},
"effectiveness": 0.90
},
"impacket-spec": {
"desc": "Retrieve argument specification and usage for a given Impacket script",
"endpoint": "/api/tool/active_directory/impacket/spec",
"method": "POST",
"category": "active_directory",
"params": {
"script": {"required": True}
},
"optional": {},
"effectiveness": 0.85,
"parent_tool": "impacket-scripts"
},
"impacket-ad-enum": {
"desc": "Convenience wrapper for Active Directory enumeration Impacket scripts such as GetADUsers, GetNPUsers, GetUserSPNs, lookupsid, and findDelegation",
"endpoint": "/api/tool/active_directory/impacket",
"method": "POST",
"category": "active_directory",
"params": {
"script": {"required": True},
"target": {"required": True}
},
"optional": {
"dc_ip": "",
"username": "",
"password": "",
"hashes": "",
"kerberos": False,
"no_pass": False,
"aes_key": "",
"debug": False,
"extra_options": "",
"extra_args": ""
},
"effectiveness": 0.92,
"parent_tool": "impacket-scripts"
},
"impacket-remote-exec": {
"desc": "Convenience wrapper for remote execution Impacket scripts such as psexec, wmiexec, smbexec, dcomexec, and atexec",
"endpoint": "/api/tool/active_directory/impacket",
"method": "POST",
"category": "lateral_movement",
"params": {
"script": {"required": True},
"target": {"required": True}
},
"optional": {
"command": "",
"username": "",
"password": "",
"domain": "",
"hashes": "",
"kerberos": False,
"no_pass": False,
"aes_key": "",
"share": "",
"shell_type": "",
"debug": False,
"extra_options": "",
"extra_args": "",
"use_recovery": True
},
"effectiveness": 0.91,
"parent_tool": "impacket-scripts"
},
# ---- OSINT ----
"parsero": {
"desc": " Reads the Robots.txt file of a web server and looks at the Disallow entries.",
"endpoint": "/api/tools/osint/parsero",
"method": "POST",
"category": "osint",
"params": {"target": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.85,
},
"whois": {
"desc": "WHOIS lookup for domains and IPs",
"endpoint": "/api/tools/whois",
"method": "POST",
"category": "osint",
"params": {"target": {"required": True}},
"optional": {},
"effectiveness": 0.80,
},
"http-headers": {
"desc": "Fetch HTTP response headers via curl -sI (security headers, server info, redirects)",
"endpoint": "/api/tools/http-headers",
"method": "POST",
"category": "web_recon",
"params": {"target": {"required": True}},
"optional": {"https": False, "follow_redirects": True, "timeout": 10},
"effectiveness": 0.82,
},
"dig": {
"desc": "DNS record lookup — A, MX, NS, TXT records via dig +short",
"endpoint": "/api/tools/dig",
"method": "POST",
"category": "osint",
"params": {"target": {"required": True}},
"optional": {"record_types": ["A", "MX", "NS", "TXT"], "timeout": 15},
"effectiveness": 0.83,
"parent_tool": "bind9-dnsutils"
},
"amass": {
"desc": "Subdomain enumeration and OSINT",
"endpoint": "/api/tools/amass",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"mode": "enum", "additional_args": ""},
"effectiveness": 0.85,
},
"subfinder": {
"desc": "Passive subdomain discovery",
"endpoint": "/api/tools/subfinder",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"silent": True, "all_sources": False, "additional_args": ""},
"effectiveness": 0.82,
},
"assetfinder": {
"desc": "Passive subdomain discovery using certificate and web sources",
"endpoint": "/api/tools/assetfinder",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"only_subdomains": True, "additional_args": ""},
"effectiveness": 0.80,
},
"shuffledns": {
"desc": "Active subdomain bruteforce and resolution with wildcard handling",
"endpoint": "/api/tools/shuffledns",
"method": "POST",
"category": "osint",
"params": {},
"optional": {
"domain": "",
"domains": [],
"auto_domain": False,
"list": "",
"wordlist": "",
"resolver": "",
"trusted_resolver": "",
"raw_input": "",
"mode": "",
"threads": 10000,
"output": "",
"json": False,
"wildcard_output": "",
"massdns": "",
"massdns_cmd": "",
"directory": "",
"retries": 5,
"strict_wildcard": False,
"wildcard_threads": 250,
"silent": False,
"version": False,
"verbose": False,
"no_color": False,
"update": False,
"disable_update_check": False,
"additional_args": ""
},
"effectiveness": 0.86,
},
"massdns": {
"desc": "High-performance DNS stub resolver for bulk subdomain resolution",
"endpoint": "/api/tools/massdns",
"method": "POST",
"category": "osint",
"params": {"domainlist": {"required": True}},
"optional": {
"bindto": "",
"busy_poll": False,
"resolve_count": 50,
"drop_group": "",
"drop_user": "",
"extended_input": False,
"filter": "",
"flush": False,
"ignore": "",
"interval": 500,
"error_log": "",
"norecurse": False,
"output": "",
"predictable": False,
"processes": 1,
"quiet": False,
"rand_src_ipv6": "",
"rcvbuf": 0,
"retry": "",
"resolvers": "",
"root": False,
"hashmap_size": 10000,
"sndbuf": 0,
"status_format": "",
"sticky": False,
"socket_count": 1,
"record_type": "A",
"verify_ip": False,
"outfile": "",
"additional_args": ""
},
"effectiveness": 0.87,
},
"sublist3r": {
"desc": "Subdomain enumeration using OSINT sources",
"endpoint": "/api/osint/tools/sublist3r",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"threads": 3, "engine": ""},
"effectiveness": 0.80,
},
"fierce": {
"desc": "DNS reconnaissance tool",
"endpoint": "/api/tools/fierce",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.75,
},
"dnsenum": {
"desc": "DNS enumeration and zone transfer",
"endpoint": "/api/tools/dnsenum",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.78,
},
"gau": {
"desc": "Fetch known URLs from AlienVault/Wayback",
"endpoint": "/api/tools/gau",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.82,
},
"waybackurls": {
"desc": "Fetch URLs from Wayback Machine",
"endpoint": "/api/tools/waybackurls",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.80,
},
"theHarvester": {
"desc": "Passive information gathering from public sources",
"endpoint": "/api/tools/recon/theharvester",
"method": "POST",
"category": "osint",
"params": {"domain": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.80,
},
# ---- WiFi Pentest ----
"eaphammer" : {
"desc": "Rogue access point framework for WiFi pentesting",
"endpoint": "/api/tools/wifi_pentest/eaphammer",
"method": "POST",
"category": "wifi_pentest",
"params": {"interface": {"required": True}, "essid": {"required": True}},
"optional": {"channel": 6, "auth_mode": "", "attack_type": "", "negotiate": "", "cert_path": ""},
"effectiveness": 0.88,
},
"aircrack-ng": {
"desc": "Crack WPA/WPA2 PSK from captured handshake files using a wordlist.",
"endpoint": "/api/tools/wifi_pentest/aircrack_ng",
"method": "POST",
"category": "wifi_pentest",
"params": {
"capture_files": {"required": True},
"wordlist": {"required": True},
},
"optional": {"bssid": ""},
"effectiveness": 0.91,
},
"airmon-ng": {
"desc": "Enable or disable monitor mode on a wireless interface.",
"endpoint": "/api/tools/wifi_pentest/airmon_ng",
"method": "POST",
"category": "wifi_pentest",
"params": {
"interface": {"required": True},
"action": {"required": True},
},
"optional": {"channel": ""},
"effectiveness": 0.95,
},
"airodump-ng": {
"desc": "Passive 802.11 capture — discovers APs/clients, captures WPA handshakes.",
"endpoint": "/api/tools/wifi_pentest/airodump_ng",
"method": "POST",
"category": "wifi_pentest",
"params": {"interface": {"required": True}},
"optional": {
"output_prefix": "capture",
"bssid": "",
"channel": "",
"essid": "",
},
"effectiveness": 0.93,
},
"aireplay-ng": {
"desc": "Packet injection — deauth, fake auth, ARP replay, injection test.",
"endpoint": "/api/tools/wifi_pentest/aireplay_ng",
"method": "POST",
"category": "wifi_pentest",
"params": {
"interface": {"required": True},
"attack_mode": {"required": True},
},
"optional": {
"bssid": "",
"client_mac": "",
"count": 0,
},
"effectiveness": 0.90,
},
"checksec": {
"desc": "Check binary security properties (NX, PIE, RELRO)",
"endpoint": "/api/tools/checksec",
"method": "POST",
"category": "binary",
"params": {"file": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.85,
},
"binwalk": {
"desc": "Firmware analysis and extraction",
"endpoint": "/api/tools/binwalk",
"method": "POST",
"category": "binary",
"params": {"file": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.80,
},
"strings": {
"desc": "Extract printable strings from binary",
"endpoint": "/api/tools/strings",
"method": "POST",
"category": "forensics",
"params": {"file": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.70,
},
"ropgadget": {
"desc": "Find ROP gadgets in binary",
"endpoint": "/api/tools/ropgadget",
"method": "POST",
"category": "binary",
"params": {"file": {"required": True}},
"optional": {"additional_args": ""},
"effectiveness": 0.82,
},
"radare2": {
"desc": "Binary analysis and disassembly",
"endpoint": "/api/tools/radare2",
"method": "POST",
"category": "binary",
"params": {"file": {"required": True}},
"optional": {"commands": "", "additional_args": ""},
"effectiveness": 0.88,
},
# ---- Cloud ----
"pacu" : {
"desc": "AWS exploitation framework for post-compromise activities",
"endpoint": "/api/tools/pacu",
"method": "POST",
"category": "cloud",
"params": {"session_name": {"required": True}},
"optional": {"modules": "", "data_services": "", "regions": "", "additional_args": ""},
"effectiveness": 0.90,
},
"cloudmapper" : {
"desc": "AWS network visualization and security analysis",
"endpoint": "/api/tools/cloudmapper",
"method": "POST",
"category": "cloud",
"params": {"account": {"required": True}, "action": {"required": True}},
"optional": {"config": "config.json", "additional_args": ""},
"effectiveness": 0.90,
},
"prowler": {
"desc": "AWS/Azure/GCP security audit",
"endpoint": "/api/tools/prowler",
"method": "POST",
"category": "cloud",
"params": {},
"optional": {"provider": "aws", "profile": "default", "region": "", "checks": "", "additional_args": ""},
"effectiveness": 0.90,
},
"trivy": {
"desc": "Container and filesystem vulnerability scanner",
"endpoint": "/api/tools/trivy",
"method": "POST",
"category": "cloud",
"params": {"target": {"required": True}},
"optional": {"scan_type": "image", "severity": "", "additional_args": ""},
"effectiveness": 0.88,
},
"kube-hunter": {
"desc": "Kubernetes penetration testing",
"endpoint": "/api/tools/kube-hunter",
"method": "POST",
"category": "cloud",
"params": {},
"optional": {"additional_args": ""},
"effectiveness": 0.82,
},
# ---- Bots and AI-driven tools ----
"bbot": {
"desc": "Reconnaissance and enumeration with BBot",
"endpoint": "/api/bot/bbot",
"method": "POST",
"category": "osint",
"params": {"target": {"required": True}, "parameters": {"required": True}},
"optional": {},
"effectiveness": 0.90,
},
# ---- Binary Analysis (extended) ----
"angr": {
"desc": "Binary analysis framework — symbolic execution, CFG, static analysis",
"endpoint": "/api/tools/angr",
"method": "POST",
"category": "binary",
"params": {"binary": {"required": True}},
"optional": {"script_content": "", "find_address": "", "avoid_addresses": "", "analysis_type": "symbolic", "additional_args": ""},
"effectiveness": 0.85,
},
"ghidra": {
"desc": "NSA reverse engineering suite — decompile and analyse binaries",
"endpoint": "/api/tools/ghidra",
"method": "POST",
"category": "binary",
"params": {"binary": {"required": True}},
"optional": {"project_name": "analysis_project", "script_file": "", "analysis_timeout": 300, "output_format": "xml", "additional_args": ""},
"effectiveness": 0.90,
},
"objdump": {
"desc": "Disassemble and inspect object files and binaries",
"endpoint": "/api/tools/objdump",
"method": "POST",