WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

firmandev/login-mikrotik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

login-mikrotik

Hello my name is firman, this is my first open source for login to mikrotik. Because i'm using wifi id as my primary internet it is annoyed when every 24 hours i got kicked, so this script is only support wifi id only, but i promise in the future it will support many mikrotik.

This is how to use my script for login

  1. You need to install npm and node js.
    https://nodejs.org/en/download/
    https://www.npmjs.com/get-npm

  2. Install puppeteer npm i puppeteer

  3. You need to change the constant.js if you are using wifi id, here is the setting.
    module.exports = {
    username : 'your pass',
    password : 'your password',
    userElement : '#username_member',
    userElementPassword : '#password_member',
    url : 'https://welcome2.wifi.id/login/',
    loginElementButton : '.button-lg',
    loginAfterElement : '.skinner-right',
    noShow : true
    }

  4. run in terminal "node yourscript.js"

Here is the scenario. Buy Raspberry PI then run CRON "node yourscript.js" or Manually run "node yourscript.js".

About

for now i can only support wifi id

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published