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: 6195
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: 6195
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: 841
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.
Grzegorz | MTCNA, MTCRE, MTCSE, MTCSWE | konsultacje MikroTik Warszawa
It is a book about a Spanish guy called Manual. You should read it. - Dilbert
 
tonyclark
just joined
Posts: 1
Joined: Thu Feb 04, 2021 1:56 pm

Re: Help about web auth

Wed Feb 10, 2021 10:13 am

Maybe you can automate the setup + copying the access files with this:


https://fastautoclicker.com/


(Don't ask me how. I just know that theoretically it should work).

Who is online

Users browsing this forum: No registered users and 19 guests