Skip to content

Commit

Permalink
scripts/bindhosts: tweak illusion usage
Browse files Browse the repository at this point in the history
we dont need that much now
  • Loading branch information
backslashxx committed Dec 16, 2024
1 parent 8010fcc commit 86cf732
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions module/bindhosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ download() {
}

adblock() {
illusion
# source processing start!
echo "[+] processing sources"
sed '/#/d' $PERSISTENT_DIR/sources.txt | grep http > /dev/null || {
echo "[x] no sources found 😭"
echo "[x] sources.txt needs correction 💢"
return
}
illusion
# download routine start!
for url in $(sed '/#/d' $PERSISTENT_DIR/sources.txt | grep http) ; do
echo "[+] grabbing.."
Expand Down Expand Up @@ -221,7 +221,6 @@ reset() {

run() {
adblock
illusion
# store these as variables
# this way we dont do the grepping twice
custom=$( grep -vEc "0.0.0.0| localhost|#" $target_hostsfile)
Expand Down

0 comments on commit 86cf732

Please sign in to comment.