Skip to content

Instantly share code, notes, and snippets.

@evilpan
evilpan / BundleTest.kt
Created February 23, 2023 07:15
Self changing bundle PoC
package com.evilpan.poc
import android.os.Bundle
import android.os.Parcel
import java.nio.ByteBuffer
import java.nio.ByteOrder
object BundleTest {
enum class Type(val value: Int) {
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@plexus
plexus / svn_short_log
Created December 16, 2011 09:01
svn log, one line per commit
#!/usr/bin/awk -f
# Convert the "svn log" output into a one liner format, which is easier to grep
# or use in scripts. Pipe "svn log" into this script
# When we get a line that starts with a revision number, put the data in variables
/^r[0-9]+/ {
rev=$1
user=$3
date=$5
@nagachika
nagachika / sine.cpp
Created August 10, 2009 15:23
RtAudio example - Sine Wave Tone (440Hz)
// RtAudio exsample - Sine Wave (440Hz)
#include <math.h>
#include <RtAudio/RtAudio.h>
#if defined(__cplusplus)
extern "C" {
#endif