From ed6f5153357301519990d8cd56aaaa78752bbdc4 Mon Sep 17 00:00:00 2001 From: cosmic-zip <36008397+cosmic-zip@users.noreply.github.com> Date: Sun, 17 Nov 2024 22:31:05 -0300 Subject: [PATCH] Fix build dist --- build-dist.sh | 2 +- install.sh | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) mode change 100644 => 100755 build-dist.sh delete mode 100755 install.sh diff --git a/build-dist.sh b/build-dist.sh old mode 100644 new mode 100755 index be18814..443c3ee --- a/build-dist.sh +++ b/build-dist.sh @@ -1,7 +1,7 @@ echo && echo "Build packages" mkdir ./dist -cp ./witch_craft/target/release/witch_craft ./dist/ +cp -r ./witch_craft/target/release/witch_craft ./dist/ cp witch_spells ./dist zip -r witch_craft-full.zip dist/ diff --git a/install.sh b/install.sh deleted file mode 100755 index ebd304d..0000000 --- a/install.sh +++ /dev/null @@ -1,17 +0,0 @@ -# Install data -echo && echo "Install witch_spells data" -sudo cp -nr witch_spells/ /var/ -sudo chown -R $(whoami):$(whoami) /var/witch_spells -7z x /var/witch_spells/archive/osint/Archive.7z.001 -o/var/witch_spells/archive/osint/ -7z x /var/witch_spells/archive/malware/full.7z.001 -o/var/witch_spells/archive/malware/ -echo 'export WITCH_SPELLS_ROOT_DIR=/var/witch_spells/archive/' >> ~/.bash_profile -export WITCH_SPELLS_ROOT_DIR=/var/witch_spells/archive/ - -# Wordlist -echo && echo "Wordlists are big (16GB) so, if you want or need then, just run:" -echo "7z x /var/witch_craft/witch_spells/wordlists/ladybug.pwned" -echo "7z x /var/witch_craft/witch_spells/wordlists/moth.pwned.7z.001" - -# Install inside /bin -sudo cp -r ./witch_craft /bin/witchcraft -sudo ln -s /bin/witchcraft /bin/witchy