728x90 ์ ์ฒด ๊ธ720 ์๋์ฐ - ์ฌ์ฉ์ ๊ณ์ ์์ฑ ๋ฐ ๊ด๋ฆฌ์ ๊ถํ ๋ถ์ฌ(net user) ์ฌ์ฉ์ ๊ณ์ ๋ชฉ๋ก ํ์ธ ๋ช ๋ น์ด net user ์ฌ์ฉ์ ๊ณ์ ์์ฑ ๋ช ๋ น์ด net user ์ฌ์ฉ์์ด๋ฆ /add ์ฌ์ฉ์ ๊ณ์ ๋น๋ฐ๋ฒํธ ์ค์ (์ ๋ ฅ ํ๋กฌํํธ ํ์) net user ์ฌ์ฉ์์ด๋ฆ * ์ฌ์ฉ์ ๊ณ์ ๋น๋ฐ๋ฒํธ ์ค์ (์ธ๋ผ์ธ) net user ์ฌ์ฉ์์ด๋ฆ ์ฌ์ฉ์๋น๋ฐ๋ฒํธ ํน์ ์ฌ์ฉ์ ๊ณ์ ์ ๊ด๋ฆฌ์ ๊ถํ ๋ถ์ฌ ๋ช ๋ น์ด net localgroup administrators ์ฌ์ฉ์์ด๋ฆ /add ์ฌ์ฉ์ ์ญ์ net user ์ฌ์ฉ์์ด๋ฆ /delete ์ถ์ฒ: https://ssotori.tistory.com/96 '๋ช ๋ น ํ๋กฌํํธ'์์ ์ฌ์ฉ์ ๊ณ์ ์ ์์ฑํ๊ณ ๊ด๋ฆฌ์ ๊ถํ ์ฃผ๊ธฐ์๋์ฐ์์ ์๋ก์ด ์ฌ์ฉ์ ๊ณ์ ์ ์์ฑํ๋ ๋ฐฉ๋ฒ์ ์ฌ๋ฌ๊ฐ์ง๊ฐ ์์ต๋๋ค. โถ ์๋์ฐ10 ์๋ก์ด ์ฌ์ฉ์ ๊ณ์ ๋ง๋ค๊ธฐ(๋ก์ปฌ ๊ณ์ ) ํ์ง๋ง net ๋ช ๋ น์ด๋ฅผ ์ด์ฉํ๋ฉด.. 2023. 4. 19. ์๋์ฐ - ์๋์ฐ์ Open SSH Server ์ค์นํ๊ธฐ(with Chocolatey) 1. Chocolatey ํจํค์ง ์ค์น ๋๊ตฌ ์ค์น (ํ์์ + ๊ด๋ฆฌ์ ๊ถํ) Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) 2. openssh ์ค์น choco install openssh -params '"/SSHServerFeature /KeyBasedAuthenticationF.. 2023. 4. 19. ๋ฆฌ๋ฒ์ฑ - ์จ๋ผ์ธ ์์ค ์ฝ๋์์ ์ด์ ๋ธ๋ฆฌ ์ฝ๋๋ก ๋ณํ(godbolt.org) https://godbolt.org/ Compiler Explorer godbolt.org ์ฐธ๊ณ : https://www.youtube.com/watch?v=gPsYkV7-yJk 2023. 4. 17. ๋คํธ์ํฌ ๋ณด์ - FTP ์ ๊ทผ ์ ์ด ์ค์ (/etc/ftpusers) ๋ณด์์ ์ทจ์ฝํ FTP๋ Bounce Attack, Anonymous FTP ๊ณต๊ฒฉ ๋ฑ์ ์ํํจ์ผ๋ก /etc/ftpusers์ root๋ daemon ๊ฐ์ ์ค์ ๊ณ์ ์ FTP ์ง์ ์ ์์ ์ ํ์ ํ๋ ๊ฒ์ด ํ์ํ๋ค. /etc/ftpusers # /etc/ftpusers: list of users disallowed FTP access. See ftpusers(5). root daemon bin sys sync games man lp mail news uucp nobody ์ ๊ทผ์ ์ ํ์ํฌ ์ฌ์ฉ์ ์ด๋ฆ์ ์ค์ ํ์ผ์๋ค ์ ์ด์ค๋ค. 2023. 4. 17. ์ ๋ณด๋ณด์ - ํฌ๋ฆฌ๋ด์ ์คํฐํ ํฌ๋ฆฌ๋ด์ ์คํฐํ(Credential Stuffing)์ ๊ธฐ์กด์ ๋ค๋ฅธ ๊ณณ์์ ์ ์ถ๋ ์์ด๋์ ํจ์ค์๋๋ฅผ ์ฌ๋ฌ ์น์ฌ์ดํธ๋ ์ฑ์ ๋์ ํด ๋ก๊ทธ์ธ์ด ๋ ๊ฒฝ์ฐ, ๊ฐ์ธ์ ๋ณด๋ ์๋ฃ๋ฅผ ์ ์ถํ๋ ๋ฐฉ๋ฒ์ด๋ค. ํฌ๋ฆฌ๋ด์ ์คํฐํ์ด ๋ฐ์ํ๋ ์ด์ ๋ ์ฌ์ฉ์๋ค์ด ์ฌ๋ฌ ์ฌ์ดํธ์ ๊ฐ์ ํฌ๋ฆฌ๋ด์ (ํนํ ํจ์ค์๋)์ ์ฌ์ฉํ๊ณ ์๊ธฐ ๋๋ฌธ์ด๋ค. ์ฌ๋ฌ ์๋น์ค์ ์ฌ์ดํธ์ ๊ฑธ์ณ ๊ณ์ ์ ํ๋ณดํ ๊ณต๊ฒฉ์๋ ๊ด๋ฒ์ํ ์ฌ๊ธฐํ ๋ฒ์ฃ๋ฅผ ์ ์ง๋ฅผ ์ ์๊ฒ ๋๋ค. ์ด๋ ํผํด์๋ ๊ฐ์ธ์ด ๋ ์๋ ์์ง๋ง, ๊ธฐ์ ์ด ๋ ์๋ ์๋ค. https://m.boannews.com/html/detail.html?tab_type=1&idx=114255 [์นด๋๋ด์ค] ๋น์ ์ ๊ฐ์ธ์ ๋ณด๋ ์์ ํ๊ฐ์? ‘ํฌ๋ฆฌ๋ด์ ์คํฐํ’ํฌ๋ฆฌ๋ด์ ์คํฐํ(Credential Stuffing)์ ๊ธฐ์กด์ ๋ค๋ฅธ ๊ณณ์์ .. 2023. 4. 16. ์ํ์น - ํด๋ผ์ฐ๋ํ๋ ์ด IP Ranges ํ์ดํธ๋ฆฌ์คํธ ์ค์ https://www.cloudflare.com/ko-kr/ips/ IP Ranges This page is intended to be the definitive source of Cloudflare’s current IP ranges. www.cloudflare.com ์์ ํด๋ผ์ฐ๋ํ๋ ์ด์ IP Ranges ํ์ด์ง์ ๋ค์ด๊ฐ ํด๋ผ์ฐ๋ํ๋ ์ด์ ์์ดํผ ๋์ญ๋ง ์ํ์น ์๋ฒ์ ์ ์์ด ๊ฐ๋ฅํ๋๋ก ์ค์ ํ๋ค. ์ด๋ ๊ณต๊ฒฉ์๊ฐ ํด๋ผ์ฐ๋ํ๋ ์ด๋ฅผ ๊ฑฐ์น์ง ์๊ณ ์ง์ ์ค์ ์๋ฒ ์์ดํผ๋ฅผ ์์๋ด์ DDoS ๊ณต๊ฒฉ์ ํผํด๋ ฅ์ ์ค์ด๊ธฐ ์ํด์๋ค. .htaccess #path to your website #ipv4 Require ip 173.245.48.0/20 Require ip 103.21.244.0/22 Require ip 103... 2023. 4. 14. OCR - ํ ์๋ํธ ํ๊ตญ์ด(ํ๊ธ) ์ธ์ํ๊ธฐ ์๋ ๊นํ๋ธ์์ ํ๊ตญ์ด ํธ๋ ์ธ ๋ฐ์ดํฐ ํ์ผ์ ๋ค์ด๋ก๋ ํ๊ณ Tesseract-OCR/tessdata(C:\Program Files\Tesseract-OCR\tessdata)์ ๋ฃ์ด์ค๋ค. https://github.com/tesseract-ocr/tessdata_best/blob/main/kor.traineddata GitHub - tesseract-ocr/tessdata_best: Best (most accurate) trained LSTM models. Best (most accurate) trained LSTM models. Contribute to tesseract-ocr/tessdata_best development by creating an account on GitHub. github.com .. 2023. 4. 12. ์ํ์น - ์ธ์ ์๊ฐ ๋ณ๊ฒฝ(php.ini) /etc/php/{php-version}/apache2/php.ini session.gc_maxlifetime = 1440 ์ถ์ฒ: https://www.eznbiz.co.kr/help/qna/content/26 apache php ์ธ์ ์ ์ง ์๊ฐ ํ๊ฒฝ ์ค์ 1. Apache ํ๊ฒฝ ์ค์ ํ์ผ vi /usr/local/apache/conf/httpd.conf ๋ณ๊ฒฝ์ Timeout 300 ๋ณ๊ฒฝํ Timeout 1200 ํด๋ผ์ด์ธํธ์ ์์ฒญ์ ์ํด ์๋ฒ์ ์ฐ๊ฒฐ์ด ๋์์ ๋ ํด๋ผ์ด์ธํธ์ ์๋ฒ๊ฐ์ ์๋ฌด๋ฐ ๋ฉ์์ง๊ฐ ๋ฐ์ํ์ง ์ www.eznbiz.co.kr 2023. 4. 8. Docker- docker-compose.yml ์์ฑ(docker-compose) docker-compose.yml version: "3.9" services: webserver: image: search-webserver:2 container_name: webserver environment: TZ: Asia/Seoul ports: - "22:22" - "80:80" dns: - 8.8.8.8 extra_hosts: - host.docker.internal:host-gateway stdin_open: true tty: true ์ปจํ ์ด๋ ์์ฑ docker-compose up -d "exited with code 0 docker"๊ฐ ๋จ๋ฉด์ ์ปจํ ์ด๋๊ฐ start๊ฐ ์๋ ๊ฒฝ์ฐ stdin_open: true, tty: true๋ฅผ ์ถ๊ฐํด์ผ ํ๋ค. ์ฐธ๊ณ : https://lifefun.tistor.. 2023. 4. 6. Docker - ์ด๋ฏธ์ง ํ์ผ(.tar)๋ก ์ ์ฅํด์ ์ด๋ฏธ์ง๋ก ๋ถ๋ฌ์ค๊ธฐ ์ด๋ฏธ์ง ํ์ผ(.tar)๋ก ์ ์ฅ docker save -o myimage.tar myimage ์ด๋ฏธ์ง ํ์ผ ๋ถ๋ฌ์ค๊ธฐ docker load -i myimage.tar 2023. 4. 6. php - CSRF ๋ฐฉ์ง editor.php 2023. 4. 5. ์๋ฐ์คํฌ๋ฆฝํธ - ํ์ฌ script ํ๊ทธ ์ญ์ ํ๊ธฐ 2023. 4. 4. ์ด์ 1 ยทยทยท 16 17 18 19 20 21 22 ยทยทยท 60 ๋ค์ 728x90