This file contains hidden or 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 python3 | |
| # S-Box is generated by generate_s_box() | |
| S_BOX = [None] * 256 | |
| # Inverse S-Box is generated by generate_inverse_s_box() | |
| S_BOX_INVERSE = [None] * 256 | |
| MIX_COLUMNS_MATRIX = [ | |
| 0x02, 0x03, 0x01, 0x01, |
This file contains hidden or 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 python3 | |
| #import sys | |
| PLAINTEXT = "plaintxt" #sys.argv[0] | |
| KEY = "seeecret" #sys.argv[1] | |
| INITIAL_PERMUTATION = [ | |
| 58, 50, 42, 34, 26, 18, 10, 2, | |
| 60, 52, 44, 36, 28, 20, 12, 4, |
This file contains hidden or 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
| # Change the Google Services Framework ID (GSF ID) | |
| # Requires the device to be rooted | |
| # You can check the GSF ID with the Device Id for Android app (com.akademiteknoloji.androidallid) | |
| adb shell settings delete secure android_id | |
| adb shell settings delete secure advertising_id | |
| adb shell settings delete secure bluetooth_address | |
| adb shell su -c rm /data/system/users/0/accounts.db |
This file contains hidden or 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/sh | |
| cd "$(dirname "$(readlink -f "$0")")" | |
| set -e | |
| set -x | |
| IMAGE_SIZE=2G | |
| BOOT_PARTITION_SIZE=64MiB | |
| IMAGE_OUTPUT_FILE=debian.img |