Skip to content

Instantly share code, notes, and snippets.

Lerie Taylor Lerie82

Block or report user

Report or block Lerie82

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Lerie82
Lerie82 / lamp.sh
Last active Jan 31, 2018 — forked from aamnah/lamp.sh
Bash script to install Apache, MySQL and PHP as well as PHPMyAdmin and some tweaks. For Debian and Ubuntu. To run, copy the script to the server and run ``bash lamp.sh``
View lamp.sh
#!/bin/sh
# updated for php7 by lerie taylor
#######################################
# Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems.
# Written by @AamnahAkram from http://aamnah.com
# In case of any errors (e.g. MySQL) just re-run the script. Nothing will be re-installed except for the packages with errors.
#######################################
#COLORS
@Lerie82
Lerie82 / install-metasploit.sh
Last active Jun 17, 2019
install metasploit and kail on chromebook
View install-metasploit.sh
#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 \
@Lerie82
Lerie82 / install-tor.sh
Last active Jun 11, 2018
get tor polipo install on ubuntu
View install-tor.sh
gksudo 'apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 886DDD89'
sudo add-apt-repository "deb http://deb.torproject.org/torproject.org $(lsb_release -s -c) main"
sudo apt-get update
sudo apt-get -y --allow-unauthenticated install tor-geoipdb polipo
sudo cp /etc/polipo/config /etc/polipo/config.bak
sudo wget -O /etc/polipo/config http://gitweb.torproject.org/torbrowser.git/blob_plain/HEAD:/build-scripts/config/polipo.conf
sudo service polipo restart
#adding transmission torrent client
sudo add-apt-repository ppa:transmissionbt/ppa
sudo apt-get -y update
View ycombinator hacker news
#!/bin/bash
counter=10
curl https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty > /var/www/html/pbr/tmp/hnews
cat /var/www/html/pbr/tmp/hnews |grep -o '[0-9]\{7,8\}' > /var/www/html/pbr/tmp/hnews2
truncate -s 0 /var/www/html/pbr/tmp/hnews
echo '[' >> /var/www/html/pbr/tmp/hnews
cat /var/www/html/pbr/tmp/hnews2 | while read -r line;
do
curl https://hacker-news.firebaseio.com/v0/item/$line.json?print=pretty >> /var/www/html/pbr/tmp/hnews
counter=$((counter-1))
@Lerie82
Lerie82 / wpvuln.sh
Last active May 28, 2018
list popular wordpress plugin vulnerabilities from wordpress.org
View wpvuln.sh
#!/bin/bash
counter=10
#download popular wordpress plugins
curl https://wordpress.org/plugins/browse/popular/ > /var/www/html/pbr/tmp/pop
#regex the links into new file: pop2
cat /var/www/html/pbr/tmp/pop |grep -o https:\/\/wordpress[.]org\/plugins\/\.*\/\" > /var/www/html/pbr/tmp/pop2
truncate -s 0 /var/www/html/pbr/tmp/pop
@Lerie82
Lerie82 / tpb.sh
Last active May 28, 2018
ubuntu command like search thepiratebay.org
View tpb.sh
#!/bin/sh
#supply an argument to the script
curl -s https://thepiratebay.org/search/$1/0/99/200 >search
grep -oP '(magnet[:][?].+?)\"' search
@Lerie82
Lerie82 / ffmpeg-conv.sh
Last active May 28, 2018
ffmpeg convert files in directory to mp4
View ffmpeg-conv.sh
### bash
for i in *.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -i "$i" "${name}.mp4";
done
@Lerie82
Lerie82 / install-subl.sh
Created May 30, 2018
sublimetext install
View install-subl.sh
#/usr/bin/bash
#http://tipsonubuntu.com/2017/05/30/install-sublime-text-3-ubuntu-16-04-official-way/
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
@Lerie82
Lerie82 / install-wordpress.sh
Created Jun 2, 2018
install wordpress command line
View install-wordpress.sh
wget https://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz
@Lerie82
Lerie82 / install-ruby.sh
Created Jun 10, 2018
installs ruby 2.4
View install-ruby.sh
apt-get -y install software-properties-common
apt-add-repository ppa:brightbox/ruby-ng
apt-get update
apt-get -y install ruby2.4
ruby -v
You can’t perform that action at this time.