X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fget-passwd.git;a=blobdiff_plain;f=cac.c;h=e488344b56f34b9c67c943e4d01c23ca2bda948b;hp=80ee0e479befb4c70767103b1a94d8ff428e6bf0;hb=refs%2Fheads%2Forigin;hpb=1a38a2a82de4b94551a7f55a6d68e2c778713d4a diff --git a/cac.c b/cac.c index 80ee0e4..e488344 100644 --- a/cac.c +++ b/cac.c @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) { } if(mylen>=1) { if(strncmp(crypt(temp2,(temp+5)),(temp+5),13)==0) { - printf("succes: %s\n",argv[2]); + printf("succes: %s\n",temp2); return 0; } }