Skip to content

Commit

Permalink
Update scriptkiddi3.sh
Browse files Browse the repository at this point in the history
- Added a function for creating a new directory for each scan so that you can manage multiple scans.
- Made some changes for a better look/output.
  • Loading branch information
thecyberneh committed Dec 29, 2022
1 parent 65ed899 commit 5a9471d
Showing 1 changed file with 37 additions and 8 deletions.
45 changes: 37 additions & 8 deletions scriptkiddi3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Instagram :- https://www.instagram.com/thecyberneh/
Linkedin :- https://linkedin.com/in/thecyberneh
"$reset""
echo -e "\n"
echo -e "\n"
echo -e "\n"
}


Expand Down Expand Up @@ -91,6 +89,37 @@ fun_err () {
#-----------------------------------------------------------------#


#for_create_directory
fun_dir () {
mkdir ${DOMAIN}
cd ${DOMAIN}
sleep .5
echo -e "$(fun_info) Saving all output files in directory: ${DOMAIN}"
sleep .5
echo -e "\n"
}


#-----------------------------------------------------------------#


#print_flags
fun_flags () {
sleep .5
echo -e "$(fun_info) Target Domain:- $DOMAIN"
echo -e "\n"
sleep .5
echo -e "$(fun_info) Config File:- $CONFIG"
echo -e "\n"
sleep .5
echo -e "$(fun_info) Mode:- $MODE"
echo -e "\n"
}


#-----------------------------------------------------------------#


#for_help
fun_help () {
banner
Expand Down Expand Up @@ -375,8 +404,6 @@ while true; do
fi

DOMAIN=$2
echo -e "$(fun_info) Target Domain:- $DOMAIN"
echo -e "\n"
shift 2
continue
;;
Expand All @@ -391,8 +418,6 @@ while true; do
fi

MODE=$2
echo -e "$(fun_info) Mode:- $MODE"
echo -e "\n"
shift 2
continue
;;
Expand All @@ -407,8 +432,6 @@ while true; do
fi

CONFIG=$2
echo -e "$(fun_info) Config File:- $CONFIG"
echo -e "\n"
shift 2
continue
;;
Expand Down Expand Up @@ -444,17 +467,23 @@ done
if [ "$MODE" = 'sub' ] || [ "$MODE" = 'SUB' ] || [ "$MODE" = 'subdomain' ] || [ "$MODE" = 'SUBDOMAIN' ]
then
banner
fun_flags
fun_dir
fun_getAllSubd

elif [ "$MODE" = 'url' ] || [ "$MODE" = 'URL' ]
then
banner
fun_flags
fun_dir
fun_getAllSubd
fun_getUrl

elif [ "$MODE" = 'exploit' ] || [ "$MODE" = 'EXPLOIT' ] || [ "$MODE" = 'EXP' ] || [ "$MODE" = 'exp' ]
then
banner
fun_flags
fun_dir
fun_getAllSubd
fun_getUrl
fun_runNuclei
Expand Down

0 comments on commit 5a9471d

Please sign in to comment.