Community discussions

MikroTik App
 
User avatar
promind
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Thu Feb 23, 2006 11:26 am
Location: Rousse, Bulgaria
Contact:

Help about web auth

Thu Sep 16, 2010 12:48 pm

Hi all,
My provider has a web auth enabled and I must login every time I reboot the MT.
Is there any chance MT to autologin?
Here is HTML source of there login form:
<div><h3>Активиране</h3><div id="ws"><form name="auth" method=post action="http://91.139.151.3/scr/login" autocomplete="off"><table border=0><tbody><tr><th>Потребител:</th><td><input name="user" type="text" class="search" size=10></td></tr><tr><th>Парола:</th><td><input name="parm" type="password" size=10></td></tr></tbody></table><input name="hs" type="hidden"><input name="p" type="hidden" value="log"><input name="ht" type="hidden" value="a7fcd41384b225908eca401ccf884a51"><br><center><input name=regsend value="Активирай" type="submit" onclick=showDiv();></form></div></div></div></div></div></div></div></td><td width=40>&nbsp;</td><td valign = top > <div id="hide"> <br><center>
I would really appreciate a little help with scripting since I have never wrote MT scripts.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7044
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Help about web auth

Thu Sep 16, 2010 12:50 pm

It is not possible to build a packet with RouteroS script.
 
User avatar
promind
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Thu Feb 23, 2006 11:26 am
Location: Rousse, Bulgaria
Contact:

Re: Help about web auth

Thu Sep 16, 2010 4:35 pm

isn't there any embedded browser that can do the job?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7044
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Help about web auth

Thu Sep 16, 2010 4:52 pm

unfortunately no
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: Help about web auth

Fri Sep 17, 2010 1:05 am

For windows boxes is scripting utility which can automate your login process
http://www.autoitscript.com/autoit3/index.shtml
I don't know that is something similar for linux.

Regards, Grzegorz.

Who is online

Users browsing this forum: ACHim, GoogleOther [Bot] and 15 guests