Giter Site home page Giter Site logo

genpass's Issues

TODOs

  • -根据邮箱生成密码-
  • csv
  • 根据公司生成密码

ImportError: cannot import name 'PINYIN'

Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from genpass import VERSION, __author__, __email__
  File "D:\haker\0-tools\04-密码相关\genpAss\genpass\__init__.py", line 11, in <module>
    from .lib.person import Person
  File "D:\haker\0-tools\04-密码相关\genpAss\genpass\lib\person.py", line 5, in <module>
    from genpass import generator
  File "D:\haker\0-tools\04-密码相关\genpAss\genpass\generator.py", line 4, in <module>
    from config import PINYIN
ImportError: cannot import name 'PINYIN'

建议密码规则

生日或者名字反过来输入
如生日19890604变成40609891
名字 wangdachui 变成 iuhcadgnaw

ValueError: Invalid format string

输入-b 年-月-日 后,出现如下报错。

Traceback (most recent call last):
File "C:\Python27\Scripts\genpass-script.py", line 9, in
load_entry_point('genpass==0.2.1', 'console_scripts', 'genpass')()
File "C:\Python27\lib\site-packages\genpass-0.2.1-py2.7.egg\genpass\command.py
", line 30, in main
map(gen.genpass, person_list)
File "C:\Python27\lib\site-packages\genpass-0.2.1-py2.7.egg\genpass\command.py
", line 20, in genpass
for i in passwords:
File "C:\Python27\lib\site-packages\genpass-0.2.1-py2.7.egg\genpass\lib\person
.py", line 121, in generate_password
self.generate_source_dict()
File "C:\Python27\lib\site-packages\genpass-0.2.1-py2.7.egg\genpass\lib\person
.py", line 85, in generate_source_dict
returned = generator.generator_map(data, rule)
File "C:\Python27\lib\site-packages\genpass-0.2.1-py2.7.egg\genpass\generator.
py", line 20, in generator_map
result.update(map(format_func, data))
File "C:\Python27\lib\site-packages\genpass-0.2.1-py2.7.egg\genpass\rules\buil
t_in.py", line 32, in
lambda x: time.strftime('%y%-m%-d', x),
ValueError: Invalid format string

BUG

  • generate password fragments of birthday
  • generate password fragments of QQ

没有--csv参数?

$ genpass -h
usage: genpass [-h] [-n [NAME [NAME ...]]] [-u [USERNAME [USERNAME ...]]]
[-q [QQ [QQ ...]]] [-e [EMAIL [EMAIL ...]]]
[-m [MOBILE [MOBILE ...]]] [-b BIRTHDAY]
[-c [COMPANY [COMPANY ...]]] [--with-dict] [-o OUTPUT_FILE]

User information

optional arguments:
-h, --help show this help message and exit
-n [NAME [NAME ...]], --name [NAME [NAME ...]]
real name of target
-u [USERNAME [USERNAME ...]], --username [USERNAME [USERNAME ...]]
usernames of target, English only
-q [QQ [QQ ...]], --qq [QQ [QQ ...]]
QQ numbers of target
-e [EMAIL [EMAIL ...]], --email [EMAIL [EMAIL ...]]
email addresses of target
-m [MOBILE [MOBILE ...]], --mobile [MOBILE [MOBILE ...]]
mobile phone/phone numbers of target
-b BIRTHDAY, --birthday BIRTHDAY
birthday of target, format: %Y-%m-%d
-c [COMPANY [COMPANY ...]], --company [COMPANY [COMPANY ...]]
company / website domain of target
--with-dict generate passwords with weak password dictionary
-o OUTPUT_FILE, --output OUTPUT_FILE
output result to a json file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.