[Python] A Simple WoW Login [Source] menu

User Tag List

Results 1 to 12 of 12
  1. #1
    mjmorrell3's Avatar Member
    Reputation
    27
    Join Date
    Jan 2008
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Python] A Simple WoW Login [Source]

    Hello community, tonight I decided to experiment with the programming language Python, and see what it could do. After a little bit of work, I was able to muster up this piece of code that will attempt to login to the WoW website.

    This may be of little use to you if you are not a programmer.

    Code:
    # WoW Python Login by mjmorrell
    import urllib
    import urllib2
    
    user = raw_input("Username: ")
    pwd = raw_input("Password: ")
    
    url = 'https://www.blizzard.com/login/login.xml?referer=https%3A%2F%2Fwww.worldofwarcraft.com%2Faccount%2F&loginType=wow '
    user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4'
    values = { 'accountName' : user, 'password' : pwd}
    headers = { 'User-Agent' : user_agent, 'Referer' : url }
    
    data = urllib.urlencode(values)
    req = urllib2.Request(url, data, headers)
    response = urllib2.urlopen(req)
    the_page = response.read()
    if 'tas' in the_page:
        print '\nLogin Failed'
    else:
        print '\nLogin Success!'
    As you can see, Python was designed for readability so even non-programmers may be able to learn something from this.

    Compiled (wowlogin.py): http://www.filedropper.com/wowlogin

    [Python] A Simple WoW Login [Source]
  2. #2
    7itanium's Avatar Banned
    Reputation
    706
    Join Date
    Jul 2008
    Posts
    1,838
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the contribution... +2rep even though I most likely will not use it

  3. #3
    Zurkei's Avatar Contributor

    Reputation
    91
    Join Date
    Apr 2007
    Posts
    405
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +2 rep just because it is in python ^^ gotta love python.

  4. #4
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, the same. +Rep x2 since this is in Phyton and not retarded AutoIt "How To A WoW Login" Nr. 19234912

  5. #5
    Zurkei's Avatar Contributor

    Reputation
    91
    Join Date
    Apr 2007
    Posts
    405
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Zeroi9 View Post
    Yeah, the same. +Rep x2 since this is in Phyton and not retarded AutoIt "How To A WoW Login" Nr. 19234912
    Plus Python is easier then AutoIt but people just don't understand it here. XD

  6. #6
    Cern's Avatar Banned
    Reputation
    146
    Join Date
    Feb 2007
    Posts
    1,038
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well do you think its possible to implement it into a wow scamming website so that the users can only login with real data?

  7. #7
    [F]ear's Avatar Contributor
    Reputation
    165
    Join Date
    Jan 2008
    Posts
    656
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cern View Post
    Well do you think its possible to implement it into a wow scamming website so that the users can only login with real data?
    Offtopic:
    When do I get my gmail back, Cern?

    OnTopic:
    Never seen a progra in Python, +rape
    PROUD MEMBER OF WWW.FIXAPPLE.DK

  8. #8
    Siretu's Avatar Active Member
    Reputation
    22
    Join Date
    Aug 2007
    Posts
    142
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep because I love python!


  9. #9
    Fayat's Avatar Member
    Reputation
    1
    Join Date
    Mar 2007
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use a proxy with urllib2....just install Tor+Vidalia and use localhost 8118 as your proxy

  10. #10
    Phygar's Avatar ( ͡° ͜ʖ ͡°)
    Reputation
    444
    Join Date
    Nov 2007
    Posts
    1,591
    Thanks G/R
    7/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    + rep because it's Python and not AutoIt.

  11. #11
    _duracell's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Fayat View Post
    You can use a proxy with urllib2....just install Tor+Vidalia and use localhost 8118 as your proxy
    Really? I will have to try that, it would be incredibly useful.

    Thanks for posting

  12. #12
    komatag's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    + rep because of python.

    python FTW!!

Similar Threads

  1. wow login using python
    By karapidiola in forum WoW Bots Questions & Requests
    Replies: 4
    Last Post: 11-26-2012, 10:43 AM
  2. Simple WoW re-login tool
    By mrbrdo in forum World of Warcraft Bots and Programs
    Replies: 8
    Last Post: 08-23-2008, 07:08 AM
  3. WoW! thing source code
    By Relz in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 05-15-2007, 03:55 PM
All times are GMT -5. The time now is 06:19 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search