라즈베리파이/WIFI 무선랜 해킹

파이썬 + Flask 로 WIPS 관리 화면 만들기

아크리엑터 2020. 9. 10. 00:10
반응형

파이썬 3.6을 사용하도록 하고,  아래의 패키지를 설치한다.

flask 설치

$ pip3 install flask
Collecting flask
  Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
     |████████████████████████████████| 94 kB 439 kB/s 
Requirement already satisfied: Werkzeug>=0.15 in ./.local/lib/python3.6/site-packages (from flask) (1.0.1)
Collecting click>=5.1
  Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
     |████████████████████████████████| 82 kB 2.8 MB/s 
Collecting Jinja2>=2.10.1
  Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
     |████████████████████████████████| 125 kB 599 kB/s 
Collecting itsdangerous>=0.24
  Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from Jinja2>=2.10.1->flask) (1.0)
Installing collected packages: click, Jinja2, itsdangerous, flask
  Attempting uninstall: Jinja2
    Found existing installation: Jinja2 2.10
    Uninstalling Jinja2-2.10:
      Successfully uninstalled Jinja2-2.10
Successfully installed Jinja2-2.11.2 click-7.1.2 flask-1.1.2 itsdangerous-1.1.0

 

pyopenssl 설치

$ sudo pip3 install pyopenssl
Collecting pyopenssl
  Downloading pyOpenSSL-19.1.0-py2.py3-none-any.whl (53 kB)
     |████████████████████████████████| 53 kB 433 kB/s 
Collecting cryptography>=2.8
  Downloading cryptography-3.1-cp35-abi3-manylinux2014_aarch64.whl (2.6 MB)
     |████████████████████████████████| 2.6 MB 204 kB/s 
Requirement already satisfied: six>=1.5.2 in /usr/local/lib/python3.6/dist-packages (from pyopenssl) (1.15.0)
Collecting cffi!=1.11.3,>=1.8
  Downloading cffi-1.14.2.tar.gz (470 kB)
     |████████████████████████████████| 470 kB 151 kB/s 
Collecting pycparser
  Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
     |████████████████████████████████| 112 kB 180 kB/s 
Building wheels for collected packages: cffi
  Building wheel for cffi (setup.py) ... done
  Created wheel for cffi: filename=cffi-1.14.2-cp36-cp36m-linux_aarch64.whl size=329545 sha256=c1a486120c447d25c77cf9eed0a1f333298c680858f77dd81ce7d0382a834fd6
  Stored in directory: /tmp/pip-ephem-wheel-cache-0srxc6m8/wheels/6a/47/5a/1b45f132f0686ceaf0c57ef67cde7a68591387794a38f42282
Successfully built cffi
Installing collected packages: pycparser, cffi, cryptography, pyopenssl
  Attempting uninstall: cryptography
    Found existing installation: cryptography 2.1.4
    Uninstalling cryptography-2.1.4:
      Successfully uninstalled cryptography-2.1.4
Successfully installed cffi-1.14.2 cryptography-3.1 pycparser-2.20 pyopenssl-19.1.0

 

pysqlite3 설치

$ pip3 install pysqlite3

Defaulting to user installation because normal site-packages is not writeable
Collecting pysqlite3
  Downloading pysqlite3-0.4.3.tar.gz (40 kB)
     |████████████████████████████████| 40 kB 312 kB/s 
Building wheels for collected packages: pysqlite3
  Building wheel for pysqlite3 (setup.py) ... done
  Created wheel for pysqlite3: filename=pysqlite3-0.4.3-cp36-cp36m-linux_aarch64.whl size=130798 sha256=8ffdc21a69c24a641871c1452b2c1f5c6c122bf7e59e0ff4cbd70a51856d05b2
  Stored in directory: /home/igi/.cache/pip/wheels/40/03/15/e8180e77260c102ecff086dbca50646ab799f6e35123386f73
Successfully built pysqlite3
Installing collected packages: pysqlite3
Successfully installed pysqlite3-0.4.3
반응형