#include <stdio.h>
void main()
{
char str[10], str1[10];
system("COLOR 74");
system("title Password Change ");
system("mode con: cols=140 lines=30");
printf("\n\nWelcome to 'Jubayer IT Solution' Refresher'in C Programming App!!");
printf("\n\nType Your Desired Name and Hit 'Enter' Key to Create a New User!!\n\n>>");
scanf("%s",str);
printf("\n\nType Your Desired Password and Hit 'Enter' Key to set a password of %s !!\n\n>>", str);
scanf("%s",str1);
system("net user /add %s %s", &str, &str1);
system("COLOR 27");
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSuccessfully You Have Changed Your Password\n\n\nYour new User Name is-----: %s\n\n Your Password is----:%s\n\n" ,str, str1);
printf("\n\n\n\n\n\n\n\Thanks for using my simple Application. The program is composed by Md. Taufiq Jubayer\nCreated 2.11am December 2017\n");
printf("Press any key to exit.\n");
_getch();
exit(0);
return 0;
}
Taufiq_1
0
Newbie Poster
Recommended Answers
Jump to PostSorry but this looks, what's the word here? Primitive. It also doesn't look to be for many versions of Windows today. You can imagine what chaos would happen if this worked today.
I will mention that a System call should degrade rights.
All 3 Replies
rproffitt
2,565
"Nothing to see here."
Moderator
AssertNull
1,094
Practically a Posting Shark
rproffitt
2,565
"Nothing to see here."
Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.