Initial
This commit is contained in:
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -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.
|
24
README.md
Normal file
24
README.md
Normal file
@ -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)
|
53
kuripoiss.cpp
Normal file
53
kuripoiss.cpp
Normal file
@ -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 <iostream>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
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);
|
||||||
|
}
|
Reference in New Issue
Block a user