mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 13:53:59 -07:00
pre-8.0
This commit is contained in:
parent
6a94f708e8
commit
9f75ddad8b
32 changed files with 208 additions and 129 deletions
|
@ -62,7 +62,8 @@ void pca_encrypt(char *cleartxt) {
|
|||
char passwd[128];
|
||||
int i;
|
||||
|
||||
strcpy(passwd, cleartxt);
|
||||
strncpy(passwd, cleartxt, sizeof(passwd));
|
||||
passwd[sizeof(passwd)] = 0;
|
||||
if (strlen(cleartxt) > 0) {
|
||||
passwd[0] = (passwd[0] ^ 0xab);
|
||||
for (i = 1; i < strlen(passwd); i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue