Sha256: e6067edd874f2c2f58d01f46f5d148d88862c722ad75d1c43fb2c0a6adb5c63c

Contents?: true

Size: 1.16 KB

Versions: 813

Compression:

Stored size: 1.16 KB

Contents

#!/bin/bash --login
source /etc/profile.d/globals.sh

# TODO: Always grab latest release
arachni_root='/opt/arachni'
arachni_build_path="${arachni_root}/arachni-1.5.1-0.5.12"
arachni_pkg='arachni-1.5.1-0.5.12-linux-x86_64.tar.gz'
arachni_url="https://github.com/Arachni/arachni/releases/download/v1.5.1/${arachni_pkg}"
arachni_ca_root='/usr/local/share/ca-certificates/arachni'

sudo mkdir $arachni_root 
$screen_cmd "cd ${arachni_root} && wget ${arachni_url} && tar -xzvf arachni-1.5.1-0.5.12-linux-x86_64.tar.gz && rm ${arachni_pkg} ${assess_update_errors}"
grok_error

ls $arachni_build_path/bin/* | while read arachni_bin; do 
  sudo ln -sf $arachni_bin /usr/local/bin/
done

if [[ -f /usr/bin/phantomjs ]]; then
  cp $arachni_build_path/system/usr/bin/phantomjs $arachni_build_path/system/usr/bin/phantomjs.BAK
  cp /usr/bin/phantomjs $arachni_build_path/system/usr/bin/phantomjs
fi

# Add CA cert for testing
# Comment out for now - rely upon drivers to reference CA instead
# sudo mkdir $arachni_ca_root
# sudo cp $arachni_build_path/system/gems/gems/arachni-1.5.1/lib/arachni/http/proxy_server/ssl-interceptor-ca-cert.pem $arachni_ca_root
# sudo update-ca-certificates --fresh

Version data entries

813 entries across 813 versions & 1 rubygems

Version Path
pwn-0.5.69 packer/provisioners/arachni.sh
pwn-0.5.68 packer/provisioners/arachni.sh
pwn-0.5.67 packer/provisioners/arachni.sh
pwn-0.5.66 packer/provisioners/arachni.sh
pwn-0.5.65 packer/provisioners/arachni.sh
pwn-0.5.64 packer/provisioners/arachni.sh
pwn-0.5.63 packer/provisioners/arachni.sh
pwn-0.5.62 packer/provisioners/arachni.sh
pwn-0.5.61 packer/provisioners/arachni.sh
pwn-0.5.60 packer/provisioners/arachni.sh
pwn-0.5.59 packer/provisioners/arachni.sh
pwn-0.5.58 packer/provisioners/arachni.sh
pwn-0.5.57 packer/provisioners/arachni.sh
pwn-0.5.55 packer/provisioners/arachni.sh
pwn-0.5.54 packer/provisioners/arachni.sh
pwn-0.5.53 packer/provisioners/arachni.sh
pwn-0.5.52 packer/provisioners/arachni.sh
pwn-0.5.51 packer/provisioners/arachni.sh
pwn-0.5.50 packer/provisioners/arachni.sh
pwn-0.5.49 packer/provisioners/arachni.sh