Skip to content

Commit

Permalink
Fix installer and Anubis
Browse files Browse the repository at this point in the history
  • Loading branch information
six2dez committed Mar 18, 2021
1 parent f26557f commit 995ac6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@ if [[ $(eval type go $DEBUG_ERROR | grep -o 'go is') == "go is" ]]
printf "${bgreen} Golang is already installed ${reset}\n\n"
else
printf "${yellow} Running: Installing Golang ${reset}\n\n"
version=$(curl https://golang.org/VERSION?m=text)
if [ "True" = "$IS_ARM" ]; then
eval wget https://dl.google.com/go/$(curl https://golang.org/VERSION?m=text).linux-armv6l.tar.gz $DEBUG_STD
eval $SUDO tar -C /usr/local -xzf go$LATEST_GO.linux-armv6l.tar.gz $DEBUG_STD
eval wget https://dl.google.com/go/${version}.linux-armv6l.tar.gz $DEBUG_STD
eval $SUDO tar -C /usr/local -xzf ${version}.linux-armv6l.tar.gz $DEBUG_STD
$SUDO cp /usr/local/go/bin/go /usr/bin
else
eval wget wget https://dl.google.com/go/$(curl https://golang.org/VERSION?m=text).linux-amd64.tar.gz $DEBUG_STD
eval $SUDO tar -C /usr/local -xzf go$LATEST_GO.linux-amd64.tar.gz $DEBUG_STD
eval wget https://dl.google.com/go/${version}.linux-amd64.tar.gz $DEBUG_STD
eval $SUDO tar -C /usr/local -xzf ${version}.linux-amd64.tar.gz $DEBUG_STD
$SUDO cp /usr/local/go/bin/go /usr/bin
fi
rm -rf go$LATEST_GO*
Expand Down
2 changes: 1 addition & 1 deletion reconftw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function sub_passive(){
eval github-subdomains -d $domain -k -q -raw -t $GITHUB_TOKENS | anew -q .tmp/github_subdomains_psub.txt
fi
fi
eval curl -s "https://jldc.me/anubis/subdomains/tiktok.com" $DEBUG_ERROR | grep -Po "((http|https):\/\/)?(([\w.-]*)\.([\w]*)\.([A-z]))\w+" | sed '/^\./d' | anew -q .tmp/jldc_psub.txt
eval curl -s "https://jldc.me/anubis/subdomains/${domain}" $DEBUG_ERROR | grep -Po "((http|https):\/\/)?(([\w.-]*)\.([\w]*)\.([A-z]))\w+" | sed '/^\./d' | anew -q .tmp/jldc_psub.txt
timeout 10m waybackurls $domain | unfurl --unique domains | anew -q .tmp/waybackurls_psub.txt
timeout 10m gau -subs $domain | unfurl --unique domains | anew -q .tmp/gau_psub.txt
if echo $domain | grep -q ".mil$"; then
Expand Down

0 comments on commit 995ac6f

Please sign in to comment.