K
K
Kirill Sidorov2011-03-03 13:08:11
In contact with
Kirill Sidorov, 2011-03-03 13:08:11

Authorization Vkontakte cURL

We use this social network to store videos.

A parser was written, which took new videos by crown. But here's the problem, the VK team has introduced new security policies. Now, when trying to log in from a new country (and we have a server somewhere in Germany), VK asks for the last digits of the phone number and the script cannot log in.

Pokapalsya, I saw interesting lines Tried to send, all in vain. The problem is complicated by the fact that it is impossible to perform this action and see what goes where. Maybe there are the same poor fellows? Has anyone done something similar?

var params = {act: 'security_check', code: ge('code').value, to: 'dmlkZW9xMTMfsMzE4NTk2', al_page: '', hash: 'a74cb4bc5b0a579a28'};
ajax.post('login.php', params, {....


Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dzen_Marketing, 2011-03-03
@Dzen_Marketing

And if you go to the trick. set up a tunnel on your German sideboard or at least a PHP proxy, log in, log in and then parse to your health?

K
Kirill Sidorov, 2011-03-03
@cyberia

I think just about this, I hope this is really one time for a new country ...
Accordingly, the question is, maybe someone knows an easy and simple proxy? On a Debian lenny server.

S
stampoon, 2011-03-03
@stampoon

m… that is, the old
#!/bin/bash
RND=$RANDOM$RANDOM$RANDOM$RANDOM
touch /tmp/cookievk$RND
curl -c /tmp/cookievm$RND -d "email=$1&pass=$2" 'http ://vkontakte.ru/login.php' 2> /dev/null
SID=$(cat /tmp/cookievk$RND | grep sid | tail -c-57)
rm -rf /tmp/cookievk$RND
if [ " $SID" != "" ]; then
echo "$1 - $2 - $SID "
fi
won't work?

N
nons, 2011-03-27
@nons

curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "act=security_check&code=<ТУТ ПОСЛЕДНИЕ 4 ЦИФРЫ ВАШЕГО ТЕЛЕФОНА, ПРИВЯЗАННОГО К СТРАНИЦЕ>&to=HGasbdhj233k-&al_page=&hash=q233bgbc555a576agh");
curl_setopt ($ch, CURLOPT_URL, 'http://vkontakte.ru/login.php');
curl_exec($ch);

to and hash are their own
n0ns3ns3.livejournal.com/455036.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question