Results 1 to 19 of 19

Thread: Auth?

  1. #1
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Auth?

    I got a domain, I just need to know step-by-step how to make an auth system.
    I do visit every 2-6 months

  2. #2
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by zasz View Post
    I got a domain, I just need to know step-by-step how to make an auth system.
    Why do you want an authorization system for? And if you're planning on selling scripts, then good luck because this is a non script selling community.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  3. #3
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Im not selling scripts, Im just going to have peeps sign up at my website then give them a password cause they signed up.
    I do visit every 2-6 months

  4. #4
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    go learn some php and mysql really i cant tell you because i just fooled around with my php code until it worked but php/mysql is the way to go.

  5. #5
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    go learn some php and mysql really i cant tell you because i just fooled around with my php code until it worked but php/mysql is the way to go.
    read!

    I just need to know step-by-step
    I dont have any ideas but ask someone who sells a script.. when i get home ill ask a guy who sold me a auto fighter to add u in msn, give me ur msn and heill add u, maybe

  6. #6
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm...
    if GetPageText('your url') = YourScriptPasswordWhatUserInputs then ...
    Should be something like that...never used it...
    On your site(what should be html or php) there should be text...I'm not sure...

    I fix it later if its wrong...I don't got scar atm in computer...
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  7. #7
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Negaal View Post
    Hmm...


    Should be something like that...never used it...
    On your site(what should be html or php) there should be text...I'm not sure...

    I fix it later if its wrong...I don't got scar atm in computer...
    GetPageText does not exist. I was looking forward to this too.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  8. #8
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    He means GetPage...

  9. #9
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by yanix View Post
    read!



    I dont have any ideas but ask someone who sells a script..
    because you know you really answered his question there...
    what you can do is send POST variables to the site and then have php search your database to see if there is someone with that user and pass then send either accepted or denied depending on that and then have scar read what the php sends out by using getpage(as previously said)

  10. #10
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    A basic php page can be setup to use make an auth system, with the simplest being:
    PHP Code:
    <?php
    $password 
    ''// Your scripts password here
    if($_POST['Auth'] == $password)
    {
      echo 
    'True';
    }
    else
    {
      echo 
    'False';
    }

    ?>
    Then use the scar script to get that page with the post variable auth and the password. A short example would be:
    SCAR Code:
    Program Authorised;
    Const
      Password = ''; // Put password from the site here
      Website = 'http://www'; // Put the URL of the php script here
      Forum = 'http://www.'; // Put the URL of where they have to register to get the pass here

    Var
      Authorised: Boolean;

    Procedure CheckAuth;
    Var
      myClient: Integer;
      PageText: String;
     
    Begin
      myClient:= InitializeHTTPClient(True,True);
      ClearPostData(myClient);
      AddPostVariable(myClient,'auth',Password);
      PageText:= PostHTTPPageEx(myClient,Website); // Put the location of the php script here
      If((PageText = 'True') or (PageText = 'False')) Then
        Authorised:= StrToBool(PageText)
      Else
        Authorised:= False;
      FreeHTTPClient(myclient);
    End;
     
    Begin
      CheckAuth;
      If(Not(Authorised)) Then
      Begin
        Writeln('Sorry, but you are not authorised to use this script. Please register at '+Forum+' to use this script');
        Exit;
      End // Script goes after this End
    End.

    If you need more help adding this stuff to your script, just send me a PM

  11. #11
    Join Date
    Jan 2007
    Location
    East Coast, USA
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    38 Post(s)

    Default

    ya php is the way to go...
    the problem is ppl can always change your script... unless you obfuse... :P

  12. #12
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why do you people want to do this so badly? All you have to do is cut out a piece of the script to make it compile? Give it up. Make an exe. Spend all your time making an exe, so that people have to sign up.
    Active only during the Summer...

  13. #13
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    If you make a PHP auth, changing the script won't do anything.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

  14. #14
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by R0b0t1 View Post
    If you make a PHP auth, changing the script won't do anything.
    Yeah but people can leech a username and password so they don't have to sign up.

    P.S: Zasz i think you're really desperate to get people into your forums
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  15. #15
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    The only problem with an auth script would be the script could just be edited with the auth check being the bit they take out(as JackLkrawl said). The only way round that is to make it also call a bit of script and input that into the script and without that script the rest of it wouldn't work.

  16. #16
    Join Date
    Jan 2007
    Location
    East Coast, USA
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    38 Post(s)

    Default

    Achem... I suggest obfuscation and php auth together
    now thats not that easy to get through...
    and about ppl sharing accounts? just learn php really well and i don't know if you can but try and get their ip and log it and check the logs every week and if you see sharing like really different locations then suspend or delete account...
    but I don't know how much you want to work on this php auth system
    it can take some time to make this probably...
    anyone know how to save ip after php was accessed to a file on server?
    I am also thinking about making auth system... and would appreciate if someone can post php script for this...

  17. #17
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I got something now guys thanks for all your help. And I am Obfusing it.
    I do visit every 2-6 months

  18. #18
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Achem... I suggest obfuscation and php auth together
    now thats not that easy to get through...
    and about ppl sharing accounts? just learn php really well and i don't know if you can but try and get their ip and log it and check the logs every week and if you see sharing like really different locations then suspend or delete account...
    but I don't know how much you want to work on this php auth system
    it can take some time to make this probably...
    anyone know how to save ip after php was accessed to a file on server?
    I am also thinking about making auth system... and would appreciate if someone can post php script for this...
    PHP Code:
    $IP $_SERVER["REMOTE ADDR"
    then save the $IP to a mysql database.

    if i remember correctly

  19. #19
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    The only problem with using IP logs is that quite a lot of people (well, a lot in the UK) get their broadband from providers that change their IP just about whenever they connect to the internet (or reconnect their router) so it would end up giving you a lot of 'sharers'. The best way to lower people sharing passwords, would be to make it so they have to input their forum username and password then check it against the forums details of them.
    Another way to do this, would be to make it so they logon to the forum or wherever, then they get a generated user and password, while also logging the IP, that they put into the script and you then make it so when they run the auth script it makes sure the IP's match, then sets a decay time for the username and password or deletes it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding Auth!
    By shangardezi in forum OSR Help
    Replies: 9
    Last Post: 11-19-2007, 11:22 AM

Posting Permissions

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