Backdoors in popular messaging apps
- Inicie sesión o regístrese para enviar comentarios
https://invidio.us/watch?v=H-OGIKcqp8c
Just saw this video, all I can say is...
If (libre=1)
{
printf(“-----BEGIN PGP MESSAGE-----“/n)
}
Else
{
printf(“You’re boned”/n)
}
One mistake:
if(libre=1)
Should be:
if(libre==1)
or just:
if(libre)
You're right, it has been a minute since I last used C or coded at all for that matter. It should probably have a return 0 or something at the end too :)
The return 0; statement is not mandatory in newer C standards (C99 or later). For example:
#include
int main(void)
{
printf("hello world\n");
}
Use gcc --std=c99 -Wall to compile and no warning is displayed. The main() function implicitly returns 0.
Use gcc --std=c89 -Wall to compile and the compiler will warn that the function main() should return a value.
- Inicie sesión o regístrese para enviar comentarios