Come Creare un virus in .bat
Oggi impareremo come creare un file che spenga il computer.
Se è la prima volta che mettete mano in un linguaggio di "programmazione" non restate impauriti.
Basta solo il blocco note di windows. Aprite il blocco note, scrivete
@echo off
shutdown -s -t xx -c "Testo che vuoi"
Al posto delle xx mettete il tempo di spegnimento e al posto di
Testo che vuoi mettete un messaggio (le virgolette le dovete lasciare)
Andate su File>Salva con nome e salvatelo come
nomechevuoi.bat
Nella stessa cartella verrà creato un nuovo file, una volta aperto spegnerà il pc.
Questo è ms-dos... @echo off serve per non visualizzare il percorso del file, shutdown è il comando
che serve per spegnere il computer e -s -t -c che sono i parametri del comando "shutdown".
-s indica che il comando deve spegnere il computer, -t xx indica il tempo dello
to put off in seconds instead of xx
e-c "text" is used to enter the message to be displayed instead of the word text
(you leave the quotes that still will not be displayed). R-
other parameters are going to put in place to restart the computer-s-f
and you need to force the closing of all applications.
If you do not put the-c will not receive any message,
if you omit the-t switch the computer will shut down after 3 seconds.
To prevent the "shutdown" once you start you need to write on start> run shutdown-a
and press enter
0 comments:
Post a Comment