Skip to content

Instantly share code, notes, and snippets.

View miguelraulb's full-sized avatar

MKRUL miguelraulb

View GitHub Profile
@miguelraulb
miguelraulb / Docker Container Migration
Last active May 29, 2020 22:38
Docker container migration
In order to perform a successful migration, we need this script https://github.com/ricardobranco777/docker-volumes.sh
Then do the following instructions, coming from the script original author
# Stop the container
docker stop $CONTAINER
# Create a new image
docker commit $CONTAINER $CONTAINER
# Save and load image to another host
docker save $CONTAINER | ssh $USER@$HOST docker load
@upbeta01
upbeta01 / install-docker-deb9.sh
Created February 5, 2018 17:21
Install Docker In Debian 9 (Stretch)
#!/bin/bash
#
# -----------------------
#
# This is a script that installs docker-ce (Docker Community Edition) on Debian 9
# Inspired by https://gist.github.com/frgomes/a6f889583860f5b330c06c8b46fa0f42
#
# -----------------------
# Pre-requesite
@worawit
worawit / eternalblue8_exploit.py
Last active March 16, 2024 18:38
Eternalblue exploit for Windows 8/2012
#!/usr/bin/python
# This file has no update anymore. Please see https://github.com/worawit/MS17-010
from impacket import smb, ntlm
from struct import pack
import sys
import socket
'''
EternalBlue exploit for Windows 8 and 2012 by sleepya
The exploit might FAIL and CRASH a target system (depended on what is overwritten)
@atcuno
atcuno / gist:3425484ac5cce5298932
Last active March 25, 2024 13:55
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@hogem
hogem / ascii_binary_convert.pl
Created May 17, 2012 04:32
convert ascii to binary, or binary to ascii
#!/usr/bin/perl
use strict;
use warnings;
## one liner
# perl -ne 'print unpack("H*", $_)' < ascii > binary
# perl -ne 'print pack("H*", $_)' < binary > ascii
my $mode = shift || help();