(brand)
return base
Return a list of potential or default username/password
        combinations for a router.  This is more refined than a
        brute force attempt with a fat wordlist.
Return a list of potential or default username/password
        combinations for a router.  This is more refined than a
        brute force attempt with a fat wordlist.
Return a list of potential or default username / password combinations for a router . This is more refined than a brute force attempt with a fat wordlist .
def default_list(brand):
    """ Return a list of potential or default username/password
        combinations for a router.  This is more refined than a
        brute force attempt with a fat wordlist.
    """
    brand = globals().get(brand)()
    if not brand:
        return None

    base = general()

    # uniquely combine lists
    base['username'] = list(set(base['username'] + brand['username']))
    base['password'] = list(set(base['password'] + brand['password']))
    return base
def default_list ( brand ) : brand = globals ( ) . get ( brand ) ( ) if not brand : return None base = general ( ) # uniquely combine lists base [ 'username' ] = list ( set ( base [ 'username' ] + brand [ 'username' ] ) ) base [ 'password' ] = list ( set ( base [ 'password' ] + brand [ 'password' ] ) ) return base