I was wrong about this. By using a pipe to pipe the output of the “echo” command into the “format” command, like such:In this form, no. Instead, the format will fail with a “parameter format incorrect” error.In a danooct1 video, a virus did this:i would try it but i think that might be stupid. perhaps in a vm
Does that actually erase your C drive?format "C:\" /q
By changing the command to this:
it would work, but with two caveats: it can only be done from MS-DOS mode (example: putting it in autoexec.bat), and there is no way to automatically answer “yes” to it asking to confirm that you want to lose all data on drive C:, so most users would probably answer no to this question (the more savvy ones would then remove the offending line from autoexec.bat), and ultimately the malware will fail in its efforts.format C: /q
echo y | format C: /q
@echo off
echo y | format C: /q > nul
from Latest posts on Advanced Topics https://ift.tt/2BL0Nlg
No comments:
Post a Comment