Skip to content
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

i found many backticks in password simple,is it right? #6

Open
Explorer1092 opened this issue Jan 17, 2018 · 7 comments
Open

i found many backticks in password simple,is it right? #6

Explorer1092 opened this issue Jan 17, 2018 · 7 comments

Comments

@Explorer1092
Copy link

Explorer1092 commented Jan 17, 2018

root@07d198dcd43f:/notebooks# tail /mnt/passgan/samples/samples_172900.txt

Baugedd*76
ashas#1```
r.macj````
AvirTAbN``
dice@35```
Salderr65`
Ml4pann```
Ep044j8```
s?j009````
koph@9306`
@brannondorsey
Copy link
Owner

Yes, backticks are used to pad passwords to a fixed length (10 chars). Replace them with null once generated 👍

@brannondorsey
Copy link
Owner

You found them in all generated passwords with length < 10 correct?

@Explorer1092
Copy link
Author

yes,length < 10。
Should I replace these backticks by myself?

@brannondorsey
Copy link
Owner

Unfortunately, yes. I didn't realize I left the backticks in there 😨. Away from my dev machine until next week, but I'll update the repo to fix this then. Until then, something like this should work:

# save this as remove-backticks.py
with open('samples.txt', 'r') as f:
    for line in f:
        print(line.replace('`', ''))
# run it like this
python remove-backticks.py > cleaned-samples.txt

@brannondorsey
Copy link
Owner

Actually, ya know what, this shouldn't even be happening. Not sure what is up. I'll take a look next week, thanks!

@tjw960414
Copy link

您好,我在运行train.py文件时显示错误output-o需要参数,可是我不知道在哪加,请您解答感谢

@brannondorsey
Copy link
Owner

@tjw960414, are you referencing this issue or do you have a new question? If this is unrelated would you mind opening a new issue and providing more information about your problem?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants