Created
January 7, 2017 16:42
-
-
Save fonov/361a9ce213b73cf5af943359866261ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Формирование ссылки для авторизации | |
echo 'https://telegram.me/vkfollowersbot?start='.substr(sh1($_REQUEST['viewer_id'] . 'fonov'), 6).$_REQUEST['viewer_id'] | |
Что мы делаем? | |
Берем vk id как СТРОКУ!!! и прибавляем к ней 'fonov' | |
ХЭШ от строки, первые 6 символов | |
И прибовляем к ней ид вк. | |
Ссылка Аркадия | |
https://telegram.me/vkfollowersbot?start=366717170147312 | |
ID VK - 170147312 | |
SH1 hash - 366717 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment