Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Ubiquiti Radio Shortcut
- // @namespace http://tisd.net
- // @version 0.2
- // @description Enters passwords on Ubiquiti Radios
- // @author Janca
- // @include htt*://10.123.*/login*
- // @include htt*://10.16.*/login*
- // @include http*://10.104.*/login*
- // @grant none
- // ==/UserScript==
- var url = document.URL;
- var username = document.getElementById("username");
- username.value = "admin";
- var password = document.getElementById("password");
- if (url.indexOf("master") == -1) {
- password.value = atob("VElTRFJvY2tzMg==");
- } else {
- return;
- }
- var submit = document.getElementById("loginform");
- submit.submit();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement