The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Programatical register

2 posters

Go down

Programatical register Empty Programatical register

Post by justaguy July 20th 2012, 4:56 pm

I have a minecraft server and I would like to make users automaticly register on the forum when they register on the server. I know how to write such a plugin but the problem is I am unavailable to skip the captcha. And the register page is consisted of 3 pages so I'll have to take a cookie and keep it up for the 3 pages in order to register. My question is if theres a hidden php script allowing you to register only with email,password and username. If there aint one how can I upload one to my forum?
I already have a program thats able to programaticly login on a forumotion website and check for new messages on the forum or private messages. It's written in Java.
Thanks for the help.
avatar
justaguy
New Member

Posts : 15
Reputation : 0
Language : English

Back to top Go down

Programatical register Empty Re: Programatical register

Post by LGforum July 20th 2012, 11:39 pm

It would be possible yes.
As long as you send an "agreed" parameter of true/1 and a "step" parameter of "2" you can cut the registration down into one page.

You'd need to send the username, password and email. But ensure all validation is done on your end. You could use PHP CURL, or Python request. I don't know a massive amount of Java, but I'm sure you have the ability to send POST data to a URL.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Programatical register Empty Re: Programatical register

Post by justaguy July 23rd 2012, 7:06 pm

Yes you can send a POST request. I've already done a program that registers onto a phpbb3 forum. What about the captcha on 3rd page?
avatar
justaguy
New Member

Posts : 15
Reputation : 0
Language : English

Back to top Go down

Programatical register Empty Re: Programatical register

Post by justaguy July 23rd 2012, 10:05 pm

I found the place in admin panel to disable register captcha. Time to get busy on the code Smile. Would you like to take a look at it when its done?
I can't seem to make the login work though.. The post seems to be successfull but catching the right cookie fields is a problem -.-.
Well it seems like there are other different parameters for the login page. I can't find any idea what to do with 3 of them..
The two auth arrays and the confirm_pass thing. They seem to be hash function output. Not MD5 though. Neither SHA1 or SHA256. Didnt try combinations...
So if someone has any idea what these could be just tell me. Too bad there are so many protections against hackers that wouldnt even allow me to write a simple register plugin for my server.
Programatical register JtnZW
avatar
justaguy
New Member

Posts : 15
Reputation : 0
Language : English

Back to top Go down

Programatical register Empty Re: Programatical register

Post by LGforum July 23rd 2012, 10:31 pm

Ah yes the auth fields. I'm not sure what hash they are using.
I do know though, that there are auth parameter for the posting form, which can be disabled in the admin panel. So I wonder if the same option acutally disables the authentication for login/registration too.

You can find it at ACP > General > Security > Unauthorize unofficial forms to send messages : No
Then try.

LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Programatical register Empty Re: Programatical register

Post by justaguy July 23rd 2012, 10:43 pm

Still not being able to register. I haven't check the required fields now though. Just tried with all the fields except the first 3.
avatar
justaguy
New Member

Posts : 15
Reputation : 0
Language : English

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum