Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help me! #1

Open
blackcoder0x01 opened this issue Mar 15, 2022 · 0 comments
Open

Please help me! #1

blackcoder0x01 opened this issue Mar 15, 2022 · 0 comments

Comments

@blackcoder0x01
Copy link

I want to add this spinner on my subdomain finding script.

my code

Amass() {
    # amass is with "-passive" option to make it faster, but it may cuz less results
    [ "$silent" == True ] && amass enum -passive -norecursive -noalts -d $domain 2>/dev/null | anew subenum-$domain.txt || {
        printf "[+] Amass"
        printf "                        \r"
        amass enum -passive -norecursive -noalts -d $domain 1>tmp-amass-$domain 2>/dev/null
        echo -e "] Amass: $(wc -l <tmp-amass-$domain)"
    }
}

I want to add spinner printf "[<here>] Amass"

Amass() {
    # amass is with "-passive" option to make it faster, but it may cuz less results
    [ "$silent" == True ] && amass enum -passive -norecursive -noalts -d $domain 2>/dev/null | anew subenum-$domain.txt || {
        printf "[+] Amass"
        printf "                        \r"
        amass enum -passive -norecursive -noalts -d $domain 1>tmp-amass-$domain 2>/dev/null
        echo -e "[*] Amass: $(wc -l <tmp-amass-$domain)"
    }
}

how to add this?
please help me.

@blackcoder0x01 blackcoder0x01 changed the title how I implement this spinner Please help me! Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant