++coupon code
This commit is contained in:
parent
295a36106f
commit
dc81a3fbc1
1 changed files with 9 additions and 0 deletions
9
generate-coupon.py
Normal file
9
generate-coupon.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/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)
|
Loading…
Reference in a new issue