This is the fifth day of my participation in the August More text Challenge. For details, see:August is more challenging

Hi, I’m Lex the Lex who likes to bully Superman

Areas of expertise: Python development, network security penetration, Windows domain control Exchange architecture

Today’s focus: Share an open source project that converts WiFi information (ID+ password) into QR codes

The first effect

Here’s what happened

In the age of qr codes

The streets are full of qr codes that can be scanned

Today, share an open source project

You can input WiFi information, including WiFi password

Convert it to a QR code, print it out, and stick it on the wall

The Intranet can be used at home or in the office

It’s very convenient not to have to ask relatives, friends, and colleagues to enter the password every time

The project structure

The project development structure is as follows: front-end development based on JS

The project download

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

Run based on docker environment, very convenient, a line of code to run up.

Project running

[root@centos7 data]# CD wifi-card/ # view content [root@centos7 wifi-card]# ls Dockerfile LICENSE Json public readme.md SRC yarn.lock # Run [root@centos7 wifi-card]# make runCopy the code

Make Run will start downloading images from the remote repository.

[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: 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: 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 31Copy the code

After running successfully, access the server through the Web

http://localhost:8080 # Default port, which can be changed in the configuration file

The Web access effect is as follows:

Usage scenarios

Through this, we can input any WiFi information, and then convert it into a QR code for sharing.

Although, by scanning the QR code, will still read the password content. But at least it’s relatively safe.

After all, when we enter a password on a major website, the browser F12 can actually see it

Recommended reading

High quality resources,

  • Java photo GPS positioning
  • Download.csdn.net/download/we…
  • Photo GPS positioning in Python
  • Download.csdn.net/download/we…
  • Python20 lines of code open [full script]
  • Download.csdn.net/download/we…
  • Python to modify the id photo background color, size, background, matting
  • Download.csdn.net/download/we…

Python of actual combat

  • 【 Actual Python 】Ex-girlfriend’s wedding. Python cracked the WIFI at the wedding and changed the name
  • My ex-girlfriend sent me an encrypted “520 happy. PDF”. After I cracked it in Python, I found it
  • Last night, I was using Python to take a selfie of my little sister P next door, and I realized.
  • My boyfriend discovers a shocking secret in 30 lines of code
  • You’re so stupid — you can record every move on your keyboard in 30 lines of code
  • 【pythonI forgot the password. I only wrote 20 lines of code in Python

【 PyGame development actual development 30 examples complete source code 】

  • Download.csdn.net/download/we…

Pygame development column, get full source code + tutorial

  • Pygame development 30 Examples (2) — Tower Defense games
  • 30 examples of PyGame development (4) — Tetris small game
  • Penetration testing field column
  • Windows AD/Exchange Management column
  • Set up a High-performance Linux server
  • PowerShell Automation column