Created
May 1, 2022 17:13
-
-
Save fgclue/f6e34980011630f9f1d0200c020a7afd to your computer and use it in GitHub Desktop.
Files for VB+ (STACKOVERFLOW)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat t2 # Says the logo | |
Write-Host "Scan? (y/n)" | |
$CH = Read-Host "Choice" | |
if ( $CH -eq y ) { | |
# Put the code to scan the drive here | |
} | |
else { | |
Write-Host "Quit? (y/n)" | |
$YN = Read-Host "Choice" | |
if ( yn -eq y ) { | |
exit | |
} | |
else { | |
.\cs.ps1 # Restarts the script | |
} | |
} | |
#region DeleteVirus | |
Write-Host "Viruses found!" # Please also make this only show up when one there is a file on the drive that the hash of one on the list | |
cat viruslist.txt # name of file | |
Write-Host "Delete Viruses? (y/n)" | |
$DIN = Read-Host "Choice" | |
if ( $DIN -eq y ) { | |
# Put your code that deletes the viruses here. | |
} | |
else { | |
exit | |
} | |
#endregion | |
#region NoViruses | |
Write-Host "No Viruses Found!" | |
Write-Host "VirusBye+ Scanner Scan Completed!" | |
pause | |
exit | |
#endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___ __ _______ ____ __ __ _________ __ | |
\ \ | | \ ___| |___ \| |_____| |______/ ---- \_| |____ | |
\ \/ |___ \ \______ ____| || ____ ____ _________ ____| | |
\___/| | / / ___|/ || | | || | | || |________ | | | |
| + |/ /___|| <> __| |_||_| |_|\__________||__| | |
|________/\______________/ vB+ Scanner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment