forked from shaswatacharya/MultiTool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultitool.bat
More file actions
1423 lines (1190 loc) · 48.1 KB
/
multitool.bat
File metadata and controls
1423 lines (1190 loc) · 48.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@echo off
title MULTITOOL - Cyber
chcp 65001 >nul
cls
color 0a
:login
title Verification
echo ---------------------------------------------- Welcome to MULTI_TOOL -----------------------------------------
echo.
echo.
echo [91m █████ ███ ██ ██ ██ ██████ ██████ ██ ██ ██████ ████████ ███████ ██████
echo [91m ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
echo [93m ███████ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██████ ██ ███████ ▄███
echo [93m ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ▀▀
echo [91m ██ ██ ██ ████ ██ ██████ ██████ ██████ ██████ ██ ███████ ██
echo.
echo.
set /p user=[+] Username:
echo.
set /p pass=[+] Password:
cls
echo Logging in with [%user%]
title Checking.
timeout 1 >nul
title Checking..
timeout 1 >nul
title Checking...
timeout 1 >nul
title Checking.
timeout 1 >nul
title Checking..
timeout 1 >nul
if "%user%" == "batch" if "%pass%" == "batch" goto Main
if "%user%" == "root" if "%pass%" == "root" goto Main
:: If the login fails
echo Incorrect!
timeout 1 >nul
:retry
set /p menu="Wanna Try again? (Y/N): "
cls
if /i "%menu%"=="Y" goto login
if /i "%menu%"=="N" goto quit
echo Invalid input! Please enter Y or N.
timeout 2 >nul
goto retry
:quit
timeout 1 >nul
title Quitting.
timeout 1 >nul
echo The program is now terminating.
timeout 1 >nul
title Quitting..
echo.
timeout 1 >nul
echo Please wait while the process is completed.
timeout 1 >nul
title Quitting...
timeout 2 >nul
echo.
echo Terminated Succesfully!!!
timeout 1 >nul
goto exit
:Main
cls
color 0a
title Welcome [%user%] : 1
echo.
echo [91m ███╗ ███╗██╗ ██╗██╗ ████████╗██╗ ████████╗ ██████╗ ██████╗ ██╗ ███████╗
echo [91m ████╗ ████║██║ ██║██║ ╚══██╔══╝██║ ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝
echo [93m ██╔████╔██║██║ ██║██║ ██║ ██║█████╗██║ ██║ ██║██║ ██║██║ ███████╗
echo [93m ██║╚██╔╝██║██║ ██║██║ ██║ ██║╚════╝██║ ██║ ██║██║ ██║██║ ╚════██║
echo [91m ██║ ╚═╝ ██║╚██████╔╝███████╗██║ ██║ ██║ ╚██████╔╝╚██████╔╝███████╗███████║
echo [92m ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝
echo [92m
echo.
echo [91m ---------------CHOOSE THE TOOLS TO PROCEED-----------------
echo [91m --------------PAGE ONE-----------------
echo.
echo [92m ╔═══════════════════════════════════════════════════════════╗
echo [92m ║ [1] PuTTy [6] DnsPortPingSpeed ║
echo [92m ║ [2] IP Pinger [7] ASCII text ║
echo [92m ║ [3] Stresser ║
echo [92m ║ [4] BAT TO EXE ║
echo [92m ║ [5] IP LookUp ║
echo [92m ║ ║
echo [92m ║ [99] Credits Next Page: [Next] ║
echo [92m ╚═══════════════════════════════════════════════════════════╝
echo.
set /p picks=[%user%] :
if %picks% == 1 goto putty
if %picks% == 2 goto ippinger
if %picks% == 3 goto stresser
if %picks% == 4 goto bat2exe
if %picks% == 5 goto iplookup
if %picks% == 6 goto dnsportipping
if %picks% == 7 goto bigtexts
if %picks% == Next goto Main2
if %picks% == next goto Main2
if %picks% == 99 goto credits
echo - Feature Not Available Yet!
timeout 2 >nul
echo.
echo Resetting...
timeout 2 >nul
goto Main
:Main2
cls
color a
title Welcome [%user%] : 2
echo.
echo [91m ███╗ ███╗██╗ ██╗██╗ ████████╗██╗ ████████╗ ██████╗ ██████╗ ██╗ ███████╗
echo [91m ████╗ ████║██║ ██║██║ ╚══██╔══╝██║ ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝
echo [93m ██╔████╔██║██║ ██║██║ ██║ ██║█████╗██║ ██║ ██║██║ ██║██║ ███████╗
echo [93m ██║╚██╔╝██║██║ ██║██║ ██║ ██║╚════╝██║ ██║ ██║██║ ██║██║ ╚════██║
echo [91m ██║ ╚═╝ ██║╚██████╔╝███████╗██║ ██║ ██║ ╚██████╔╝╚██████╔╝███████╗███████║
echo [92m ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝
echo [92m
echo.
echo [91m ---------------CHOOSE THE TOOLS TO PROCEED-----------------
echo [91m --------------PAGE TWO-----------------
echo.
echo [92m ╔══════════════════════════════════════════════════════════════════════════════╗
echo [92m ║ [1] Lock/Unlock file [6] Web crasher [11] ViewAllPc in Network ║
echo [92m ║ [2] Web Tracker [7] Random Text Gen [12] Remote Desktop ║
echo [92m ║ [3] Cyber Map [8] Encrypt/Decrypt [13] All NET CMD ║
echo [92m ║ [4] Crack RaR Password [9] Know WIFI Pass [14] System Info ║
echo [92m ║ [5] Calculator [10] Rename File [15] Mode SSH ║
echo [92m ║ ║
echo [92m ║ Back page: [Back] [99] Credits Next Page: [Next] ║
echo [92m ╚══════════════════════════════════════════════════════════════════════════════╝
echo.
set /p pick=[%user%]:
if %pick% == 1 goto lockunlock
if %pick% == 2 goto ddostools
if %pick% == 3 goto cmap
if %pick% == 4 goto crackrar
if %pick% == 5 goto calculator
if %pick% == 6 goto web_crasher
if %pick% == 7 goto randgen
if %pick% == 8 goto encdec
if %pick% == 9 goto knowwifi
if %pick% == 10 goto renfile
if %pick% == 11 goto allpcnetwork
if %pick% == 12 goto remdesk
if %pick% == 13 goto allnetcmd
if %pick% == 14 goto systemin
if %pick% == 15 goto modeSSH
if %pick% == 99 goto credits
if %pick% == back goto Main
if %pick% == Back goto Main
if %pick% == Next goto Main3
if %pick% == next goto Main3
echo - Feature Not Available Yet!
timeout 2 >nul
echo.
echo Resetting...
timeout 2 >nul
goto Main2
:Main3
cls
color a
title Welcome [%user%] : 3
echo.
echo [91m ███╗ ███╗██╗ ██╗██╗ ████████╗██╗ ████████╗ ██████╗ ██████╗ ██╗ ███████╗
echo [91m ████╗ ████║██║ ██║██║ ╚══██╔══╝██║ ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝
echo [93m ██╔████╔██║██║ ██║██║ ██║ ██║█████╗██║ ██║ ██║██║ ██║██║ ███████╗
echo [93m ██║╚██╔╝██║██║ ██║██║ ██║ ██║╚════╝██║ ██║ ██║██║ ██║██║ ╚════██║
echo [91m ██║ ╚═╝ ██║╚██████╔╝███████╗██║ ██║ ██║ ╚██████╔╝╚██████╔╝███████╗███████║
echo [92m ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝
echo [92m
echo.
echo [91m ---------------CHOOSE THE TOOLS TO PROCEED-----------------
echo [91m --------------PAGE THREE-----------------
echo.
echo [92m ╔═══════════════════════════════════════════════════════════════════════════╗
echo [92m ║ [1] Window Version [6] PC Setting ║
echo [92m ║ [2] Status Device Mode [7] ║
echo [92m ║ [3] Mode WMIC ║
echo [92m ║ [4] Task List ║
echo [92m ║ [5] Change Time ║
echo [92m ║ ║
echo [92m ║ Back page: [Back] [99] Credits ║
echo [92m ╚═══════════════════════════════════════════════════════════════════════════╝
echo.
set /p pickz=[%user%]:
if %pickz% == 1 goto winve
if %pickz% == 2 goto modedev
if %pickz% == 3 goto modewmic
if %pickz% == 4 goto tasklists
if %pickz% == 5 goto timechanger
if %pickz% == 6 goto setpc
if %pickz% == 99 goto credits
if %pickz% == back goto Main2
if %pickz% == Back goto Main2
echo - Feature Not Available Yet!
timeout 2 >nul
echo.
echo Resetting...
timeout 2 >nul
goto Main3
:setpc
cls
timeout 1 >nul
echo Opening Settings...
timeout 1 >nul
start ms-settings:
echo.
pause
goto Main3
:timechanger
cls
echo Current System Time: %TIME%
timeout 2 >nul
set /p menu="Do you Want to Change Date and Time? (Y/N): "
if /i "%menu%"=="Y" goto change
if /i "%menu%"=="N" goto Main3
echo Invalid input! Please enter Y or N.
timeout 2 >nul
:change
echo.
timeout 1 >nul
echo Opening Date and Time Settings...
timeout 2 >nul
start ms-settings:dateandtime
echo.
pause
goto Main3
:tasklists
cls
timeout 1 >nul
echo Opening task list in a new window...
timeout 1 >nul
start cmd /c "tasklist /fi "memusage ge 100000" && pause"
echo.
pause
goto Main3
:modewmic
cls
echo Choose the information you want to display:
echo.
echo 1. CPU Information
echo 2. Memory Information
echo 3. Disk Information
echo 4. OS Information
echo 5. Network Adapter Information
echo 6. BIOS Information
echo 7. Installed Software
echo 8. System Boot Time
echo 9. Process List
echo 10. System Uptime
echo.
echo Type "all" to show all information or choose the numbers (e.g., 1 2 4).
set /p selection=Enter your selection:
if "%selection%"=="all" (
call :show_all_info
) else (
for %%a in (%selection%) do (
call :show_info %%a
)
)
goto :eof
:show_info
if "%1"=="1" (
echo ===== CPU Information =====
wmic cpu get caption, deviceid, name, numberofcores, maxclockspeed
echo.
)
if "%1"=="2" (
echo ===== Memory Information =====
wmic memorychip get capacity, devicelocator, manufacturer, partnumber, speed
echo.
)
if "%1"=="3" (
echo ===== Disk Information =====
wmic diskdrive get model, size, serialnumber
echo.
)
if "%1"=="4" (
echo ===== OS Information =====
wmic os get caption, architecture, version
echo.
)
if "%1"=="5" (
echo ===== Network Adapter Information =====
wmic nic get caption, macaddress, speed
echo.
)
if "%1"=="6" (
echo ===== BIOS Information =====
wmic bios get manufacturer, smbiosbiosversion, releasedate
echo.
)
if "%1"=="7" (
echo ===== Installed Software =====
wmic product get name, version
echo.
)
if "%1"=="8" (
echo ===== System Boot Time =====
wmic os get lastbootuptime
echo.
)
if "%1"=="9" (
echo ===== Process List =====
tasklist
echo.
)
if "%1"=="10" (
echo ===== System Uptime =====
wmic os get lastbootuptime
echo.
)
goto :eof
:show_all_info
call :show_info 1
call :show_info 2
call :show_info 3
call :show_info 4
call :show_info 5
call :show_info 6
call :show_info 7
call :show_info 8
call :show_info 9
call :show_info 10
pause
goto :eof
goto Main3
:modedev
echo =====Displaying current device mode=====
MODE
pause
goto Main3
:winve
timeout 2 >nul
echo =====Displaying Windows Version=====
timeout 2 >nul
winver
pause
goto Main3
:modeSSH
cls
set prevmenu=24
title SSH Mode
echo.
echo Entering SSH Mode, Purely runs SSH commands.
echo.
echo Type "exit" to go back to the main menu.
echo.
:modssh
echo 0. Back to Main
set /p sshinput=Enter your SSH command:
if "%sshinput%" == "0" goto Main2
if "%sshinput%" == "exit" goto Main2
rem Running the SSH command
ssh %sshinput%
pause
goto modssh
:systemin
cls
timeout 1 >nul
echo =====Displaying the System Information=====
timeout 2 >nul
systeminfo
pause
goto Main2
:allnetcmd
cls
echo Here is a list of NET commands:
echo.
echo [1] netstat - Displays active connections and listening ports
echo [2] net view - Lists computers in your network
echo [3] net use - Connects or disconnects from shared resources
echo [4] net user - Displays or modifies user accounts
echo [5] net share - Manages shared resources
echo [6] net start - Starts a service
echo [7] net stop - Stops a service
echo [8] Exit to Main Menu
echo.
set /p choice=Enter your choice (1-7 or 8 to exit):
echo.
echo Connecting to Server....
echo.
timeout 1 >nul
if "%choice%"=="1" (
netstat
) else if "%choice%"=="2" (
net view
) else if "%choice%"=="3" (
net use
) else if "%choice%"=="4" (
net user
) else if "%choice%"=="5" (
net share
) else if "%choice%"=="6" (
net start
) else if "%choice%"=="7" (
net stop
) else if "%choice%"=="8" (
goto Main2
) else (
echo Invalid choice, please try again.
)
pause
goto allnetcmd
:remdesk
echo.
echo [+] OPEN REMOTE DESKTOP CONNECTION [+]
echo.
timeout 2 >nul
set /p ip=Enter the IP or hostname of the remote machine:
echo.
echo =====Trying to establish Connection=====
timeout 1 >nul
mstsc /v:%ip%
pause
goto Main2
:allpcnetwork
title MULTI TOOLS
echo.
echo =====Provide the domain name to fetch the connected machines:=====
echo.
set /p networkviewinput=[+] :
echo.
if "%networkviewinput%"=="" (
echo You did not enter a domain name.
pause
goto Main2
)
net view \\%networkviewinput% 2>nul
if errorlevel 1 (
echo Could not find the domain or network.
) else (
echo Domain information retrieved successfully.
)
echo.
pause
goto Main2
:renfile
cls
echo [+] Rename File [+]
echo.
:: Use PowerShell to open a file picker dialog
for /f "delims=" %%f in ('powershell -command "Add-Type -AssemblyName 'System.Windows.Forms'; $file = (New-Object Windows.Forms.OpenFileDialog); if ($file.ShowDialog() -eq 'OK') { $file.FileName }"') do set "reliantfilerenamerpath=%%f"
:: Check if user selected a file
if "%reliantfilerenamerpath%"=="" (
echo No file selected. Returning to the main menu.
timeout /t 3 /nobreak >nul
goto Main2
)
:: Display selected file path
echo You have selected the file: %reliantfilerenamerpath%
echo.
:: Ask for new file name
echo =====Enter the new File name (with extension):=====
set /p "filerenameinput=[+] : "
:: Rename the file
ren "%reliantfilerenamerpath%" "%filerenameinput%"
cls
echo.
echo File renamed successfully! Returning to the main menu...
timeout /t 3 /nobreak >nul
goto Main2
:calculator
TITLE Calculator
cls
set prevmenu=12
title Calculator
echo ---------------------------
echo =====SIMPLE CALCULATOR=====
echo ---------------------------
echo.
echo 1. Use Web Calculator (github project)
echo 2. Use Built-in Calculator
echo 0. Back to Main Menu
echo ---------------------------
set /p choice=Choose an option (1-2, 0 to exit):
if "%choice%"=="0" goto Main2
if "%choice%"=="1" goto webcalc
if "%choice%"=="2" goto builtincalc
:builtincalc
cls
echo ---------------------------
echo Built-in Calculator
echo.
echo Opening Windows Calculator...
echo.
timeout 2 >nul
:: Open Windows Calculator application
start calc.exe
:: After the user closes the Windows Calculator, return to the calculator menu
goto calculator
:webcalc
cls
echo Opening Web Calculator...
timeout 2 >nul
start https://shaswatacharya.github.io/Calculator_Using_Js/
echo Returning to MAIN MENU(in 4s)...
timeout 4 >nul
goto Main2
:cmap
start https://cybermap.kaspersky.com/
goto Main2
:open_online_generator
cls
echo =======================================
echo Opening the QR Code generator website!
echo =======================================
echo Please wait...
echo.
echo Loading... Please wait for a moment.
timeout /t 2 >nul
cls
echo =======================================
echo Opening the QR Code generator website!
echo =======================================
echo Website opening in your default browser...
timeout /t 2 >nul
:: Link of the Qr_generate website ..
start https://me-qr.com/qr-code-generator/qr
cls
echo ======================================================================
echo The QR Code generator website has been opened in your default browser.
echo ======================================================================
pause
goto Main2
:lockunlock
title File Locker with Password Protection
set password=root
:menu
cls
echo =======================
echo [1] Lock/Hide a File
echo [2] Lock/Hide a Folder
echo [3] Unlock File/Folder
echo [4] Exit
echo =======================
echo.
set /p choice=Select an option:
if "%choice%"=="1" goto lockOrHideFile
if "%choice%"=="2" goto lockOrHideFolder
if "%choice%"=="3" goto unlock
if "%choice%"=="4" goto Main2
goto menu
:lockOrHideFile
cls
echo =======================
echo [1] Lock/Hide a File
echo =======================
set /p lockChoice=Select an option:
if "%lockChoice%"=="1" goto lockHideFile
goto menu
:lockHideFile
echo =====================================================================================
echo Please select the file to lock or hide. A PowerShell window will open in the C Drive.
echo =====================================================================================
for /f "delims=" %%i in ('powershell -Command "Add-Type -AssemblyName System.Windows.Forms; $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog; $OpenFileDialog.InitialDirectory = 'C:\'; $OpenFileDialog.Filter = 'All files (*.*)|*.*'; if($OpenFileDialog.ShowDialog() -eq 'OK') {$OpenFileDialog.FileName} else {''}"') do set filePath=%%i
if "%filePath%"=="" (
echo No file selected! Returning to menu.
pause
goto menu
)
attrib +h +s "%filePath%"
cls
echo File location: "%filePath%"
echo "%filePath%" is locked/hidden successfully.
timeout 2
:copyPathFile
echo.
echo Note: Save the File Path as its needed to unlock file later else file is gone!
timeout 2 >nul
echo.
set /p copyChoice=Do you want to copy the file path for unlocking (Y/N)?
if /i "%copyChoice%"=="Y" (
echo | set /p="%filePath%" | clip
echo File path copied to clipboard!
timeout 2
goto menu
) else if /i "%copyChoice%"=="N" (
goto menu
) else (
echo Invalid choice. Please enter Y or N.
goto copyPathFile
)
:lockOrHideFolder
echo ===================================================================
echo Please select the folder to lock. A folder picker window will open.
echo ===================================================================
for /f "delims=" %%i in ('powershell -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); $folderPicker = New-Object System.Windows.Forms.FolderBrowserDialog; if ($folderPicker.ShowDialog() -eq 'OK') {$folderPicker.SelectedPath} else {''}"') do set folderPath=%%i
if "%folderPath%"=="" (
echo No folder selected! Returning to menu.
pause
goto menu
)
attrib +h +s "%folderPath%"
cls
echo Folder location: "%folderPath%"
echo "%folderPath%" is locked successfully.
timeout 2
:copyPathFolder
echo.
echo Note: Save the Folder Path as its needed to unlock folder later else folder is gone!
timeout 2 >nul
echo.
set /p copyChoice=Do you want to copy the folder path for unlocking (Y/N)?
if /i "%copyChoice%"=="Y" (
echo | set /p="%folderPath%" | clip
echo Folder path copied to clipboard!
timeout 2
goto menu
) else if /i "%copyChoice%"=="N" (
goto menu
) else (
echo Invalid choice. Please enter Y or N.
goto copyPathFolder
)
:unlock
cls
echo ======================================
echo Please choose what you want to unlock:
echo ======================================
echo [1] Unlock a File
echo [2] Unlock a Folder
set /p unlockChoice=Select an option:
if "%unlockChoice%"=="1" goto unlockFile
if "%unlockChoice%"=="2" goto unlockFolder
goto menu
:unlockFile
set /p input=Enter password to unlock:
if not "%input%"=="%password%" (
echo Incorrect password!
pause
goto menu
)
echo ================================================================
echo Please select the file to unlock. A PowerShell window will open.
echo ================================================================
for /f "delims=" %%i in ('powershell -Command "Add-Type -AssemblyName System.Windows.Forms; $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog; $OpenFileDialog.InitialDirectory = 'C:\'; $OpenFileDialog.Filter = 'All files (*.*)|*.*'; if($OpenFileDialog.ShowDialog() -eq 'OK') {$OpenFileDialog.FileName} else {''}"') do set filePath=%%i
if "%filePath%"=="" (
echo No file selected! Returning to menu.
pause
goto menu
)
attrib -h -s "%filePath%"
echo File unlocked successfully!
echo File is located at: %filePath%
pause
goto menu
:unlockFolder
set /p input=Enter password to unlock:
if not "%input%"=="%password%" (
echo Incorrect password!
pause
goto menu
)
cls
echo ============================================
echo Please paste the full folder path to unlock:
echo ============================================
set /p folderPath=Enter the full folder path to unlock (e.g., C:\Users\YourName\Documents\MyFolder):
rem Check if no folder path was entered
if "%folderPath%"=="" (
echo No folder path entered! Returning to menu.
pause
goto menu
)
rem Check if the folder exists
if not exist "%folderPath%\" (
echo Folder does not exist or the path is incorrect.
pause
goto menu
)
rem Remove hidden and system attributes to unlock the folder
attrib -h -s "%folderPath%"
cls
echo =============================
echo Folder unlocked successfully!
echo =============================
echo Folder is located at: %folderPath%
pause
goto menu
@REM :convcurr
:iplookup
title IP Lookup Tool
:menu1
cls
echo ================================
echo IP Lookup Tool
echo ================================
echo [1] IP Geo Lookup
echo [2] Show My Public IP
echo [3] Exit
echo.
set /p ipchoice=Select an option:
if "%ipchoice%"=="1" goto ip_geo_lookup
if "%ipchoice%"=="2" goto show_my_ip
if "%ipchoice%"=="3" goto Main
echo Invalid option. Try again.
pause
goto menu1
:ip_geo_lookup
cls
echo ███████╗███╗ ██╗████████╗███████╗██████╗ ██╗██████╗
echo ██╔════╝████╗ ██║╚══██╔══╝██╔════╝██╔══██╗ ██║██╔══██╗
echo █████╗ ██╔██╗ ██║ ██║ █████╗ ██████╔╝ ██║██████╔╝
echo ██╔══╝ ██║╚██╗██║ ██║ ██╔══╝ ██╔══██╗ ██║██╔═══╝
echo ███████╗██║ ╚████║ ██║ ███████╗██║ ██║ ██║██║
echo ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝╚═╝
echo.
echo ==========================================================
echo. " 🌐 Enter the IP Address to Lookup 🌐 "
echo ----------------------------------------------------------
echo 🔹 Type 'back' to return to the main menu.
echo 🔹 Example IPs: 8.8.8.8 or 192.168.0.1
echo ----------------------------------------------------------
set /p ip= 🔍 Enter IP Address:
if /i "%ip%"=="back" goto menu1
cls
echo Looking up IP: %ip%...
curl "https://ipinfo.io/%ip%/json" -o geolocation.json 2>nul
if %errorlevel% neq 0 (
echo Error: Failed to fetch data. Please check your internet connection or the IP entered.
pause
goto ip_geo_lookup
)
cls
echo ==========================================================
echo Geolocation Information for: %ip%
echo ----------------------------------------------------------
type geolocation.json | more
echo ----------------------------------------------------------
del geolocation.json
pause
goto ip_geo_lookup
:show_my_ip
cls
echo Fetching your public IP address...
curl "https://api64.ipify.org" -o myip.txt 2>nul
if %errorlevel% neq 0 (
echo Error: Unable to retrieve public IP. Please check your internet connection.
pause
goto menu1
)
set /p public_ip=<myip.txt
cls
echo ==========================================================
echo Your Public IP: %public_ip%
echo ----------------------------------------------------------
echo Press [C] to copy your public IP to the clipboard or any other key to return to the menu.
choice /c c /n /m ""
if errorlevel 1 echo %public_ip% | clip && echo Public IP copied to clipboard!
del myip.txt
pause
goto menu1
:ippinger
title IP Pinger Tool
cls
echo ===========================================================
echo ██████╗ ██╗███╗ ██╗ ██████╗
echo ██╔══██╗██║████╗ ██║██╔════╝
echo ██████╔╝██║██╔██╗ ██║██║ ███╗
echo ██╔═══╝ ██║██║╚██╗██║██║ ██║
echo ██║ ██║██║ ╚████║╚██████╔╝
echo ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
echo ===========================================================
echo.
echo ===================== Choose an Option =====================
echo [1] Enter IP/Domain manually
echo [2] Choose a common IP/Domain to ping
echo [3] EXIT
echo ===========================================================
set /p option=Select an option [1/3]:
if "%option%"=="1" goto manualInput
if "%option%"=="2" goto commonIPs
if "%option%"=="3" goto Main
echo Invalid choice. Try again.
pause
goto ippinger
:manualInput
cls
echo ===========================================================
echo Enter the IP or Domain you want to ping:
echo ===========================================================
set /p ipAddress=Enter IP or Domain:
:pingLoop
cls
echo ===========================================================
echo IP Pinger Tool
echo ===========================================================
echo.
echo Pinging %ipAddress%... Press CTRL+C to stop.
echo.
ping %ipAddress%
pause
goto ippinger
:commonIPs
cls
echo ===========================================================
echo Choose a Common IP/Domain
echo ===========================================================
echo [1] Google (google.com)
echo [2] YouTube (youtube.com)
echo [3] Cloudflare DNS (1.1.1.1)
echo [4] OpenDNS (208.67.222.222)
echo [5] Facebook (facebook.com)
echo [6] Amazon (amazon.com)
echo [7] Custom IP/Domain
echo ===========================================================
set /p commonOption=Select an option [1-7]:
if "%commonOption%"=="1" (
set ipAddress=google.com
) else if "%commonOption%"=="2" (
set ipAddress=youtube.com
) else if "%commonOption%"=="3" (
set ipAddress=1.1.1.1
) else if "%commonOption%"=="4" (
set ipAddress=208.67.222.222
) else if "%commonOption%"=="5" (
set ipAddress=facebook.com
) else if "%commonOption%"=="6" (
set ipAddress=amazon.com
) else if "%commonOption%"=="7" (
goto manualInput
) else (
echo Invalid option. Try again.
pause
goto commonIPs
)
echo Selected IP/Domain: %ipAddress%
pause
goto pingLoopCommon
:pingLoopCommon
cls
echo ===========================================================
echo IP Pinger Tool
echo ===========================================================
echo.
echo Pinging %ipAddress%... Press CTRL+C to stop.
echo.
ping %ipAddress%
pause
goto ippinger
:knowwifi
openfiles >nul 2>nul
if '%errorlevel%' NEQ '0' (
echo ============================================================
echo This script needs to be run as Administrator.
echo Please click "Yes" when prompted for elevated privileges.
echo ============================================================
:: Re run as admin
powershell -Command "Start-Process cmd -ArgumentList '/c %~s0' -Verb RunAs" >nul
echo Give the administrative access else it wont work
pause
goto Main2