Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def rand(s):
- s = (s*0x343fd)&0xffffffff
- s = (s+0x269ec3)&0xffffffff
- val = (s>>0x10)&0x7fff
- return((s,val))
- year = 2017
- def dga(seed):
- (n,v) = rand(seed)
- (n,v2) = rand(n)
- (n,v3) = rand(n)
- return('ab{1:x}{0:x}.com'.format(v, (v2 * v3)&0xffffffff))
- for i in range(1,13):
- seed = year * 0x2710 #20170000
- seed += i
- print(dga(seed))
Advertisement
Add Comment
Please, Sign In to add comment