playing around with curl - why cant i login to battle.net ? menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Netzgeist's Avatar Contributor
    Reputation
    144
    Join Date
    Jan 2008
    Posts
    353
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    playing around with curl - why cant i login to battle.net ?

    hi,
    so heres my code:

    Code:
    <?php
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://eu.battle.net/login/de");
    curl_setopt ($ch, CURLOPT_POST, 1);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, 'accountName=my@mail&password=1234&persistLogin=on');
    curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
    $store = curl_exec ($ch);
    curl_setopt($ch, CURLOPT_URL, 'http://eu.battle.net/de/');
    $content = curl_exec ($ch);
    echo $content;
    curl_close ($ch);
    ?>
    just standart curl stuff. why does $content include the "hi guest, wanna buy wow?" -stuff instead of members home?
    regards,
    NG

    playing around with curl - why cant i login to battle.net ?
  2. #2
    ev1's Avatar Banned
    Reputation
    98
    Join Date
    Nov 2008
    Posts
    428
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's super hard to say, but it could be that it's an https? I've always had issues with https.

  3. #3
    Netzgeist's Avatar Contributor
    Reputation
    144
    Join Date
    Jan 2008
    Posts
    353
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shouldnt be the problem, CURLOPT_SSL_VERIFYPEER is true on my defaults. i now also sent a useragent, refferer etc which didnt solve the issue.
    regards,
    NG

  4. #4
    ev1's Avatar Banned
    Reputation
    98
    Join Date
    Nov 2008
    Posts
    428
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try posting data to: https://eu.battle.net/login/en-us/login.frag

    instead

  5. #5
    Netzgeist's Avatar Contributor
    Reputation
    144
    Join Date
    Jan 2008
    Posts
    353
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    didnt work eihter ;(
    regards,
    NG

Similar Threads

  1. why cant pay with paypal
    By olk in forum Trade Support
    Replies: 2
    Last Post: 03-05-2015, 02:34 PM
  2. Replies: 1
    Last Post: 07-15-2012, 06:44 AM
  3. [Login LUA] [Battle.Net] Help?
    By -Ryuk- in forum WoW Memory Editing
    Replies: 16
    Last Post: 08-12-2010, 08:33 AM
  4. Play around with Physics
    By Obama in forum Community Chat
    Replies: 14
    Last Post: 10-12-2008, 10:19 AM
  5. why cant you post in the wow emulation?
    By ShortButStrong in forum World of Warcraft General
    Replies: 0
    Last Post: 12-02-2006, 03:12 AM
All times are GMT -5. The time now is 12:31 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search