Skip to content

Instantly share code, notes, and snippets.

View trumpyla's full-sized avatar
🤯

Giedrius Trumpickas trumpyla

🤯
  • Philadelphia
View GitHub Profile
@entropiae
entropiae / Install pyenv on Ubuntu 18.04 + fish shell
Last active September 20, 2024 22:12
Install pyenv on Ubuntu 18.04 + Fish shell
Install pyenv on Ubuntu 18.04 + fish shell
- Install the packages required to compile Python
$ sudo apt-get update; sudo apt-get install --no-install-recommends 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
- Download pyenv code from github
$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv
- Define environment variable PYENV_ROOT to point to the path where pyenv repo is cloned
$ echo "set --export PYENV_ROOT $HOME/.pyenv" > ~/.config/fish/conf.d/pyenv.fish
@TarlogicSecurity
TarlogicSecurity / kerberos_attacks_cheatsheet.md
Created May 14, 2019 13:33
A cheatsheet with commands that can be used to perform kerberos attacks

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module:

@thyrlian
thyrlian / KaliNetHunterForNexus9.md
Last active November 2, 2022 22:33
How to build & install Kali NetHunter on Nexus9 from macOS

Prerequisites

  • Enable USB debugging (and allow RSA key fingerprint from connected computer)
  • Allow OEM unlocking
  • Have Android SDK installed on computer

Build

  • Clone kali-nethunter repository
  • Pull a Python Docker image python:2.7.14-jessie (even my local fresh macOS has problem of building)
  • Run Python Docker container: docker run -it -v [your-cloned-kali-nethunter-repo]:/root/kali-nethunter python:2.7.14-jessie bash
  • Build: python /root/kali-nethunter/nethunter-installer/build.py -d flounder --nougat --rootfs full (you have to build the Nougat version on your own, because the latest official version is only for Marshmallow)