Date: 2024-11-04 18:53:38
Score: 4
Natty:
Using cmd
curl -sO https:/domain.tld/script.cmd && script.cmd && del script.cmd
-s
- Silent mode
-O
- Write output to a local file named like the remote file
- Invoke the script when downloaded successfully
- Delete the script when invoked successfully
- We can use
& del script.cmd
to delete the script in any case
Useful links:
Reasons:
- Blacklisted phrase (1): How do I
- Probably link only (1):
- Has code block (-0.5):
- Ends in question mark (2):
- Low reputation (0.5):
Posted by: Slava