Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: [vbnet/C#/Python] Basic clraik Authorization

  1. #11
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    Quote Originally Posted by Infamous Joe View Post
    Only I was able to see this. It is now retired, which makes my account the most valuable here at clraik.

  2. #12
    Saiyan Race
    j03's Avatar
    Joined
    Dec 2011
    Posts
    13,722
    Userbars
    166
    Thanks
    5,906
    Thanked
    33,078/6,609
    DL/UL
    23/36
    Mentioned
    3,867 times
    Time Online
    563d 5h 25m
    Avg. Time Online
    3h 13m
    Quote Originally Posted by Zachafer View Post
    You still didn't see it at the time.
    (you need an account to see links)
    (you need an account to see links)(you need an account to see links)

    ------------------------
    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
    ------------------------


  3. #13

    Joined
    Oct 2014
    Posts
    15
    Userbars
    0
    Thanks
    0
    Thanked
    4/2
    DL/UL
    24/0
    Mentioned
    1 time
    Time Online
    13h 48m
    Avg. Time Online
    N/A
    This is ok code, but what are the other supported http response bodies besides "<status>Authorized</status>"? I've seen your programs give less cryptic info for login failure, etc, so I know there are other replies we can code for.

  4. #14
    Water's Avatar
    Joined
    Nov 2012
    Posts
    792
    Userbars
    12
    Thanks
    474
    Thanked
    452/210
    DL/UL
    158/9
    Mentioned
    217 times
    Time Online
    54d 8h 42m
    Avg. Time Online
    18m
    @(you need an account to see links) & @(you need an account to see links)
    I have some python code for ck auth that might be helpful to others + (sorry for gravedigging)
    Code:
    def authorization():
        username = username.get() #from entry1
        password = password.get() #from entry2
        webFile = urllib2.urlopen('http://clraik.com/forum/auth.php?u=' + username + '&p=' + password + '&r=' + rank).read()
        print(webFile)
        if "<status>Authorized</status>" in webFile:
            return tkMessageBox.showinfo("clraik authorization", "Authorized")
        else:
            return tkMessageBox.showinfo("clraik authorization", "Not Authorized")

  5. The Following User Says Thank You to Water For This Useful Post:

    j03 (08-15-2015)

  6. #15
    Saiyan Race
    j03's Avatar
    Joined
    Dec 2011
    Posts
    13,722
    Userbars
    166
    Thanks
    5,906
    Thanked
    33,078/6,609
    DL/UL
    23/36
    Mentioned
    3,867 times
    Time Online
    563d 5h 25m
    Avg. Time Online
    3h 13m
    Quote Originally Posted by Water View Post
    @(you need an account to see links) & @(you need an account to see links)
    I have some python code for ck auth that might be helpful to others + (sorry for gravedigging)
    Code:
    def authorization():
        username = username.get() #from entry1
        password = password.get() #from entry2
        webFile = urllib2.urlopen('http://clraik.com/forum/auth.php?u=' + username + '&p=' + password + '&r=' + rank).read()
        print(webFile)
        if "<status>Authorized</status>" in webFile:
            return tkMessageBox.showinfo("clraik authorization", "Authorized")
        else:
            return tkMessageBox.showinfo("clraik authorization", "Not Authorized")
    Nice job on this contribution! I added it to the first page/title.
    (you need an account to see links)
    (you need an account to see links)(you need an account to see links)

    ------------------------
    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
    ------------------------


  7. The Following User Says Thank You to j03 For This Useful Post:

    Water (08-15-2015)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •