Skip to content

Instantly share code, notes, and snippets.

@Harrisoon
Harrisoon / IP
Created November 21, 2018 10:31
Returns next available IP.
#!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
@Harrisoon
Harrisoon / pw
Created November 28, 2018 16:32
pw
#!/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:
@Harrisoon
Harrisoon / Password.py
Created December 6, 2018 11:14
Password Creator
#!/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
"""