projects
/
my-code
/
get-passwd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1a38a2a
)
print plain passwd instead of library file
master
origin
author
hackbard
<hackbard>
Tue, 17 May 2005 23:34:40 +0000
(23:34 +0000)
committer
hackbard
<hackbard>
Tue, 17 May 2005 23:34:40 +0000
(23:34 +0000)
cac.c
patch
|
blob
|
history
diff --git
a/cac.c
b/cac.c
index
80ee0e4
..
e488344
100644
(file)
--- 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) {
}
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;
}
}
return 0;
}
}