@evacide Also with AI any idiot can write antimalware! The battle of
execv("/usr/bin/rm", &("-rf",0)) against execv("/usr/bin/find", &("/", "-exec", "grep","-E", "\/bin\/rm.+-rf","{}",";","-delete",0))
@mullvaden @evacide nah it's C, not a shell, but copying something from the internets into a command shell is not a brilliant idea even when you understand it
@mullvaden ok it's actually shell commands wrapped in C code, to demonstrate absurdity of the concept. Nominally it's malware as it performs malicious activity on the PC where it runs. And nominally second command is antimalware as it searches and removes anything which tries to perform such malicious activity.
@ruff Ah, my bad. I recognized some shell commands and thought it was some CL magic 🙂