This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import tldextract | |
def is_valid_domain(domain): | |
# Check if the domain contains only alphanumeric characters and hyphens | |
if not domain.replace('-', '').replace('.', '').isalnum(): | |
return False | |
# Check if the domain doesn't end with a period | |
if domain.endswith('.'): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Author: mr-rizwan-syed | |
#Name: domdom.sh | |
# wget https://github.com/likexian/whois/releases/download/v1.15.1/whois-linux-amd64.tar.gz | |
# tar -xvf whois-linux-amd64.tar.gz | |
# mv whois/whois . | |
usage() { | |
echo "Usage: $0 -f file [-c]" | |
echo "Options:" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "Usage: techdetect <technology>" | |
exit 1 | |
fi | |
urls=() | |
# Check existence of httpxout*.json files and process each one |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# title: CHOMTE.SH - portmapper | |
#============================================================================== | |
if [ "$#" -ne 3 ]; then | |
echo "Usage: $0 <naabu_json_file> <dnsxresolved_file> <dnsreconout_file>" | |
exit 1 | |
fi | |
naabuout_json=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import json | |
import csv | |
# Define command-line arguments | |
parser = argparse.ArgumentParser(description="Convert JSON to CSV") | |
parser.add_argument("input_file", help="Input Naabu JSON file path") | |
parser.add_argument("output_file", help="Output CSV file path") | |
args = parser.parse_args() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Author: mr-rizwan-syed | |
#Nmap Custom Scanner | |
GREEN=`tput setaf 2` | |
YELLOW=`tput setaf 3` | |
BLUE=`tput setaf 4` | |
CYAN=`tput setaf 6` | |
NC=`tput sgr0` | |
# Usage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$art = @" | |
.:7Y55YJJJP#P~!?JYYYJ?7!~:.. | |
.^J#@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&#G^ | |
.?G&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&#J~^: | |
.!G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B! | |
7?G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&7 | |
?#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&Y | |
.Y@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@5 | |
^?@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
domain="$1" | |
project="$2" | |
subdomains="$project/subdomains.txt" | |
dnsprobe="$project/dnsprobe.txt" | |
aliveip="$project/aliveip.txt" | |
ipport="$project/ipport.txt" | |
hostport="$project/hostport.txt" | |
httpxout="$project/httpxout.txt" |