Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
thenurhabib authored May 14, 2022
1 parent c10ef42 commit a86e33f
Show file tree
Hide file tree
Showing 6 changed files with 290 additions and 0 deletions.
93 changes: 93 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<h1 align="center">
<br>
untimSubs
<br>
</h1>

<h4 align="center">It makes easy to use all subdomain enumeration with all popular tools.</h4>

<br>

<p align="center">
<a href="https://github.com/thenurhabib/untimsubs/releases">
<img src="https://img.shields.io/github/release/thenurhabib/untimsubs.svg">
</a>
<a href="https://travis-ci.com/thenurhabib/untimsubs">
<img src="https://img.shields.io/travis/com/thenurhabib/untimsubs.svg">
</a>
<a href="https://github.com/thenurhabib/untimsubs/issues?q=is%3Aissue+is%3Aclosed">
<img src="https://img.shields.io/github/issues-closed-raw/thenurhabib/untimsubs.svg">
</a>
</p>

<br>


<hr>

### untimSubs use multiple subdomain enemeration tools and find all subdomains and save it in particularly text files.

<br>

### Main Features
- Web Crawler
- Scan Spring4Shell RCE

<br>

### Documentation
### install
```yaml
git clone https://github.com/thenurhabib/untimsubs.git
cd untimsubs
```
<br>

#### Usage

```bash
┌──(habib㉿kali)-[~/Desktop/untimSubs]
└─$ python3 main.py -h

__ _ _____ __
__ ______ / /_(_)___ ___ / ___/__ __/ /_ _____
/ / / / __ \/ __/ / __ `__ \\__ \/ / / / __ \/ ___/
/ /_/ / / / / /_/ / / / / / /__/ / /_/ / /_/ (__ )
\__,_/_/ /_/\__/_/_/ /_/ /_/____/\__,_/_.___/____/ v1.0.0
It makes easy to use all subdomain enumeration with all popular tools.
develop by @thenurhabib
usage: Help Menu of untimSubs
optional arguments:
-h, --help show this help message and exit
-d D, --domain D Enter Domain Name
```
<br>
<br>

## 🔗 Used Tools :

- [Amass](https://github.com/OWASP/Amass)
- [sublist3r](https://github.com/aboul3la/Sublist3r)
- [subfinder](https://github.com/projectdiscovery/subfinder)
- [SubBrute](https://github.com/TheRook/subbrute)
- [Knock](https://github.com/guelfoweb/knock)


<br>

### Author
```yaml
Name : Md. Nur habib
Medium : thenurhabib.medium.com
Twitter : https://twitter.com/thenurhab1b
HackerRank : https://www.hackerrank.com/thenurhabib
```

##### Thank You.
76 changes: 76 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
sudo apt update -y
sudo apt autoremove -y
clear


echo ""
echo "Check if python3 lang installed or not..."
echo ""
if ! command -v python3 &> /dev/null
then
echo "python3 language not installed."
echo "Installing python3 Language..."
echo ""
sudo apt install python3 -y
else
echo "Python Already installed."
fi

sleep 1
clear
echo ""
echo "Check if go lang installed or not..."
echo ""
sleep 2

if ! command -v go &> /dev/null

then
echo "Go language not installed."
echo "Installing Go Language..."
echo ""
sudo curl -O https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
sudo tar -xvf go1.8.linux-amd64.tar.gz
sudo mv go /usr/local
sudo nano ~/.profile
export PATH=$PATH:/usr/local/go/bin
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
source ~/.profile

else
echo "Go already installed."
fi


# Installing Tools
mkdir Tools
cd Tools
echo ""
echo "Installing amass"
echo ""
sudo apt install amass


echo ""
echo "Installing sublist3r"
echo ""
sudo apt install sublist3r


echo ""
echo "Installing subfinder"
echo ""
sudo apt install subfinder


echo ""
echo "Installing SubBrute"
echo ""
git clone https://github.com/TheRook/subbrute.git


echo ""
echo "Installing Knock"
echo ""
git clone https://github.com/santiko/KnockPy.git
85 changes: 85 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
#!/usr/bin python3

from os import system, path
from sys import exit
import warnings
import argparse
from plugins.styling import *


# Disable wornings
warnings.filterwarnings("ignore")

def x(command):
system(command)

# Print Banner
bannerFunc()

# Command Line Utility
parser = argparse.ArgumentParser(usage="Help Menu of untimSubs")
parser.add_argument('-d', '--domain' ,dest="d", help="Enter Domain Name", type=str, required=True)
args = parser.parse_args()

domainName = args.d

def mainFunction():

if domainName:
print("")
print(f"{bold}{orange}Target :{purple} {domainName} {reset}")
print("")
# Make and change or Change Directory
if path.exists("Tools") == True:
x("cd Tools")

else:
x("mkdir Tools")
x("cd Tools")
x("mkdir Subdomains")

# Finding Subdomains using amass
print(f"{bold}{blue}\nFinding Subdomains using amass, Please wait...{reset}")
x(f"amass enum -d {domainName} > Subdomains/subdomansAmass.txt")

# Finding Subdomains using sublist3r
print(f"{bold}{blue}\nFinding Subdomains using sublist3r, Please wait...{reset}")
x(f"sublist3r -d {domainName} > Subdomains/subdomansSublist3r.txt")
print("\n\n")

# Finding Subdomains using sublist3r
print(f"{bold}{blue}\nFinding Subdomains using sublist3r, Please wait...{reset}")
x(f"subfinder -d {domainName} -o Subdomains/subdomansSubfinder.txt")
print("\n\n")

# Finding Subdomains using subbrute
print(f"{bold}{blue}\nFinding Subdomains using subbrute, Please wait...{reset}")
x("cd subbrute")
x(f"python3 subbrute.py {domainName} > Subdomains/subdomansSubbrute.txt")
x("cd ..")
print("\n\n")

# Finding Subdomains using Knock
print(f"{bold}{blue}\nFinding Subdomains using Knock, Please wait...{reset}")
x("cd KnockPy")
x(f"python knock.py {domainName} > Subdomains/subdomansKnock.txt")
x("cd ..")
print("\n\n")

else:
print("")
print(f"{bold}{red}Please enter valid credential.{reset}")
exit(0)

# Call main function
if __name__ == "__main__":
try:
mainFunction()
except KeyboardInterrupt:
getOpinion = input("\nWant to exit : (y/n)").lower()
if getOpinion == "y":
exit()
elif getOpinion == "n":
pass
else:
print("Enter 'y' for yes and 'n' for no.")
Binary file added plugins/__pycache__/styling.cpython-310.pyc
Binary file not shown.
Binary file added plugins/__pycache__/styling.cpython-39.pyc
Binary file not shown.
36 changes: 36 additions & 0 deletions plugins/styling.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin python3

__Version__ = "v1.0.0"

reset='\033[0m'
bold='\033[01m'
black='\033[30m'
red='\033[31m'
green='\033[32m'
orange='\033[33m'
blue='\033[34m'
purple='\033[35m'
cyan='\033[36m'
lightgrey='\033[37m'
darkgrey='\033[90m'
lightred='\033[91m'
lightgreen='\033[92m'
yellow='\033[93m'
lightblue='\033[94m'
pink='\033[95m'
lightcyan='\033[96m'



def bannerFunc():
print(f"""{bold}{yellow}
__ _ _____ __
__ ______ / /_(_)___ ___ / ___/__ __/ /_ _____
/ / / / __ \/ __/ / __ `__ \\\__ \/ / / / __ \/ ___/
/ /_/ / / / / /_/ / / / / / /__/ / /_/ / /_/ (__ )
\__,_/_/ /_/\__/_/_/ /_/ /_/____/\__,_/_.___/____/{red} {__Version__}
{blue}
It makes easy to use all subdomain enumeration with all popular tools.
{purple} develop by {cyan} @thenurhabib {reset}
""")

0 comments on commit a86e33f

Please sign in to comment.