vulnhub 安装 bash

2020-8-26 流沙 运维

ubuntu的系统

安装的bash 记录下, 直接用吧



    1  curl -fsSL https://get.docker.com -o get-docker.sh
    2  sudo apt-get update
    3  sudo apt-get upgrade
    6  sudo apt install curl
    7  curl -fsSL https://get.docker.com -o get-docker.sh
    8  ls
    9  sh get-docker.sh 
   10  curl -fsSL https://test.docker.com -o test-docker.sh
   11  sh test-docker.sh 
   12  sudo apt install python-pip
   13  pip install docker-compose
   14  apt install python-pip
   15  sudo apt-get intall python-pip
   16  sudo apt intall python-pip
   17  sudo apt-get install python-pip
   18  sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
   19  sudo gedit /etc/apt/sources.list
   20  sudo apt-get update
   21  apt install python-pip
   22  sudo apt install python-pip
   23  sudo apt-get update
   24  sudo apt-get upgrade
   25  apt install python-pip
   26  sudo apt install python-pip
   27  sudo apt-get remove python-pip-whl
   28  sudo apt -f install
   29  sudo apt update && sudo apt dist-upgrade
   30  apt install python-pip
   31  sudo apt install python-pip
   32  sudo apt install python3-pip
   33  pip install docker-compose
   34  sudo pip3 install docker-compose
   35  ls
   36  wget https://github.com/vulhub/vulhub/archive/master.zip -O vulhub-master.zip
   37  ls
   38  unzip vulhub-master.zip 
   39  ls
   40  cd vulhub-master/
   41  ls
   42  cd aria2/rce/
   43  ls
   44  docker-compose up -d
   45  docker-compose build
   46  service docker start
   47  docker-compose up -d
   48  docker-compose build
   49  systemctl enable docker.service
   50  systemctl status docker.service
   51  ls
   52  docker-compose up -d
   53  docker-compose bulid
   54  docker-compose build
   55  sudo docker-compose build
   56  sudo docker-compose up -d
   57  netstat -an
   58  help
   59  ifconfig
   60  sudo apt install net-tools
   61  ifconfig
   62  ls
   63  open .
   64  ls
   65  cd vulhub-master/
   66  ls
   67  cd aria2/
   68  ls
   69  cd rce/
   70  ls
   71  docker-compose down
   72  sudo docker-compose down
   73  cd..
   74  cd ..
   75  ls
   76  cd ..
   77  ls
   78  cd activemq/
   79  ls
   80  cd CVE-2016-3088/
   81  ls
   82  docker-compose build
   83  sudo docker-compose build
   84  su -
   85  sudo docker-compose up -d
   86  sudo docker-compose down
   87  history 


发表评论:

Powered by 流沙团

备案号:鄂ICP备15017378号-1