๐Ÿ’ป๊ธฐ์ˆ /Python

์•ˆ๋…•ํ•˜์„ธ์š”. scapy๋Š” ํŒŒ์ด์ฌ ํŒจํ‚ท์„ ๋‹ค๋ฃจ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ค‘ ๊ฐ€์žฅ ๊ฐ•๋ ฅํ•˜๊ณ  ๊ธฐ๋Šฅ์ด ๋‹ค์–‘ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฒˆ ์‹œ๊ฐ„์—๋Š” ๋‚ด ์ปดํ“จํ„ฐ์— ์˜ค๊ณ  ๊ฐ€๋Š” ํŒจํ‚ท์„ ์บก์ฒ˜ํ•˜๋Š” ๊ฐ€์žฅ ๊ฐ„๋‹จํ•œ ์ฝ”๋“œ๋ฅผ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. scapy.net Scapy Packet crafting for Python2 and Python3 scapy.net pip install scapy ์œ„ ๋ช…๋ น์–ด๋กœ scapy๋ฅผ ์„ค์น˜ํ•ด ์ค๋‹ˆ๋‹ค. from scapy.all import * from scapy.arch.windows import IFACES import time n = 50 iface = "Intel(R) Ethernet Connection (7) I219-V" IFACES.show() def cap(): for i in range(0, n): packet = s..
๋จผ์ € ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด OpenCV ๋ฅผ ์„ค์น˜ํ•ด์ค๋‹ˆ๋‹ค.pip install opencv-python ์ „์ฒด์ฝ”๋“œ ์ž…๋‹ˆ๋‹คimport cv2 import numpy as np cascadeFace = cv2.CascadeClassifier("./haarcascade_frontalface_alt.xml") cascadeHand = cv2.CascadeClassifier("./haarcascade_hand.xml") def removeFace(img, cascade): gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) gray = cv2.equalizeHist(gray) rects = cascade.detectMultiScale(gray, 1.4, 5) return rects def ..
DipokalHHJ
'๐Ÿ’ป๊ธฐ์ˆ /Python' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก