This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import secrets as s | |
""" | |
This program generates a password of length n. | |
Programma also generates a code name of length n. | |
Requires the dictionary.txt and the nouns and adjective files to run | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import secrets as s | |
""" | |
This program generates a password of length n. | |
Programma also generates a code name of length n. | |
Requires the dictionary.txt and the nouns and adjective files to run | |
""" | |
class Generator: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!usr/bin/env python2 | |
import ipaddress | |
def consecutive_IP(CIDR = u'0.0.0.0', ip=u'0.0.0.0'): | |
''' | |
Takes an IP as the inupt and returns the next available IP address | |
d | |
@param CIDR: CIDR notation | |
@param ip: ip address |