from gist.github vagrant_dvwa.sh #!/usr/bin/sh ordinaryPack=”docker nc tcsh unzip” servPack=”httpd mariadb-server php-mysql php” passwdResetURL=”https://gist.githubusercontent.com/kaldown/1a0df9af50b6d08ddc32/raw/bfaf3bf4e610649437ae6ee72a1c3e3d9e7d3538/rootPasswdReset” yum update -y yum install -y $servPack $ordinaryPack systemctl enable httpd.service systemctl enable mariadb.service curl $passwdResetURL >> /tmp/rootPasswdReset mysqld_safe –user=mysql –init-file=/tmp/rootPasswdReset wget -P /tmp https://github.com/RandomStorm/DVWA/archive/v1.0.8.zip unzip /tmp/v1.0.8.zip -d /var/www/html mv /var/www/html/DVWA-1.0.8 /var/www/html/dvwa sed -i ‘s/p@ssw0rd/sqlpasswd/g’ /var/www/html/dvwa/config/config.inc.php sed -i ‘s/^/#/g’ /etc/httpd/conf.d/welcome.conf systemctl start […]Read more "vagrant provision shell from gist.github"
Finally I’ve found the solution with problem described above. As always – firstly better to take a look in github (hello rkn) Here some sort of: If you will for first time, Vagrantfile will mount your ./workdir to /vagrant filesystem on Guest. But each time I yum update (chef/centos-7.0 box) – something goes wrong and […]Read more "mount -t vboxsf: No such device"
First time see that a couple minutes ago. One day I deleted whole OS without any prompting (rest in peace Ubuntu 10.10). Trying to delete /jail which have base.txz I got an error “Operation not permitted”. According what man rm told me, I follow next stage and looked through man chflags, found -sunlink (system undelete). […]Read more "rm -rf returns ‘Operation not permitted’"
Just now found some nice, to make my new windows look like *nix, as close as I can do. Choco From this, I can use PowerShell and install userspace with witch I prefer work in FreeBSD. Atom / SublimeText / VIm Python / NodeJS And many more… NuGET – the same, for programmingRead more "Package Manager"
1) Create key-pair private\public 2) Copy public key to server 3) Make your private key untouchable for modifying from extend (security issue) Interesting notes for remember: Medium VMWare-DocRead more "Enabling SSH-key acces to ESXi"