Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-zip committed Nov 13, 2024
1 parent a4e16ae commit fcdaab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/witch_craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,5 @@ jobs:
run: |
chmod +x build.sh
sudo ./build.sh
- name: Build
run: |
cargo build --release --manifest-path witch_craft/Cargo.toml
sudo chmod +x ./witch_craft/target/release/witch_craft
sudo cp -r ./witch_craft/target/release/witch_craft /bin
- name: Run tests
run: cargo test --verbose --manifest-path witch_craft/Cargo.toml
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ sudo apt update
sudo apt install -y nmap whois dirb dnsenum libc-bin iproute2 xxd iptables coreutils wget curl \
dnsutils traceroute openssl openssh-server xattr libimage-exiftool-perl tor foremost pkg-config \
libssl-dev steghide libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev 7zip \
libayatana-appindicator3-dev librsvg2-dev chromium
libayatana-appindicator3-dev librsvg2-dev chromium-browser

# Install data
echo && echo "Install witch_spells data"
sudo cp -r 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/
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/

Expand Down

0 comments on commit fcdaab3

Please sign in to comment.