Polenum

Request the password policy for a user(s).

Installation

sudo apt install polenum

Usage

usage: polenum [-h] [--username USERNAME] [--password PASSWORD] [--domain DOMAIN] [--protocols [PROTOCOLS [PROTOCOLS ...]]] [enum4linux]

Flags

positional arguments:
  enum4linux            username:[email protected]

optional arguments:
  -h, --help            show this help message and exit
  --username USERNAME, -u USERNAME
                        The specified username
  --password PASSWORD, -p PASSWORD
                        The password of the user
  --domain DOMAIN, -d DOMAIN
                        The domain or IP
  --protocols [PROTOCOLS [PROTOCOLS ...]]
                        ['139/SMB', '445/SMB']

Examples

$ polenum --username johndo --password Welkom1234 --domain 10.10.10.10


[+] Attaching to 10.10.10.10 using johndo:Welkom1234

[+] Trying protocol 139/SMB...

    [!] Protocol failed: Cannot request session (Called Name:10.10.10.10)

[+] Trying protocol 445/SMB...

[+] Found domain(s):

    [+] OFFSEC
    [+] Builtin

[+] Password Info for Domain: OFFSEC

    [+] Minimum password length: 7
    [+] Password history length: 24
    [+] Maximum password age: 41 days 23 hours 53 minutes
    [+] Password Complexity Flags: 000001

        [+] Domain Refuse Password Change: 0
        [+] Domain Password Store Cleartext: 0
        [+] Domain Password Lockout Admins: 0
        [+] Domain Password No Clear Change: 0
        [+] Domain Password No Anon Change: 0
        [+] Domain Password Complex: 1

    [+] Minimum password age: 1 day 4 minutes
    [+] Reset Account Lockout Counter: 30 minutes
    [+] Locked Account Duration: 30 minutes
    [+] Account Lockout Threshold: None
    [+] Forced Log off Time: Not Set

URL list