ungleich-tools/generate-coupon.py
Nico Schottelius 5b3892bde4 ++coupon mode
2021-12-14 16:02:07 +01:00

9 lines
176 B
Python
Executable file

#!/usr/bin/env python3
import random
import ipaddress
net = ipaddress.IPv6Network("2a0a:e5c0:11:2::/64")
offset = random.randint(0, 2**64)
coupon = net[offset]
print(coupon)