如何使用U盘来保存上网登录账号密码实现快速登录?
时间:2023-01-25 18:06:58
相信大部分人都喜欢使用快捷方式,但因为对信息安全的保护,很多平台都是需要设定属于自己的账号以及登录密码,那么应该如何利用U盘来保存上网登陆账号以及密码实现快速登录呢?接下来小编就为大家分享该问题的操作方法。
操作方法:
1.首先,咱们将准备好的U盘插入到win7电脑的USB接口中,等待电脑将自己的U盘识别之后,咱们就返回到电脑的桌面位置。
2.咱们在桌面找一个空白处,点击鼠标右键,选择新建-文本文档,建立好之后咱们先不要命名,直接双击打开文本文档,将如下的代码复制进去:
‘获取登录哪个邮箱
index=inputbox(“0--yahoo ”&vbcrlf&vbcrlf&“1--163”,“选择邮箱”,0)
’创建InternetExplorer.Application对象
Set ie = CreateObject(“internetexplorer.application”)
ie.Visible = 1 ‘设置网页的可见性
Select Case Index
Case “0” ’当选择0--yahoo时
ie.navigate “http://cn.mail.yahoo.com/” ‘打开yahoo邮箱登录页
Wscript.Sleep 5000 ’等待5秒,确保网页已打开完毕
ie.document.getElementById(“login”).Value = “username” ‘将id为login的表单填为username
ie.document.getElementById(“passwd”).Value = “密码”
Set ie = Nothing ’释放对象占用的内存
Case “1” ‘第二个登录过程
ie.navigate “http://mail.163.com”
Wscript.Sleep 5000
ie.document.getElementById(“login163”).username.Value = “cfan”
ie.document.getElementById(“login163”).Password.Value = “cfan”
End Select
Set ie = Nothing ’没选任何或超出范围时仍要释放对象
‘当把vbs放在加密的rar中,一定要用下面FSO对vbs进行删除操作,以免账号泄漏在临时文件夹中
Set fso = CreateObject(“Scripting.FileSystemObject”)
Set MyFile = fso.GetFile(“login.vbs”)
myFile.DeletE:set myfile=nothing:set fso=nothing
设置好之后,咱们将该文本文档设置为pass.vbs格式的文件,这里需要的是,username.Value = “cfan”中引号内的替换为用户名,Password.Value = “cfan”中引号内的替换为密码即可使用。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
扇子壁纸分享|苹果扇子壁纸为什么会出现打开扇子一样的效果?
![](https://img.aspxhome.com/file/2023/9/a198809_0s.jpg)
Windows hello指纹抱歉,出现问题,关闭怎么解决
![](https://img.aspxhome.com/file/2023/26/a219206_0s.png)
数据显示Win10市场份额提升而win7下降明显
![](https://img.aspxhome.com/file/2023/4/a310376_0s.jpg)
Win10由于默认搜索提供程序设置已损坏怎么办?
![](https://img.aspxhome.com/file/2023/5/a313973_0s.jpg)
Win10电脑提示Task Host Window阻止关机怎么解决?
![](https://img.aspxhome.com/file/2023/28/a239465_0s.jpg)
Win10 Mobile/PC创造者更新15014快速预览版今日推送
![](https://img.aspxhome.com/file/2023/29/a260744_0s.jpg)
雷电模拟器的图片保存在哪里?雷电模拟器保存的图片位置介绍
![](https://img.aspxhome.com/file/2023/7/a327534_0s.jpg)
Win7笔记本查看内存条型号的技巧
![](https://img.aspxhome.com/file/2023/27/a232889_0s.jpg)
ppt怎么制作3d立体效果的图片?
![](https://img.aspxhome.com/file/2023/10/a345813_0s.jpg )
通过恢复注册表键值解决Win7/Win8.1右键菜单的新建丢失问题
![](https://img.aspxhome.com/file/2023/29/a254407_0s.jpg)
彩云小译插件怎么安装
![](https://img.aspxhome.com/file/2023/2/a284198_0s.png)
excel表格中的超级链接无法打开怎么办?
![](https://img.aspxhome.com/file/2023/6/36656_0s.jpg)
Win7关不了机的解决方法
![](https://img.aspxhome.com/file/2023/27/a232147_0s.jpg)
2345浏览器怎么打印网页?2345浏览器打印网页教程
![](https://img.aspxhome.com/file/2023/30/a268996_0s.jpg)
台式电脑主板型号在哪里看
![](https://img.aspxhome.com/file/2023/4/a303681_0s.png)
bkupexec.exe进程有什么作用 bkupexec是什么文件的进程
win7怎么设置任务栏上的图标小窗口显示方式?
![](https://img.aspxhome.com/file/2023/28/a246865_0s.jpg)
Win11系统在线升级进度条不动怎么办?Win11系统在线升级进度条不动解决方法
![](https://img.aspxhome.com/file/2023/27/a238281_0s.jpg)