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/python3 | |
import math | |
f = open("rawdump.txt", "r") | |
for l in f.readlines(): | |
p = 0 | |
chars = [] | |
chksum = 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
#!/bin/bash | |
# | |
# ubuntu 14.04 cryptsetup luks suspend/resume root partition sleep activation | |
# | |
source=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # install script folder | |
target=/run/pm-crypto # chroot environment folder | |
bind_list="/dev /proc /sys /run" # special system mounts |