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
// Run with gcc -o hello hello.c && ./hello | |
// An alternative "Hello World!" By DigitalCold | |
#include<unistd.h> | |
#include<errno.h> | |
main(){char*s=&errno, | |
*a=s,*t="@?>=",*z=t, | |
h[]={12,29,7,0,3,177, | |
87,-8,3,-6,-8,189,233, | |
1};for(;*z;s--){for( | |
;access(s,0),*a==14; |
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 python3 | |
HELP=""" | |
Samsung EPIC Decrypter | |
by @Digital_Cold, Aug 2022 | |
Samsung EPIC is a power management daemon for Android. It stores its profiles | |
in AES CFB encrypted JSON files. The key is hardcoded per build in an ELF | |
section. By extracting the key and using the same decryption, we can recover | |
the JSON file. |
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 | |
# coding: utf-8 | |
import sys | |
import time | |
# pip install pwn | |
from pwn import * | |
# pip install ipython | |
from IPython import embed |
OlderNewer