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

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
gaia — वैश्विक API अखंडता मूल्यांकनकर्ता | Kitploit
उपकरण/GitLabGitLab/functori/dev/gaia
भेद्यता स्कैनरएपीआई सुरक्षा परीक्षणवेब सुरक्षाफज़िंग
GitLabfunctori/dev/gaia

gaia

वैश्विक API अखंडता मूल्यांकनकर्ता

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

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

सभी देखें →

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

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

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

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

Gaia: ग्लोबल एपीआई इंटीग्रिटी असेसर

निर्भरताएँ

  • टेस्ट API बनाने के लिए opam इंस्टॉल करें।

  • RESTler और Schemathesis बनाने के लिए git, python3, pip और .NET इंस्टॉल करें।

  • Gaia बनाने के लिए cargo इंस्टॉल करें।

  • Gaia को ELK Stack के साथ बनाने के लिए docker v26.0.1 और docker compose v2.26.1 इंस्टॉल करें (यदि नहीं तो वैकल्पिक)।

  • node >= v18.0.0 और npm >= v8.6.0 इंस्टॉल करें

  • opam लोकल स्विच बनाने के लिए:

root@kitploit:~
make opam-switch
  • सभी निर्भरताएँ इंस्टॉल करने के लिए:
root@kitploit:~
make deps

बिल्ड

  • Gaia बनाने के लिए:
root@kitploit:~
make build
  • टेस्ट API बनाने के लिए:
root@kitploit:~
make build-test

OpenAPI विनिर्देश

  • टेस्ट के लिए OpenAPI विनिर्देश उत्पन्न करने के लिए:
root@kitploit:~
make generate-swagger
  • टेस्ट के लिए OpenAPI विनिर्देश हटाने के लिए:
root@kitploit:~
make clean-swagger

फ़ॉर्मेटिंग

  • प्रोजेक्ट (टेस्ट + स्रोत) को फ़ॉर्मेट करने के लिए:
root@kitploit:~
make format

साफ़ करें

  • बिल्ड फ़ाइलें (टेस्ट + स्रोत) साफ़ करने के लिए:
root@kitploit:~
make clean-build-files
  • सब कुछ साफ़ करने के लिए:
root@kitploit:~
make clean

निष्पादन

  • बिल्ड करने के बाद, आप GAIA विकल्प प्रदर्शित कर सकते हैं:
root@kitploit:~
./_bin/gaia --help
  • GAIA उपयोग:
root@kitploit:~
gaia --configuration <configuration> --openapi-path <openapi-path> --workdir-path <workdir-path> --verbose <verbose>

  • workdir-path: वह कार्यशील निर्देशिका जहाँ आपको फ़ज़र्स के विभिन्न लॉग मिलेंगे।

  • openapi-path: वास्तविक API की OpenAPI फ़ाइल का पथ फ़ाइल। फ़ज़िंग या मॉनिटरिंग का उपयोग करते समय आवश्यक, लेकिन सांख्यिकी के लिए नहीं

  • verbose : वर्बोसिटी का स्तर {NOTHING, LOW, MID, HIGH, ALL} (डिफ़ॉल्ट मान : NOTHING)

  • configuration: json फ़ाइल का पथ जिसमें शामिल है :

root@kitploit:~
{
  "configuration": {
    // One of : fuzzing or monitoring
    "fuzzing": {
      //Required
      "config_fuzzer": {
        //Required
        // In hours
        "timeout": 1,
        //Optional
        // Disable fuzzers
        "disable_fuzzers": [{
           "Restler":{
             // Bfs, BfsFast, BfsCheap or RandomWalk
             "strategy" : "Bfs" 
            }
          },
          "Schemathesis",
          {"Custom": {"id": "1"}}
        ],
        //Optional
        "custom_fuzzers": [
          "<command line that can accept `--output_dir <PATH>`, `--openapi_path <PATH>` and `--timeout <FLOAT>` as arguments>"
        ],
        //Optional
        "generation_config": {
          //optional (Required if you set a function to generate a value)
          "lib_path": "Absolute path to the dynamic library (.so, .dll, or .rs).",
          //Optional
          "generate_string": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns a string array>",
            //Or
            "value": ["fuzzstring"],
            //Or
            "function": "<function() that returns a string array>",
            //Or
            "file": "The file path to the dictionary of values"
          },
          //Optional
          "generate_datetime": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns a datetime array in a string format>",
            //Or
            "value": ["2019-06-26T20:20:39+00:00"],
            //Or
            "function": "<function() that returns a datetime array in a string format>",
            //Or
            "file": "The file path to the dictionary of values"
          },
          //Optional
          "generate_date": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns a date array in a string format>",
            //Or
            "value": ["2019-06-26"],
            //Or
            "function": "<function() that returns a date array in a string format>",
            //Or
            "file": "The file path to the dictionary of values"
          },
          //Optional
          "generate_int": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns an int array in a string format>",
            //Or
            "value": ["0"],
            //Or
            "function": "<function() that returns an int array in a string format>",
            //Or
            "file": "The file path to the dictionary of values"
          },
          //Optional
          "generate_number": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns a float array in a string format>",
            //Or
            "value": ["1.5"],
            //Or
            "function": "<function() that returns a float array in a string format>",
            //Or
            "file": "The file path to the dictionary of values"
          },
          //Optional
          "generate_object": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns a json object array in a string format>",
            //Or
            "value": ["{\"k\" : {\"v\" : \"value\" }}"],
            //Or
            "function": "<function() that returns a json object array in a string format>",
            //Or
            "file": "The file path to the dictionary of values"
          },
          //Optional
          "generate_path_parameter": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns a key-value map with a string key referring to a path parameter and a string array of values>",
            //Or
            "value": {
              "k": {
                "v": ["value"]
              }
            },
            //Or
            "function": "<function() that returns a key-value map with a string key referring to a path parameter and a string array of values>",
            //Or
            "file": "The file path to the dictionary of values"
          },
          //Optional
          "generate_query_parameter": {
            //One of : Command, Value, File path or Function
            "command": "<command line that returns a key-value map with a string key referring to a query parameter and a string array of values>",
            //Or
            "value": {
              "k": {
                "v": ["value"]
              }
            },
            //Or
            "function": "<function() that returns a key-value map with a string key referring to a query parameter and a string array of values>",
            //Or
            "file": "The file path to the dictionary of values"
          }
        }
      },
      //Required
      "config_process_manager": {
        //Optional
        "config_reset": {
          //Required
          "reset_lib": "Absolute path to the dynamic library (.so, .dll, or .rs).",
          //Required
          "function": "Function name that takes two strings as arguments and returns a unit. The first string represents the log in JSON format, and the second represents the path to the real-time log file."
        },
        //Required
        "config_proxy": {
          //Optional
          "headers_config": {
            //Optional
            "custom_headers": [
              {
                //Required
                "title": "title",
                //Required
                "header_type": {
                  //One of : Command or Value
                  "Command": {
                    //Required
                    "cmd": "<Command that returns the value of the header>",
                    //Required
                    //Refresh value in milliseconds
                    "duration": 0
                  },
                  // or
                  "Value": { "value": "Header value" }
                }
              }
            ]
          },
          //Optional
          "openapi_config": {
            //Optional
            "responses_to_string": true, // Change the type of the responses to string
            //Optional
            "requests_config": {
              //One of : Exclude or Only
              "only": {
                //Required
                "requests": [
                  {
                    //Required
                    "path": "Regex that represents a path",
                    //Required
                    "methods": [
                      "Get",
                      "Put",
                      "Post",
                      "Delete",
                      "Options",
                      "Head",
                      "Patch",
                      "Trace"
                    ]
                  }
                ]
              },
              //Or
              "Exclude": {
                //Required
                "requests": [
                  {
                    //Required
                    "path": "Regex that represents a path",
                    //Optional: Defaults to all methods if not specified.
                    "methods": [
                      "Get",
                      "Put",
                      "Post",
                      "Delete",
                      "Options",
                      "Head",
                      "Patch",
                      "Trace"
                    ]
                  }
                ]
              }
            }
          },
          //Optional
          "stream_response_services": [
            {
              //Required
              "path": "Regex that represents a path",
              //Optional: Defaults to all methods if not specified.
              "methods": [
                "Get",
                "Put",
                "Post",
                "Delete",
                "Options",
                "Head",
                "Patch",
                "Trace"
              ]
            }
          ]
        },
        //Optional
        "use_sync_requests" : true
      }
    },
    "monitoring": {
      "config_monitoring": {
        //One of : log_file_path or service
        "log_file_path": {
          //Required
          "path": "/home/log.log"
        },
        "service": {
          //Required
          "url": "http://localhost:3000/log"
        }
      }
    }
  },
  //Optional
  "config_checker": {
    //Optional
    "checkers_cmd": [
      "<command line that take a string as an argument and return unit. This string represents the log in JSON format>"
    ],
    //Optional
    "checkers_lib": [
      {
        //Required
        "checkers_lib": "Absolute path to the dynamic library (.so, .dll, or .rs).",
        //Required
        "function_names": [
          "Function names that take a string as an argument and return unit. This string represents the log in JSON format"
        ]
      }
    ]
  },
  //Optional
  "config_checker_elk_stack": {
    //Required
    "kibana_port": 5602 //Kibana url : http://localhost:{kibana_port}
  },
  //Optional
  "config_statistics": {
    //Required
    "process": {
      //One of : docker, process or service
      "docker": {
        //Required
        "container_id": "89u32eew2r"
      },
      "process": {
        //Required
        "pid": 1100293
      },
      "service": {
        //Required
        "url": "http://localhost:3000/statistics"
      }
    }
  },
  //Optional
  "scanner": true
}
  • लॉग JSON फ़ॉर्मेट का उदाहरण:
root@kitploit:~
{
  "id" : 9009,
  "request": {
    "method": "GET",
    "url": "http://localhost:8080/api/data",
    "headers": [
      ["connection", "keep-alive"],
      ["accept", "*/*"],
      ["user-agent", "schemathesis/3.24.3"],
      ["host", "localhost:8081"],
      ["accept-encoding", "gzip, deflate"],
      ["authorization", "Bearer"],
      ["x-schemathesis-testcaseid", "97pK1I"],
      ["authorization", "Bearer Test"]
    ],
    "params": [],
    "body": "",
    "timestamp": "2024-06-17T12:43:21.717+00:00"
  },
  "response": {
    "status_code": 403,
    "headers": [
      ["access-control-allow-headers", "accept, content-type"],
      ["access-control-allow-origin", "*"],
      ["content-type", "application/json"],
      ["content-length", "70"]
    ],
    "body": "{\"error\":\"get_data\",\"exception\":\"sender Test should be connected\"}",
    "timestamp": "2024-06-17T12:43:21.717+00:00"
  },
  "reset": false
}
root@kitploit:~
{
  "request": {
    "method": "POST",
    "url": "http://localhost:20000/injection/block",
    "headers": [
      ["user-agent", "restler/9.2.3"],
      ["content-type", "application/json"],
      ["accept", "application/json"],
      ["x-restler-sequence-id", "20f34e2b-13e8-4861-a7aa-77df3dff5ad6"],
      ["host", "localhost:22333"],
      ["content-length", "225"]
    ],
    "params": [
      ["async", "fuzzstring"],
      ["force", "fuzzstring"],
      ["chain", "fuzzstring"]
    ],
    "body": {
      "data": "fuzzstring",
      "operations": [[{ "branch": { "fuzz": false }, "data": "fuzzstring" }]]
    },
    "timestamp": "2024-06-17T12:43:21.717+00:00"
  },
  "response": {
    "status_code": 400,
    "headers": [
      ["content-type", "text/plain"],
      ["transfer-encoding", "chunked"]
    ],
    "body": null,
    "timestamp": "2024-06-17T12:43:21.722+00:00"
  },
  "reset": false
}

लाइसेंस

कॉपीराइट © 2024, Functori [email protected].

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