Skip to content

Instantly share code, notes, and snippets.

@NulAsh
Created October 31, 2018 22:29
Show Gist options
  • Save NulAsh/591dc3cabebaca0ab2aba52c904dbc78 to your computer and use it in GitHub Desktop.
Save NulAsh/591dc3cabebaca0ab2aba52c904dbc78 to your computer and use it in GitHub Desktop.
Insert your phone number into VK id
n = 380501234567
uid = 278699285
m = 1
while True:
x = (uid - n) & 0xFFFFFFFF
if x < m:
print(n + x)
break
m *= 10
n *= 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment