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
# GNURoot Debian Jessie Android SSH Server | |
# Google Play Store: https://play.google.com/store/apps/details?id=com.gnuroot.debian | |
# Github: https://github.com/corbinlc/GNURootDebian | |
# change root password | |
passwd | |
apt update | |
apt install -y nano |
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
# Copy and paste this into | |
nano ~/.inputrc | |
# Completion case-insensitive | |
set completion-ignore-case On | |
# Tab to cycle through all possible completions | |
TAB: menu-complete | |
# Shift + tab to cycle backwards |
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
#modify interfaces file | |
sudo nano /etc/network/interfaces | |
auto usb0 | |
allow-hotplug usb0 | |
iface usb0 inet static | |
address 192.168.42.10 | |
netmask 255.255.255.0 | |
network 192.168.42.0 | |
broadcast 192.168.42.255 |
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
#install nginx | |
apt-get install nginx | |
#install php5 dependencies | |
apt-get install php5-fpm php5-cli php5-mysql | |
or apt-get build-dep php5 | |
#modify /etc/nginx/sites-available/default | |
Port 8080 |
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
hex-lower = [0123456789abcdef] | |
hex-upper = [0123456789ABCDEF] | |
numeric = [0123456789] | |
numeric-space = [0123456789 ] | |
symbols14 = [!@#$%^&*()-_+=] | |
symbols14-space = [!@#$%^&*()-_+= ] | |
symbols-all = [!@#$%^&*()-_+=~`[]{}|\:;"'<>,.?/] |
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
whoami /groups | findstr /b BUILTIN\Administrators | findstr /c:"Enabled group" && goto :isadministrator |
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 | |
# Darren Kitchen - https://forums.hak5.org/index.php?/topic/36913-is-analyzesh-mentioned-at-defcon-available/&do=findComment&comment=268226 | |
if [ -z "$1" ]; then | |
echo "Usage: analyze.sh input_file output_file"; exit | |
fi | |
if [ ! -f oui-small.txt ] | |
then | |
echo "Downloading OUI Database" | |
wget http://standards.ieee.org/regauth/oui/oui.txt | |
echo "Database downloaded. Fixing up oui.txt" |
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
cscript /nologo wget.js http://example.com |
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
# /etc/cron.d/macchanger | |
SHELL=/bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
@reboot root sleep 15 | |
@reboot root macchanger -r eth0 |
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
@echo off | |
setlocal EnableDelayedExpansion | |
set "startTime=%time: =0%" | |
set /P "=Any process here..." | |
set "endTime=%time: =0%" | |
OlderNewer