summarylogtreecommitdiffstats
path: root/beef-xss.install
blob: 98956cda2adcc36074d45d52fb578fbb907e071f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_upgrade() {
  set -e
  cd /usr/share/beef-xss
  rm -f Gemfile.lock
  /usr/bin/bundle config build.nokogiri --use-system-libraries
  /usr/bin/bundle config set --local path 'vendor/bundle'
  bundle install
  /usr/bin/bundle update
  rm -f Gemfile.lock
}

post_install() {
  post_upgrade
    cat << EOF
Certainly, here are the simplified steps:

1. Open the Beef-XSS Framework configuration file with a text editor using sudo and edit the username and password in the `config.yaml` file.

    ~$ sudo nano /usr/share/beef-xss/config.yaml

2. Start Beef-XSS with sudo:

    ~$ sudo beef 
  Or
    ~$ sudo beef-xss 

EOF
}