windows bat批处理 hack小工具的文件编写(除了library要自己调整外都可以用)

发布时间 2023-11-15 19:38:28作者: 江南的江
@echo off
color 0A
mode con cols=1500 lines=1500
mshta vbscript:msgbox("welcome to the 江南的江 万能工具箱")(window.close)
title " hack jiang "
:HACK
cls
echo []   []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []   []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []
echo -   -   -   -   -   -   -   -   -   -   -   -    -   /   /   /   H   A   C   K   E   R   \   \   \   -   -   -   -   -   -   -   -   -   -   -   -
echo 					  888                        888      888                        
echo 					  888                        888      888                        
echo 					  888                        888      888                        
echo 					  88888b.   8888b.   .d8888b 888  888 88888b.   .d88b.  888  888 
echo 					  888 "88b     "88b d88P"    888 .88P 888 "88b d88""88b `Y8bd8P' 
echo 					  888  888 .d888888 888      888888K  888  888 888  888   X88K   
echo 					  888  888 888  888 Y88b.    888 "88b 888 d88P Y88..88P .d8""8b. 
echo 					  888  888 "Y888888  "Y8888P 888  888 88888P"   "Y88P"  888  888                                                                                                                                             
echo -   -   -   -   -   -   -   -   -   -   -   -    -   /   /   /   H   A   C   K   E   R   \   \   \   -   -   -   -   -   -   -   -   -   -   -   -
echo []   []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []   []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []
echo  "1.           记事本 "
echo=
echo  "2.         磁盘管理  "
echo= 
echo  "3.    iis服务器管理  "
echo=
echo  "4.      windows功能  "
echo=
echo  "5.       策略结果集  "
echo=
echo  "6.           用户管理 "
echo=
echo  "7.	    计划任务 "
echo=
echo  "8.	  设备管理  "
echo=
echo  "9.         安全策略  "
echo=
echo  "10.      注册表管理  "
echo=
echo  "11.     计算机的管理 "
echo=
echo  "12.      计算机网络  "
echo=
echo  "Q.             退出 "
echo=
echo  "l.      library"
echo=
echo -   -   -   -   -   -   -   -   -   -   -   -    -   /   /   /   H   A   C   K   E   R   \   \   \   -   -   -   -   -   -   -   -   -   -   -   -
:hack0
set /p a=选项是:
if /i "%a%"=="l" goto:Goodbook
if "%a%"=="1" goto:hack1
if "%a%"=="2" goto:hack2
if "%a%"=="3" goto:hack3
if "%a%"=="4" goto:hack4
if "%a%"=="5" goto:hack5
if "%a%"=="6" goto:hack6
if "%a%"=="7" goto:hack7
if "%a%"=="8" goto:hack8
if "%a%"=="9" goto:hack9
if "%a%"=="10" goto:hack10
if "%a%"=="11" goto:hack11
if "%a%"=="12" goto:hack12
if /i "%a%"=="Q" goto:back
echo 选项无效请重新输入或键入"Q"退出  
pause
goto:hack0

:hack1
color fc && timeout /t 1 &&color 0A
start notepad
GOTO:hack0

:hack2
color fc && timeout /t 1 &&color 0A
start diskmgmt
GOTO:hack0

:hack3
color fc && timeout /t 1 &&color 0A
C:\windows\system32\inetsrv\iis.msc
GOTO:hack0

:hack4
color fc && timeout /t 1 &&color 0A
C:\windows\system32\appwiz.cpl
GOTO:hack0

:hack5
color fc && timeout /t 1 &&color 0A
C:\windows\system32\rsop.msc
goto:hack0

:hack6
color fc && timeout /t 1 &&color 0A
C:\windows\system32\lusrmgr.msc
goto:hack0

:hack7
color fc && timeout /t 1 &&color 0A
C:\windows\system32\taskschd.msc
goto:hack0

:hack8
color fc && timeout /t 1 &&color 0A
C:\windows\system32\devmgmt.msc
goto:hack0

:hack9
color fc && timeout /t 1 &&color 0A
C:\windows\system32\secpol.msc
goto:hack0

:hack10
color fc && timeout /t 1 &&color 0A
C:\windows\system32\gpedit.msc
goto:hack0

:hack11
color fc && timeout /t 1 &&color 0A
C:\windows\system32\compmgmt.msc
goto:hack0
:hack12
color fc && timeout /t 1 &&color 0A
C:\windows\system32\ncpa.cpl
goto:hack0
:Goodbook
cls
goto:library
:library
title "江南的江libraty"
color fc && timeout /t 1 &&color 0A
mshta vbscript:msgbox("Welocme to 江南的江libraty")(window.close)
mshta vbscript:msgbox("loading.....")(window.close)
cls
echo 现在选择你的选项去到书中
echo "1.SSH的免密登录"
echo=
echo "2.powershell 入门"
echo=
echo "3.powershell 进阶"
echo=
echo "4.bat编程"
echo=
echo "5.鸟哥私房菜"
echo=
echo "6.linux就该怎么学"
echo=
echo "7.长亭安全技术文集"
echo=
echo "8."
echo=
echo "9."
echo=
echo "10."
echo=
echo "Q.退出"
echo=
set /p b=选项是:
if "%b%"=="1" goto:book1
if "%b%"=="2" goto:book2
if "%b%"=="3" goto:book3
if "%b%"=="4" goto:book4
if "%b%"=="5" goto:book5
if "%b%"=="6" goto:book6
if "%b%"=="7" goto:book7
if /i "%b%"=="Q" goto:goback

:book1
start "" "G:\Goodbook\SSH的免密登录.docx"
color fc && timeout /t 1 &&color 0A
goto:library

:book2
start "" "G:\Goodbook\PowerShell 3.0 入门教程 中文版.pdf"
color fc && timeout /t 1 &&color 0A
goto:library

:book3
start "" "G:\Goodbook\PowerShell 3.0 进阶教程 中文版.pdf"
color fc && timeout /t 1 &&color 0A
goto:library

:book4
start "" "G:\Goodbook\bat编程入门级教程.pdf"
color fc && timeout /t 1 &&color 0A
goto:library

:book5
start "" "G:\Goodbook\鸟哥的Linux私房菜 基础学习篇 第四版 (鸟哥) (Z-Library).pdf"
color fc && timeout /t 1 &&color 0A
goto:library

:book6
start "" "G:\Goodbook\Linux就该这么学(第2版).pdf"
color fc && timeout /t 1 &&color 0A
goto:library

:book7
start "" "G:\Goodbook\长亭安全技术文集.pdf"
color fc && timeout /t 1 &&color 0A
goto:library

:goback
GOTO:HACK
echo -   -   -   -   -   -   -   -   -   -   -   -    -   /   /   /   H   A   C   K   E   R   \   \   \   -   -   -   -   -   -   -   -   -   -   -   -
:back
echo "人生名言::"
setlocal enabledelayedexpansion
set /a lines=0 
for /f %%a in (test.txt) do set /a lines+=1 
set /a rand=!random!%%!lines!+1 
set /a cnt=0
for /f "delims=" %%a in (test.txt) do (
    set /a cnt+=1
    if !cnt!==!rand! set ran_string=%%a
)
Echo !ran_string!
echo -   -   -   -   -   -   -   -   -   -   -   -    -   /   /   /   H   A   C   K   E   R   \   \   \   -   -   -   -   -   -   -   -   -   -   -   -
echo []   []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []   []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []  []
mshta vbscript:msgbox("欢迎下次使用")(window.close)
timeout /t 10
exit