Home
Today : 2026-06-15 15:52:55
 
ikjinan.kro.kr
local IP address is: 216.73.217.46  public IP address is: 112.175.185.138 [ LOG IN ]  [ SIGN UP]
Bulletin Board(to Db)
mpm이주사λͺ©  
이재λͺ…  
Science  
Island-monkey-disaster  
Great-korea  
health  
k-culture  
office-file  
Catholic  
freeboard  
windog  
linux-bsd  
apm  
linux-bsd
Title wget , curl (κ°€μž₯ 많이 μ‚¬μš©)
File
Name admin | 2026-06-14 | Views: 2
Content
1. curl (κ°€μž₯ 많이 μ‚¬μš©) curl -O http://ikjinan.dothome.co.kr

λ˜λŠ”

curl http://ikjinan.dothome.co.kr -o index.html

ν—€λ”λ§Œ 확인:

curl -I http://ikjinan.dothome.co.kr/.env 2. lynx (ν…μŠ€νŠΈ μ›ΉλΈŒλΌμš°μ €) sudo apt install lynx lynx http://ikjinan.dothome.co.kr

μ›ΉνŽ˜μ΄μ§€ λ‚΄μš©μ„ ν„°λ―Έλ„μ—μ„œ λ³Ό 수 μžˆμŠ΅λ‹ˆλ‹€.

3. links sudo apt install links links http://ikjinan.dothome.co.kr 4. w3m sudo apt install w3m w3m http://ikjinan.dothome.co.kr

가볍고 μ‚¬μš©ν•˜κΈ° νŽΈν•©λ‹ˆλ‹€.

5. HTTP ν—€λ”λ§Œ 확인 url -I http://ikjinan.dothome.co.kr/.env Β 

λ˜λŠ”

wget --server-response --spider http://ikjinan.dothome.co.kr/.env Β 

ν˜„μž¬ κ²°κ³Όλ₯Ό 보면:

env β†’ 403 Forbidden Β 

μ΄λ―€λ‘œ μ„œλ²„κ°€ .env 파일 μš”μ²­μ„ 인식은 ν–ˆμ§€λ§Œ 접근을 μ°¨λ‹¨ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€.

이것은 였히렀 쒋은 ν˜„μƒμž…λ‹ˆλ‹€.

λ§Œμ•½ μœ„ν—˜ν•œ μ„€μ •μ΄μ—ˆλ‹€λ©΄:

200 OK

κ°€ λ‚˜μ˜€λ©΄μ„œ

DB_HOST=... DB_USER=... DB_PASS=...

같은 λ‚΄μš©μ΄ κ·ΈλŒ€λ‘œ λ…ΈμΆœλ  수 μžˆμŠ΅λ‹ˆλ‹€.

참고둜 μ„œλ²„ 점검할 λ•Œ μ œκ°€ 자주 μ“°λŠ” λͺ…령은:

curl -I URL curl -v URL wget --spider URL

이 μ„Έ κ°€μ§€μž…λ‹ˆλ‹€.

특히 .env, .git, config.php, backup.zip 같은 민감 파일이 μ™ΈλΆ€μ—μ„œ λ³΄μ΄λŠ”μ§€ 확인할 λ•ŒλŠ” curl -Iκ°€ κ°€μž₯ νŽΈν•©λ‹ˆλ‹€. 😊

God Bless & Peace Be with You
Visitors For today : ( 9 )
2026-06-15