Skip to content

Instantly share code, notes, and snippets.

View dlopez's full-sized avatar

Daniel Lopez dlopez

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dlopez on github.
  • I am dlopez (https://keybase.io/dlopez) on keybase.
  • I have a public key ASDdRUO31VQLY-glYlgVV_WILSeBYufHPfAFWEeC9RK9Ywo

To claim this, I am signing this object:

@dlopez
dlopez / Pentest-Tools-Install.sh
Created May 17, 2018 03:21 — forked from JamesHovious/Pentest-Tools-Install.sh
Simple script to install the tools I most often use for pentesting.
#/bin/bash
# This script sets up two directories. One in ~/tools/ which contains tools that I often use on pentests.
# The other directory is in /var/www/html/ that contains tools/scripts that I often pull down from
# and run on victim machines.
toollist=(
'https://github.com/ilneill/Py-CiscoT7.git'
'https://github.com/rsmudge/cortana-scripts.git'
'https://github.com/CoreSecurity/impacket.git'
@dlopez
dlopez / LinuxPrivEsc.sh
Created May 17, 2018 03:12 — forked from 1N3/LinuxPrivEsc.sh
Linux Privilege Escalation Script by 1N3 @CrowdShield - https://crowdshield.com
#!/bin/sh
#
# `7MN. `7MF'
# __, MMN. M
#`7MM M YMb M pd""b.
# MM M `MN. M (O) `8b
# MM M `MM.M ,89
# MM M YMM ""Yb.
#.JMML..JML. YM 88
# (O) .M'
@dlopez
dlopez / mysql-docker.sh
Created May 31, 2017 05:02 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE