Code source du malware pour l'UE Malware de la M2 FST
| backup | ||
| Malware | ||
| .clang-format | ||
| .gitignore | ||
| README.md | ||
malware-m2-2026
Source code for a "malware" made for the Malware class of the Cybersecurity Masters degree in Nancy (FST) This code, while featuring malware-like behaviour, is not malicious and safe to execute. It is made to compile with Visual Studio on Windows XP.
This program has the following behaviour:
- If the argument (argv[1]) is
V&7mH@t!, it writes "GAGNE!" (WIN!) on the standard output - If the argument is any other string of 8 or less characters, it writes it back on the standard output
- Otherwise, the behaviour is undefined (Intriguing, isn't it?)
To load the projet in VS, open the "Malware.sln" project file.