Automatically log in to the campus network

The method is not universal, but you can try it

insert image description here

During the campus network login process, generally speaking, a network request will be submitted.
Press F12-Network/Network-enter the account password to log in.
insert image description here
You can see that there are three useful things (others are some static files).
Look at the first one, what LoginJust write it on the face, click to see the value
insert image description here
, and you will be speechless after seeing it. What kind of
thing is it
? , Let’s not talk about it
2. Account number, parameter name: DDDDD (speechless), the account number in DDDDD is followed by telecomtelecommunication network
3, upass, password
insert image description here
Open this string of content directly to the new website, and see
insert image description here
OK, because our school only has After logging in, this page will only be displayed after repeated logins. I can be sure that when I entered this string of URLs, I logged in once. I will log out of the account directly and open the URL in the browser: you can set another one to automatically open when you start up, and you can automatically help me when you start
insert image description here
up
. After logging in,
create a new text, change the content to the following, and change the suffix to html

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<script>
		onload = function(){
      
      
			window.open("那该死的网址", "_self")
		}
	</script>	
</body>
</html>

Then win+R, enter shell:startup, press Enter
insert image description here
, put it in, it will run automatically after booting.
You ask me why I don’t use bat scripts?
try it yourself
start 网址orexplorer "网址"

Guess you like

Origin blog.csdn.net/qq_43622870/article/details/124707998