Skip to content
KitploitKITPLOIT
도구블로그
Log in
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/citronneur/rdpy
Network SecurityPenetration TestingRed TeamingRemote Access Tool
GitHubcitronneur/rdpy

rdpy

Twisted Python에서의 원격 데스크톱 프로토콜

저장소 보기
1.7k540486년 전Kitploit 검토 완료
공유

RDPY Build Status PyPI version

Twisted Python 기반의 원격 데스크톱 프로토콜.

RDPY는 Microsoft RDP(원격 데스크톱 프로토콜) 프로토콜의 순수 Python 구현체입니다(클라이언트 및 서버 측). RDPY는 이벤트 기반 네트워크 엔진 Twisted 위에 구축되었습니다. RDPY는 표준 RDP 보안 계층, SSL을 통한 RDP 및 NLA 인증(ntlmv2 인증 프로토콜 사용)을 지원합니다.

RDPY는 다음과 같은 RDP 및 VNC 바이너리를 제공합니다:

  • RDP 중간자 프록시 (세션 기록)
  • RDP 허니팟
  • RDP 스크린샷 도구
  • RDP 클라이언트
  • VNC 클라이언트
  • VNC 스크린샷 도구
  • RSS 플레이어

빌드

RDPY는 비트맵 압축 해제 알고리즘을 제외하고는 모두 Python으로 구현되었습니다. 해당 알고리즘은 성능 향상을 위해 C로 구현되었습니다.

종속성

종속성은 pyqt4 바이너리에만 필요합니다:

  • rdpy-rdpclient
  • rdpy-rdpscreenshot
  • rdpy-vncclient
  • rdpy-vncscreenshot
  • rdpy-rssplayer

Linux

Debian 계열 시스템 예시:

sudo apt-get install python-qt4

OS X

OS X에서 homebrew로 PyQt 설치 예시:

$ brew install qt sip pyqt

Windows

x86x86_64
PyQt4PyQt4
PyWin32PyWin32

빌드

$ git clone https://github.com/citronneur/rdpy.git rdpy
$ pip install twisted pyopenssl qt4reactor service_identity rsa pyasn1
$ python rdpy/setup.py install

또는 PIP 사용:

$ pip install rdpy

virtualenv의 경우, qt4 라이브러리를 링크해야 합니다:

$ ln -s /usr/lib/python2.7/dist-packages/PyQt4/ $VIRTUAL_ENV/lib/python2.7/site-packages/
$ ln -s /usr/lib/python2.7/dist-packages/sip.so $VIRTUAL_ENV/lib/python2.7/site-packages/

RDPY 바이너리

RDPY에는 매우 유용한 바이너리들이 포함되어 있습니다. 이 바이너리들은 Linux 및 Windows와 호환됩니다.

rdpy-rdpclient

rdpy-rdpclient는 간단한 RDP Qt4 클라이언트입니다.

$ rdpy-rdpclient.py [-u username] [-p password] [-d domain] [-r rss_ouput_file] [...] XXX.XXX.XXX.XXX[:3389]

rdpy-rdpclient는 rdpy-rdphoneypot에서 사용되는 녹화 세션 시나리오(Recorder Session Scenario)에서 사용할 수 있습니다.

rdpy-vncclient

rdpy-vncclient는 간단한 VNC Qt4 클라이언트입니다.

$ rdpy-vncclient.py [-p password] XXX.XXX.XXX.XXX[:5900]

rdpy-rdpscreenshot

rdpy-rdpscreenshot은 로그인 화면을 파일로 저장합니다.

$ rdpy-rdpscreenshot.py [-w width] [-l height] [-o output_file_path] XXX.XXX.XXX.XXX[:3389]

rdpy-vncscreenshot

rdpy-vncscreenshot은 첫 번째 화면 업데이트를 파일로 저장합니다.

$ rdpy-vncscreenshot.py [-p password] [-o output_file_path] XXX.XXX.XXX.XXX[:5900]

rdpy-rdpmitm

rdpy-rdpmitm은 RDP 프로토콜에 대한 중간자 공격을 수행할 수 있는 RDP 프록시입니다. 세션 시나리오를 rss 파일에 기록하며, 이 파일은 rdpy-rssplayer로 재생할 수 있습니다.

$ rdpy-rdpmitm.py -o output_dir [-l listen_port] [-k private_key_file_path] [-c certificate_file_path] [-r (for XP or server 2003 client)] target_host[:target_port]

출력 디렉토리는 다음 형식(YYYYMMDDHHMMSS_ip_index.rss)으로 rss 파일을 저장하는 데 사용됩니다. 개인 키 파일과 인증서 파일은 SSL 연결을 위한 일반적인 암호화 파일입니다. RDP 프로토콜은 자체 보안 계층을 협상할 수 있습니다. 두 매개변수 중 하나라도 생략하면 서버는 표준 RDP를 보안 계층으로 사용합니다.

rdpy-rdphoneypot

rdpy-rdphoneypot은 RDP 허니팟입니다. 녹화된 세션 시나리오를 사용하여 RDP 프로토콜을 통해 시나리오를 재생합니다.

$ rdpy-rdphoneypot.py [-l listen_port] [-k private_key_file_path] [-c certificate_file_path] rss_file_path_1 ... rss_file_path_N

개인 키 파일과 인증서 파일은 SSL 연결을 위한 일반적인 암호화 파일입니다. RDP 프로토콜은 자체 보안 계층을 협상할 수 있습니다. 두 매개변수 중 하나라도 생략하면 서버는 표준 RDP를 보안 계층으로 사용합니다. 더 일반적인 화면 크기에 맞추기 위해 여러 개의 파일을 지정할 수 있습니다.

rdpy-rssplayer

rdpy-rssplayer는 rdpy-rdpmitm 또는 rdpy-rdpclient 바이너리에 의해 생성된 녹화 세션 시나리오(rss) 파일을 재생하는 데 사용됩니다.

$ rdpy-rssplayer.py rss_file_path

RDPY Qt 위젯

RDPY는 rdpy.ui.qt4.QRemoteDesktop 클래스를 통해 Qt 위젯으로도 사용할 수 있습니다. 자신의 Qt 애플리케이션에 포함시킬 수 있습니다. Twisted와 Qt가 함께 작동하려면 애플리케이션에서 qt4reactor를 사용해야 합니다. 자세한 내용은 rdpy-rdpclient의 소스를 참조하십시오.

RDPY 라이브러리

요약하면 RDPY는 트위스트 엔진과 함께 프로토콜 라이브러리로 사용될 수 있습니다.

간단한 RDP 클라이언트

from rdpy.protocol.rdp import rdp

class MyRDPFactory(rdp.ClientFactory):

    def clientConnectionLost(self, connector, reason):
        reactor.stop()

    def clientConnectionFailed(self, connector, reason):
        reactor.stop()

    def buildObserver(self, controller, addr):

        class MyObserver(rdp.RDPClientObserver):

            def onReady(self):
                """
                @summary: Call when stack is ready
                """
                #send 'r' key
                self._controller.sendKeyEventUnicode(ord(unicode("r".toUtf8(), encoding="UTF-8")), True)
                #mouse move and click at pixel 200x200
                self._controller.sendPointerEvent(200, 200, 1, true)

            def onUpdate(self, destLeft, destTop, destRight, destBottom, width, height, bitsPerPixel, isCompress, data):
                """
                @summary: Notify bitmap update
                @param destLeft: xmin position
                @param destTop: ymin position
                @param destRight: xmax position because RDP can send bitmap with padding
                @param destBottom: ymax position because RDP can send bitmap with padding
                @param width: width of bitmap
                @param height: height of bitmap
                @param bitsPerPixel: number of bit per pixel
                @param isCompress: use RLE compression
                @param data: bitmap data
                """
                
            def onSessionReady(self):
		        """
		        @summary: Windows session is ready
		        """

            def onClose(self):
                """
                @summary: Call when stack is close
                """

        return MyObserver(controller)

from twisted.internet import reactor
reactor.connectTCP("XXX.XXX.XXX.XXX", 3389, MyRDPFactory())
reactor.run()

간단한 RDP 서버

from rdpy.protocol.rdp import rdp

class MyRDPFactory(rdp.ServerFactory):

    def buildObserver(self, controller, addr):

        class MyObserver(rdp.RDPServerObserver):

            def onReady(self):
                """
                @summary: Call when server is ready
                to send and receive messages
                """

            def onKeyEventScancode(self, code, isPressed):
                """
                @summary: Event call when a keyboard event is catch in scan code format
                @param code: scan code of key
                @param isPressed: True if key is down
                @see: rdp.RDPServerObserver.onKeyEventScancode
                """

            def onKeyEventUnicode(self, code, isPressed):
                """
                @summary: Event call when a keyboard event is catch in unicode format
                @param code: unicode of key
                @param isPressed: True if key is down
                @see: rdp.RDPServerObserver.onKeyEventUnicode
                """

            def onPointerEvent(self, x, y, button, isPressed):
                """
                @summary: Event call on mouse event
                @param x: x position
                @param y: y position
                @param button: 1, 2, 3, 4 or 5 button
                @param isPressed: True if mouse button is pressed
                @see: rdp.RDPServerObserver.onPointerEvent
                """

            def onClose(self):
                """
                @summary: Call when human client close connection
                @see: rdp.RDPServerObserver.onClose
                """

        return MyObserver(controller)

from twisted.internet import reactor
reactor.listenTCP(3389, MyRDPFactory())
reactor.run()

간단한 VNC 클라이언트

from rdpy.protocol.rfb import rfb

class MyRFBFactory(rfb.ClientFactory):

    def clientConnectionLost(self, connector, reason):
        reactor.stop()
도구 다운로드

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    500
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    466
  • 3

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    339
  • 4

    opencti

    opencti-platform/opencti

    오픈 사이버 위협 인텔리전스 플랫폼

    317
  • 5

    redforge

    cybersecurity91/redforge

    브라우저 측 레드 팀 툴킷으로, 정찰, 페이로드 생성, 자격 증명 공격, 암호화, 인코딩 및 참여 보고를 위한 102개의 오프라인 도구를 제공합니다.

    307
  • 6

    estorides

    grisuno/estorides

    99개 이상의 무료 OSINT 소스를 병렬로 집계하고, 엔티티를 지식 그래프로 해석하며, LLM 지원 분석과 함께 STIX 2.1, MISP 또는 GraphML로 내보냅니다.

    294

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →