-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
min and max checks invalid due to parser.option values being stored as strings instead of int #6
Comments
Same issue here. Any solutions @ventz ? |
@blackdiamond1982 the solution is above ^^ |
@ventz did you simply change int at L622-L623..? Doing that, It doesn't give me the error message anymore, but the number of pwd attemps doesn't change. I mean... doing -m 1 -x 10 is equal to doing -m 6 -x 10..the number of possible password is the same.. Is that normal? best regards |
@blackdiamond1982 It looks like the developer updated/changed the code (and thus it shifted the lines), but didn't fix this bug... It's now lines: https://github.com/hamedA2/Zydra/blob/master/Zydra.py#L626-L627 In case it shifts again, one needs to change FROM this:
TO this:
|
@hamedA2 ^ ping -- there is a bug in the input for the min/max check - it's currently parsing a type string, and doing numeric comparisons on a string. |
@hamedA2 @ventz if it can help i, for me it display the correct numbers of pwd only from: But if I made: Hope it can help... |
A bug where "10" is getting picked up as less than "9"
The check here (https://github.com/hamedA2/Zydra/blob/master/Zydra.py#L652) is correct.
However, setting the parser options as string (should be "int") is the problem here:
https://github.com/hamedA2/Zydra/blob/master/Zydra.py#L622-L623Updated: https://github.com/hamedA2/Zydra/blob/master/Zydra.py#L626-L627
The text was updated successfully, but these errors were encountered: