This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#https://jekyllrb.com/docs/installation/ubuntu/ | |
sudo apt-get install ruby ruby-dev build-essential | |
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc | |
echo 'export GEM_HOME=$HOME/gems' >> ~/.bashrc | |
echo 'export PATH=$HOME/gems/bin:$PATH' >> ~/.bashrc | |
source ~/.bashrc | |
#bundle install | |
sudo gem install jekyll bundler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#moving from php7.0 to php7.1 for laravel | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get -y install php7.1 php7.1-common | |
sudo apt-get install php7.1-xml php7.1-mbstring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#installing kali (optional) | |
sudo umount /dev/sdb1 | |
sudo mkfs.ext4 /dev/sdb1 | |
wget https://goo.gl/fd3zc -o crouton | |
cd ~/Downloads | |
sudo sh crouton -r kali -t core,cli-extra -p /media/removable/USB\ Drive/ | |
sudo sh /media/removable/USB\ Drive/bin/enter-chroot | |
#installing metasploit | |
sudo apt-get -y install \ | |
build-essential zlib1g zlib1g-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get -y install software-properties-common | |
apt-add-repository ppa:brightbox/ruby-ng | |
apt-get update | |
apt-get -y install ruby2.7 | |
ruby -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service mysql stop | |
sudo usermod -d /var/lib/mysql/ mysql | |
sudo service mysql start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#https://lerietaylor.com/blog | |
#scan a range of ip's with nmap looking for wordpress sites | |
#lerie,11:29pm,6/6/18 | |
#fxbg,11:57,6/6/18 | |
#get nmap argument for ip range | |
if [ "$1" == "" ]; then | |
echo 'no argument set' | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://wordpress.org/latest.tar.gz | |
tar -xzvf latest.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
####################################### | |
# Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems. | |
# Originally written by @AamnahAkram from http://aamnah.com | |
# 2019-2021: Updates and maintenance by Lerie Taylor https://www.lerietaylor.com/ | |
# uninstall: https://gist.github.com/Lerie82/de06e0f5f03305c6d991c30599b7567e | |
####################################### | |
#COLORS | |
# Reset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################# | |
# Created by Lerie Taylor | |
# 02/10/21 - The year of the Covid | |
# https://www.lerietaylor.com | |
# install script: https://gist.github.com/Lerie82/f0951a99ec574a3485d2ea50064ffa56 | |
################################# | |
#COLORS | |
# Reset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service mysql stop | |
sudo mysqld --skip-grant-tables & | |
sudo mysql -u root mysql -e "UPDATE mysql.user SET authentication_string= 'password' WHERE User = 'root'; FLUSH PRIVILEGES; exit;" | |
sudo pkill mysqld | |
sudo service mysql start |