Page 1 of 2 12 LastLast
Results 1 to 10 of 15

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

  1. #1
    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

    [vbnet/C#/Python] Basic clraik Authorization

    VBNet:
    Code:
        Private Shared Function Authorize(ByVal User As String, ByVal Pass As String, ByVal Rank As String) As Boolean
            If User.Length = 0 Then
                MessageBox.Show("Please insert a clraik username!", "clraik Authorization")
            ElseIf Pass.Length = 0 Then
                MessageBox.Show("Please insert a clraik password!", "clraik Authorization")
            Else
                Dim wc As System.Net.WebClient = New System.Net.WebClient()
                Dim HTML As String = wc.DownloadString("http://clraik.com/forum/auth.php?u=" & User & "&p=" & Pass & "&r=" & Rank)
                Return HTML.Contains("<status>Authorized</status>")
            End If
            Return False
        End Function
    C#:
    Code:
            private static bool Authorize(string user, string pass, string rank)
            {
                if (user.Length == 0)
                {
                    MessageBox.Show("Please insert a clraik username!", "clraik Authorization");
                }
                else if (pass.Length == 0)
                {
                    MessageBox.Show("Please insert a clraik password!", "clraik Authorization");
                }
                else
                {
                    System.Net.WebClient wc = new System.Net.WebClient();
                    string HTML = wc.DownloadString("http://clraik.com/forum/auth.php?u=" + user + "&p=" + pass + "&r=" + rank);
                    return HTML.Contains("<status>Authorized</status>");
                }
                return false;
            }
    Python:
    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")
    RANK PARAMETER VALUES:

    1=NEWBIE
    2=CLRAIK
    3=OFFICIAL CLRAIK
    4=TOP CLRAIK
    5=CLRAIK MASTER
    6=CLRAIK VIP
    Last edited by j03; 08-15-2015 at 10:43 AM.

  2. The Following 8 Users Say Thank You to Zachafer For This Useful Post:

    Coolguy (05-06-2015),Ghosts (12-02-2014),j03 (11-17-2014),jojo (03-16-2012),Ryan~ (03-16-2012),Water (11-22-2014),watersniper (06-25-2013),ZombieAttack (05-16-2017)

  3. #2

    Joined
    Jul 2012
    Posts
    1
    Userbars
    0
    Thanks
    0
    Thanked
    0/0
    DL/UL
    1/0
    Mentioned
    Never
    Time Online
    N/A
    Avg. Time Online
    N/A
    im just trying to get authorized for me to get to the money tree sign in ..but i cant get authorized..any help will be extremely useful.

  4. #3
    Xanice's Avatar
    Joined
    Dec 2011
    Posts
    295
    Userbars
    5
    Thanks
    47
    Thanked
    138/90
    DL/UL
    3/0
    Mentioned
    46 times
    Time Online
    1d 4h 57m
    Avg. Time Online
    N/A
    Quote Originally Posted by cocacolabeast View Post
    im just trying to get authorized for me to get to the money tree sign in ..but i cant get authorized..any help will be extremely useful.
    This is not the proper place to post that. This authorization is for the explicit use of programmers creating programs for clraik. You can not access programs because you are not a high enough rank / do not have enough posts yet to access any. Alternatively you can pay 5$ a month to gain access to all programs with VIP


    Cause someday I'll be OVER 9,000... Rep!


  5. #4

    Joined
    Jun 2012
    Posts
    70
    Userbars
    1
    Thanks
    5
    Thanked
    11/7
    DL/UL
    51/0
    Mentioned
    4 times
    Time Online
    1d 2h 12m
    Avg. Time Online
    N/A
    @(you need an account to see links) I tried to use this to get out my authorization issues with Joe's programs but I can't find a working visual basic program that I can download. I am completely new to programming but I read the tutorials and I cant get VB 2010 or 2012 to download from microsoft's site

  6. #5

    Joined
    Jun 2012
    Posts
    1,699
    Thanks
    876
    Thanked
    2,881/1,142
    DL/UL
    44/1
    Mentioned
    562 times
    Time Online
    118d 6h 45m
    Avg. Time Online
    40m
    (you need an account to see links)

    (scroll down for visual basic only)

  7. #6
    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 lawlerz View Post
    @(you need an account to see links) I tried to use this to get out my authorization issues with Joe's programs but I can't find a working visual basic program that I can download. I am completely new to programming but I read the tutorials and I cant get VB 2010 or 2012 to download from microsoft's site
    Here's an in-depth guide to making a basic Neopets login from literal start to finish - (you need an account to see links)

    Make sure you check out the rest of the (you need an account to see links).

  8. #7

    Joined
    Feb 2013
    Posts
    3
    Userbars
    0
    Thanks
    0
    Thanked
    0/0
    DL/UL
    7/0
    Mentioned
    Never
    Time Online
    49m
    Avg. Time Online
    N/A
    thx all

  9. #8
    Saiyan Race
    j03's Avatar
    Joined
    Dec 2011
    Posts
    13,720
    Userbars
    166
    Thanks
    5,906
    Thanked
    33,076/6,608
    DL/UL
    23/36
    Mentioned
    3,867 times
    Time Online
    563d 4h 55m
    Avg. Time Online
    3h 13m
    (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.
    ------------------------


  10. #9
    simmie's Avatar
    Joined
    May 2012
    Posts
    2,197
    Thanks
    1,762
    Thanked
    2,090/945
    DL/UL
    1/0
    Mentioned
    831 times
    Time Online
    109d 7h 37m
    Avg. Time Online
    37m
    nvmmmmm

  11. #10
    Saiyan Race
    j03's Avatar
    Joined
    Dec 2011
    Posts
    13,720
    Userbars
    166
    Thanks
    5,906
    Thanked
    33,076/6,608
    DL/UL
    23/36
    Mentioned
    3,867 times
    Time Online
    563d 4h 55m
    Avg. Time Online
    3h 13m
    Quote Originally Posted by Simmie View Post
    nvmmmmm
    Only I was able to see this. It is now retired, which makes my account the most valuable here at clraik.
    (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.
    ------------------------


Posting Permissions

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