Авторизация на ask.fm

Discussion in 'С/С++, C#, Rust, Swift, Go, Java, Perl, Ruby' started by nazarp, 3 Apr 2013.

  1. nazarp

    nazarp New Member

    Joined:
    10 Aug 2010
    Messages:
    2
    Likes Received:
    0
    Reputations:
    -3
    Пишу авторизацию: 1 раз написал работала...захожу через несколько дней - неробит...
    Code:
    res:=send('POST','http://ask.fm/session','authenticity_token=crrBhcDsyhqznBgp7mkBnq9%2F1Ao4GOwGs2FgS2Dv6rE%3D&login=logitech12345678&password=e45c9k3&follow=&like=&back=&authenticity_token=crrBhcDsyhqznBgp7mkBnq9%2F1Ao4GOwGs2FgS2Dv6rE%3D');
    Вот код на synapse.Ответ главная страница.
     
  2. GRRRL Power

    GRRRL Power Elder - Старейшина

    Joined:
    13 Jul 2010
    Messages:
    823
    Likes Received:
    185
    Reputations:
    84
    Ты не думал о том, что токены меняются и их нужно парсить каждый раз по-новому? Кроме того, ты спалил свой логин и пароль.
     
  3. nazarp

    nazarp New Member

    Joined:
    10 Aug 2010
    Messages:
    2
    Likes Received:
    0
    Reputations:
    -3
    ето левый акк...как их парсить на synapse?
     
  4. sms-seller

    sms-seller New Member

    Joined:
    13 Feb 2013
    Messages:
    0
    Likes Received:
    0
    Reputations:
    0
    var token,res:string;
    res:=send('GET','http://ask.fm/');
    token:=pars('name="authenticity_token" type="hidden" value="',res,'"');
    res:=send('POST','http://ask.fm/session','authenticity_token='+token+'&login=logitech12345678&password=e45c9k3&follow=&like=&back=&authenticity_token='+token);
    //функция pars: http://pastebin.com/A3wFgZsA
     
  5. nazarp

    nazarp New Member

    Joined:
    10 Aug 2010
    Messages:
    2
    Likes Received:
    0
    Reputations:
    -3
    не работает
     
  6. fuckyoupig

    fuckyoupig Member

    Joined:
    1 Mar 2011
    Messages:
    0
    Likes Received:
    11
    Reputations:
    2
    Чувствую одним местом, что куки не используешь
     
  7. nazarp

    nazarp New Member

    Joined:
    10 Aug 2010
    Messages:
    2
    Likes Received:
    0
    Reputations:
    -3
    Ето важно?
     
  8. BlackIce

    BlackIce Elder - Старейшина

    Joined:
    10 Jan 2013
    Messages:
    100
    Likes Received:
    31
    Reputations:
    27
    пшел вон с треда
     
    1 person likes this.
  9. nazarp

    nazarp New Member

    Joined:
    10 Aug 2010
    Messages:
    2
    Likes Received:
    0
    Reputations:
    -3
    Обясните?
     
  10. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    некогда объяснять.
    снимай штаны с карманами, бумажник клади сюда - и вали по-добру отсюда.
     
  11. bugrom256

    bugrom256 Banned

    Joined:
    14 Apr 2010
    Messages:
    13
    Likes Received:
    0
    Reputations:
    0
    за $ поможем )