https://github.com/lcfhershell/passwordtest
https://github.com/lcfhershell/passwordtest
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lcfhershell/passwordtest
- Owner: LcfherShell
- Created: 2022-02-21T10:24:50.000Z (about 4 years ago)
- Default Branch: passwordtest-v1.3
- Last Pushed: 2024-10-05T12:06:19.000Z (over 1 year ago)
- Last Synced: 2025-06-24T06:39:28.524Z (10 months ago)
- Language: Python
- Size: 216 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# PY-passwordtest V.1.3
This script is to measure password security from Brute Force and Dictionary (worldlist) attacks, by calculating the number, location, and character level. the longer and more varied the character of the password, the harder it is to crack
### Installation
- Pip
```python -V```
- Windows:
`python -m pip install passwordtest`
- Unix or Mac:
`pip install passwordtest`
- GIT
- Windows, Unix and Mac:
````
git clone https://github.com/LcfherShell/passwordtest
cd passwordtest
python -m pip install . or python setup.py
````
### Usage Example
````Python hl_lines="4 9-12 25-27"
1. from passwordtest.main import PasswordTest
2. password = 'Hello'
3. passwordtest = PasswordTest(active=True, sites=True)#call class
4. required_time = passwordtest.__time__(text=password) #getting time
5. sorttime = passwordtest.Sort_Pw(text=[required_time[0], required_time[1]]) #sorttime by min and max
6. badtime = sorttime[1] #time late
7. goodtime = sorttime[0] #fastest time
8. goodtime = passwordtest.Convert_Date(goodtime)#covert to time
9. security = passwordtest._Score_Point(password)##get score point
10.Precent =passwordtest.Precent_Safe(security, badtime, password)#get percent security
11.print(goodtime, security, Precent)
``Output: 0:00:13 Horrible 36``
````
### Usage Mini Example
````Python hl_lines="4 9-12 25-27"
1. from main import PasswordStrength
2. password = 'Hello'
3. passwordtest = PasswordStrength(active=True, sites=True)#call class
4. passwordtest.inputs(password) #getting time
5. gettime = passwordtest.get_longtime
6. badtime = passwordtest.predict[1] #time late
7. goodtime = passwordtest.predict[0] #fastest time
8. security = passwordtest.score(password)##get score point
9. Precent = Precent =passwordtest.precent(security, goodtime, password)#get percent security
10.print(gettime.get("goodtime"), security, Precent
``Output: 0:00:13 Horrible 36``
11.##if you want online time
12.timeout = passwordtest.calcul_online(goodtime, passwordtest.sites(sitename="http://example.com"))
13.print(passwordtest.Convert_Date(round(timeout, 2))#print end get timeou post
````
### Shell Demo
``open commandprompt and type
passwordtest
``

##
📫Bug reports: **LCFHERSHELL@TUTANOTA.COM**
Sociall Media: