Skip to content

Instantly share code, notes, and snippets.

@avarayr
Last active July 10, 2023 21:01
Show Gist options
  • Save avarayr/cb7b74dc2c8e6c57028f8e4a4d0b817a to your computer and use it in GitHub Desktop.
Save avarayr/cb7b74dc2c8e6c57028f8e4a4d0b817a to your computer and use it in GitHub Desktop.
Fake cmd for scambaiting
REM Replace this file with cmd.exe in C:\Windows\System32\
@echo off
title C:\WINDOWS\system32\cmd.exe
echo Microsoft Windows [Version 10.0.16299.309]
echo (c) 2017 Microsoft Corporation. All rights reserved.
echo.
:pr
set /p command="C:\Users\mika_>"
IF "%command%"=="tree" (
echo SCANNING FOR VIRUSES...
timeout 1 >NUL
echo PLEASE WAIT...
timeout 3 >NUL
echo.
echo NO viruses found
echo NO Adware found
echo NO spyware found
echo.
) ELSE (
echo '%command%' is not recognized as an internal or external command,
echo operable program or batch file.
echo.
)
goto pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment