Skip to content

Instantly share code, notes, and snippets.

@gingerbeardman
Created March 4, 2024 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gingerbeardman/c3074960de5d5574cd7d4e175a9d9962 to your computer and use it in GitHub Desktop.
Save gingerbeardman/c3074960de5d5574cd7d4e175a9d9962 to your computer and use it in GitHub Desktop.
Web UI login script for Huawei 5G CPE Pro router (H112-370)
if ( window.location.pathname.startsWith('/html/index.html') ) {
document.getElementById("login_password").value = "YourPasswordGoesHere!!1!"
setTimeout(function(){ document.getElementById("login_btn").click(); }, 300);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment