From 5a9471d62f782fd0d793eacc7e84ef42aa725e09 Mon Sep 17 00:00:00 2001 From: Neh Patel <75005384+thecyberneh@users.noreply.github.com> Date: Thu, 29 Dec 2022 12:49:21 +0530 Subject: [PATCH] Update scriptkiddi3.sh - 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. --- scriptkiddi3.sh | 45 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/scriptkiddi3.sh b/scriptkiddi3.sh index 6159af9..35e4b57 100644 --- a/scriptkiddi3.sh +++ b/scriptkiddi3.sh @@ -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" } @@ -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 @@ -375,8 +404,6 @@ while true; do fi DOMAIN=$2 - echo -e "$(fun_info) Target Domain:- $DOMAIN" - echo -e "\n" shift 2 continue ;; @@ -391,8 +418,6 @@ while true; do fi MODE=$2 - echo -e "$(fun_info) Mode:- $MODE" - echo -e "\n" shift 2 continue ;; @@ -407,8 +432,6 @@ while true; do fi CONFIG=$2 - echo -e "$(fun_info) Config File:- $CONFIG" - echo -e "\n" shift 2 continue ;; @@ -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