ivomalinowskip's user avatar
ivomalinowskip's user avatar
ivomalinowskip's user avatar
ivomalinowskip
Highschooler
  • Member for 6 years, 6 months
  • Last seen this week
  • France
About

Avid teenager looking for a future. Programming is fun. Hacking is fun * 10^27 .

include

include

int main(void) { char buff[15]; int pass = 0;

printf("\n Enter the password : \n");
gets(buff);

if(strcmp(buff, "ILoveCode"))
{
    printf ("\n Correct Password \n");
    pass = 1;
}
else
{
    printf ("\n Wrong Password \n");
}

if(pass)
{
   /* Now Give root or admin rights to user*/
    printf ("\n Root privileges given to the user \n");
}

return 0;

}

Badges
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
7
bronze badges
1
Score
2
Posts
67
Posts %
1
Score
1
Posts
33
Posts %
1
Score
1
Posts
33
Posts %
1
Score
1
Posts
33
Posts %
1
Score
1
Posts
33
Posts %
0
Score
1
Posts
33
Posts %
Top posts