From 2415cd4360e3a9f44214e09ee9599c05dc26cdfc Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Fri, 27 Jun 2025 13:16:57 +0300 Subject: [PATCH] Initial --- LICENSE | 21 ++++++++++++++++++++ README.md | 24 +++++++++++++++++++++++ kuripoiss.cpp | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 kuripoiss.cpp diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..84ddad5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +kuripoiss.cpp +Copyright (C) 2025 VELENDEU, eetnaviation +https://velend.eu/ +https://git.velend.eu/eetnaviation/kuripoiss + +ALl rights reserved unless otherwise stated. + +Permission is hereby denied to copy, modify, distribute, sublicense, +or sell copies of this software without explicit prior written consent. + +All dependency trademarks and names are copyright to their respective owners. + +VELENDEU and eetnaviation DO NOT own any rights to the licensed dependencies. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFIRNGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USER OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..0edbeb6 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# kuripoiss +kuripoiss or badboy is a DNS scanning tool. + +## Usage +Wondering how to use it? Here's how: +### **IMPORTANT** - DEPENDENCIES +Please make sure the following packages are installed: +nmap +subfinder (Binary, Included in release) +### Running kuripoiss +#### On linux: +1. ./kuripoiss +2. Enter domain + +## Self-Compiling +As it is open-source you can compile it yourself. +### Using g++ +`g++ kuripoiss.cpp -o kuripoiss` +Make sure you get subfinder from the release files or their github. + + +## Credits +[subfinder (Licensed under MIT)](https://github.com/projectdiscovery/subfinder) +[nmap (Licensed under Nmap Public Source License Version 0.95 (NPSL v0.95)](https://github.com/nmap/nmap) diff --git a/kuripoiss.cpp b/kuripoiss.cpp new file mode 100644 index 0000000..cd6c33e --- /dev/null +++ b/kuripoiss.cpp @@ -0,0 +1,53 @@ +/*! + * kuripoiss.cpp + * Copyright (C) 2025 VELENDEU, eetnaviation + * https://velend.eu/ + * https://git.velend.eu/eetnaviation/kuripoiss + * + * ALl rights reserved unless otherwise stated. + * + * Permission is hereby denied to copy, modify, distribute, sublicense, + * or sell copies of this software without explicit prior written consent. + * + * All dependency trademarks and names are copyright to their respective owners. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFIRNGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USER OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include +#include + +std::string version = "1.0"; // Version number, increment with new releases +std::string domainInputString; + +void runShellCmd(const std::string& command, const std::string& prefix); + +int main() { + std::cout << "[INFO] Domain? "; + std::cin >> domainInputString; + std::cout << "[INFO] kuripoiss v" << version << " (c) VELEND.EU 2025" << std::endl; + std::cout << "[STATUS] Scanning domain: "<< domainInputString << std::endl; + std::cout << "[SCAN] Scanning ports..." << std::endl; + runShellCmd("nmap " + domainInputString, "[NMAP]"); + std::cout << "[SCAN] Scanning subdomains..." << std::endl; + runShellCmd("./subfinder -silent -d " + domainInputString, "[SUBFINDER]"); +} + +void runShellCmd(const std::string& command, const std::string& prefix) { + FILE* pipe = popen(command.c_str(), "r"); + if (!pipe) { // Throw error if the cmd fails and return. + std::cerr << "Error running task: " << command << std::endl; + return; + } + char buffer[128]; + while (fgets(buffer, sizeof(buffer), pipe) != nullptr) { + std::cout << prefix << " " << buffer; + } + pclose(pipe); +}