sysopfb

ccleaner dga

Sep 19th, 2017
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. def rand(s):
  2. s = (s*0x343fd)&0xffffffff
  3. s = (s+0x269ec3)&0xffffffff
  4. val = (s>>0x10)&0x7fff
  5. return((s,val))
  6.  
  7.  
  8. year = 2017
  9.  
  10. def dga(seed):
  11. (n,v) = rand(seed)
  12. (n,v2) = rand(n)
  13. (n,v3) = rand(n)
  14. return('ab{1:x}{0:x}.com'.format(v, (v2 * v3)&0xffffffff))
  15.  
  16. for i in range(1,13):
  17. seed = year * 0x2710 #20170000
  18. seed += i
  19. print(dga(seed))
Advertisement
Add Comment
Please, Sign In to add comment