I need help in Hotspot Script , How can I add the status of wirelss client , I want to Get the SNMP or /interface wireless regsitartion-table , and get the signal of user accourding his MAC-Address and put it in the hotspot status page . also the Tx/Rx of user .
We are talk about HOTSPOT user not Mikrotik (( admin or )) any user , I didn’t want to great a script that may be some hackers use it to login inside Mikrotik Box ?
any Idea ,
and some users use (( Wireless Client Routers )) like D-Link or UsRobotik and the Hotspot see the LAN MAC-Address of them PCs not the MAC-Address of wireless LAN of the Router .
Need Help , and I think we need help from mikrotik and it must added to mikrotik hotspot to be more compatable .
Yes the PHP and HTML can not be hacked , and I think if we use the SNMP oid , to get the signal strengh but i have problem how can I know the MAC-addrees or the Number for assined Item with Print oid command
[admin@MikroTik] interface wireless registration-table> print oid
dude,
IMHO you basically didn’t get the idea correctly. the logic is to only send user a text value for his signal…
if you do think PHP is not a secure platform then you should close your browser right now!! or even for your information the Mikrotik Hotspot is using cgi-like input… you must not USE it!!!
but it is also proven that no security system made by human is garanteed to be secured from another human.
leave or like it there is no solution from Mikrotik except what I told you…
No I’m not want to Disscuse the Security options for the Languages , I wana to told you we cant get admin option to user to get the value of his signal ,
all user (( hackers )) or not , have spectrum program that can get the value of admin level , every week I’m close may ports in my network .
Finaly , I love Mikrotik OS and I’m use it for 2 year , forget what I’m talk about security and let us get some think for people in hotspot.
Please believe me when I say you didn’t not fully understand what I said.
Your box’s password is not reveal to anyone at all. it is part of your code that is runned in a WebServer separately… the webserver log into your box , read the value and send the value to your user.
it is not JAVAScript that is runned at client. it is a server code that is runned at Server
However I would be still interested no matter if you think it is not secured if anyone can do this for us?
The orange parts go together, just translate the hexadecimal bytes from the MAC address into decimal, so for the above example 0x00=0, 0x0C=12, 0x42=66, 0x0C=12, 0x12=18, 0xB0=176.
The final value, following the six bytes from the MAC address in the OID (marked green above) is the SNMP interface index of the interface that the client is associated to (so walk the ifTable to find the index if you only know the interface name).
So if you know the clients MAC address and the SNMP index of the AP interface where the client is supposed to be connected to then it is very easy to calculate the OID for the SNMP GET. The cyan part is static anyway.