mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 12:36:09 -07:00
remove carriage returns in lines (pw-inspector)
This commit is contained in:
parent
720bdb3f96
commit
0b093e67c4
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ int main(int argc, char *argv[]) {
|
|||
continue;
|
||||
if (buf[strlen(buf) - 1] == '\n')
|
||||
buf[strlen(buf) - 1] = 0;
|
||||
if (buf[strlen(buf) - 1] == '\r')
|
||||
buf[strlen(buf) - 1] = 0;
|
||||
if (strlen(buf) >= minlen && strlen(buf) <= maxlen) {
|
||||
i = 0;
|
||||
if (countsets > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue