Sploitus

Exploit for CVE-2024-6387

kitploit Β· 2026-08-27

Exploit Code

MARKDOWN57 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-L-URK-CVE-2024-6387
# CVE-2024-6387 regreSSHion

_regreSSHion μ΅μŠ€ν”Œλ‘œμž‡μ„ μœ„ν•œ κ°œλ… 증λͺ… 파이썬 슀크립트. 버전 0.2.1 λΉŒλ“œ POC_ ![regreSSHion-green-banner](https://assets.kitploit.com/production/public/readmes/28251/614ebbd8ad34b071f987c601ccf08947e8f4e95e216c3cb6f11790d34a07b68f.jpg)

# μ„€μΉ˜

root@kitploit:~
    
    
    git clone https://github.com/l-urk/CVE-2024-6387.git
    

root@kitploit:~
    
    
    cd CVE-2024-6387
    

root@kitploit:~
    
    
    pip3 install -r requirements.txt
    

root@kitploit:~
    
    
    python3 regreSSHion.py -h
    

# μ‚¬μš©λ²•

root@kitploit:~
    
    
    πŸ”’ CVE-2024-6387 regreSSHion 원격 μ½”λ“œ μ‹€ν–‰ 취약점 μ΅μŠ€ν”Œλ‘œμž‡ 슀크립트
    
    usage: regreSSHion.py [-h] -i IP -p PORT [-t] [-c] [-d] [-r] [-x] [-y] [-z]
    
    πŸ”’ CVE-2024-6387 regreSSHion remote code execution vulnerability exploit script
    
    options:
      -h, --help            도움말 λ©”μ‹œμ§€λ₯Ό ν‘œμ‹œν•˜κ³  μ’…λ£Œν•©λ‹ˆλ‹€.
      -i IP, --ip IP        λŒ€μƒ SSH μ„œλ²„ IPv4 (ν˜•μ‹: -i 0.0.0.0)
      -p PORT, --port PORT  λŒ€μƒ SSH μ„œλ²„ 포트 번호 (ν˜•μ‹: -p 22)
      -t, --time            λͺ¨λ“  둜그 좜λ ₯에 μ‹œκ°„ ν‘œμ‹œ ν™œμ„±ν™” (ν˜•μ‹: -t)
      -c, --clear           μ΅μŠ€ν”Œλ‘œμž‡ μ‹€ν–‰ μ „ ν™”λ©΄ μ§€μš°κΈ° (ν˜•μ‹: -c)
      -d, --debug           μ‹€ν–‰ μ‹œ 디버그 둜그 좜λ ₯ 보기 ν™œμ„±ν™” (ν˜•μ‹: -d)
      -r, --repeat          RCE 성곡할 λ•ŒκΉŒμ§€ μ΅μŠ€ν”Œλ‘œμž‡ 반볡 ν™œμ„±ν™” (ν˜•μ‹: -r)
      -x, --skipssh         SSH ν•Έλ“œμ…°μ΄ν¬ κ±΄λ„ˆλ›°κΈ° ν™œμ„±ν™” (ν˜•μ‹: -x)
      -y, --skipheap        νž™ 및 νŒŒμ‹± κ±΄λ„ˆλ›°κΈ° ν™œμ„±ν™” (ν˜•μ‹: -y)
      -z, --skipfinal       μ΅œμ’… ID 확인 κ±΄λ„ˆλ›°κΈ° ν™œμ„±ν™” (ν˜•μ‹: -z)
    
    πŸ”’ 영ν–₯을 λ°›λŠ” OpenSSH 버전: 1.2.2p1 ~ 4.4 및 8.5p1 ~ 9.8
    
    πŸ”’ μ—°λ½μ²˜: github.com/l-urk - x.com/l_urkk