当前位置 博文首页 > lexsaints:超实用的开源项目—如何将WiFi密码转成二维码进行共

    lexsaints:超实用的开源项目—如何将WiFi密码转成二维码进行共

    作者:[db:作者] 时间:2021-08-05 10:05

    大家好,我是Lex 喜欢欺负超人那个Lex

    擅长领域:python开发、网络安全渗透、Windows域控Exchange架构

    今日重点:分享一个将WiFi信息(ID+密码)转换成二维码的开源项目

    先上效果

    事情是这样的

    在这个二维码的时代

    大街小巷到处都是各种扫一扫的二维码

    今天,分享一个开源项目

    可以将你输入的WiFi信息,包括WiFi密码

    一键转换成二维码,打印出来,贴到墙上

    ?家里、公司办公室内网都可以使用

    不用每次都让亲戚、朋友、同事输一遍密码,非常方便

    项目结构

    项目开发结构如下:基于JS等前端开发

    ?项目下载

    [root@centos7 data]# wget https://github.com/lexsaints/wifi-card/archive/refs/heads/master.zip

    基于docker环境运行,非常方便,一行代码跑起来。

    项目运行

    #进入到下载目录
    [root@centos7 data]# cd wifi-card/
    #查看内容
    [root@centos7 wifi-card]# ls
    Dockerfile  LICENSE.md  Makefile  package.json  public  README.md  src  yarn.lock
    #执行运行
    [root@centos7 wifi-card]# make run

    执行make run,会开始从远程仓库下载镜像。

    [root@centos7 wifi-card]# make run             
    
    docker run --rm -p 8080:80 bndw/wifi-card:latest
    Unable to find image 'bndw/wifi-card:latest' locally
    latest: Pulling from bndw/wifi-card
    540db60ca938: Pull complete 
    b824a2584ece: Pull complete 
    82d0e0426b2d: Pull complete 
    ed76aa154407: Pull complete 
    ef4cf5a20f8a: Pull complete 
    9d3441de5d5e: Pull complete 
    ab00b14793b5: Pull complete 
    Digest: sha256:2720afa9036221c1ef892607c922b854daf7b7fc76e6d54e22e66ea6634915e5
    Status: Downloaded newer image for bndw/wifi-card:latest
    /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
    /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
    /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
    10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
    10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
    /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
    /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
    /docker-entrypoint.sh: Configuration complete; ready for start up
    2021/07/27 02:04:29 [notice] 1#1: using the "epoll" event method
    2021/07/27 02:04:29 [notice] 1#1: nginx/1.20.1
    2021/07/27 02:04:29 [notice] 1#1: built by gcc 10.2.1 20201203 (Alpine 10.2.1_pre1) 
    2021/07/27 02:04:29 [notice] 1#1: OS: Linux 3.10.0-957.el7.x86_64
    2021/07/27 02:04:29 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
    2021/07/27 02:04:29 [notice] 1#1: start worker processes
    2021/07/27 02:04:29 [notice] 1#1: start worker process 31

    运行成功之后,通过web端进行访问

    http://localhost:8080? #默认端口,可以在配置文件中进行修改

    Web端访问效果如下:

    使用场景

    通过这个,我们可以将任意的WiFi信息,输入进去,然后转换成二维码进行分享。

    虽然,通过扫描二维码,还是会读取到密码内容。但至少是相对安全的。

    毕竟,我们在各大网站,输入密码,其实浏览器F12都是可以看到的哦

    ?

    推荐阅读

    优质资源

    • Java实现照片GPS定位【完整脚本】
    • https://download.csdn.net/download/weixin_42350212/20024262
    • Python实现照片GPS定位【完整脚本】
    • https://download.csdn.net/download/weixin_42350212/19776215
    • 女神忘记相册密码 python20行代码打开【完整脚本】
    • https://download.csdn.net/download/weixin_42350212/19871942
    • python修改证件照底色、大小、背景、抠图【完整源码】
    • https://download.csdn.net/download/weixin_42350212/19815306

    python实战

    • 【python实战】前女友婚礼,python破解婚礼现场的WIFI,把名称改成了
    • 【python实战】前女友发来加密的 “520快乐.pdf“,我用python破解开之后,却发现
    • 【python实战】昨晚,我用python帮隔壁小姐姐P证件照 自拍,然后发现...
    • 【python实战】女友半夜加班发自拍 python男友用30行代码发现惊天秘密
    • 【python实战】python你TM太皮了——区区30行代码就能记录键盘的一举一动
    • 【python实战】女神相册密码忘记了,我只用Python写了20行代码~~~

    【pygame开发实战开发30例 完整源码】

    • https://download.csdn.net/download/weixin_42350212/15836285

    【pygame游戏开发专栏,获取完整源码+教程】

    • 一起来学pygame吧 游戏开发30例(二)——塔防游戏
    • 一起来学pygame吧 游戏开发30例(四)——俄罗斯方块小游戏
    • 渗透测试实战专栏
    • Windows AD/Exchange管理专栏
    • Linux高性能服务器搭建?
    • PowerShell自动化专栏

    CSDN官方学习推荐 ↓ ↓ ↓

    CSDN出的Python全栈知识图谱,太强了,推荐给大家!

    cs