these payloads may not work , i have no clue honestly i attached them , also there are 2 helper py scripts that might work with some of these payloads
15 lines
308 B
C
15 lines
308 B
C
#define PMC_BASE 0x7000e400
|
|
#define PMC_SCRATCH0 (PMC_BASE + 0x50)
|
|
#define PMC_CNTRL (PMC_BASE + 0x0)
|
|
|
|
void _start() {
|
|
*(volatile unsigned int *)(PMC_SCRATCH0) = 0xCAFEBABE;
|
|
|
|
*(volatile unsigned int *)(PMC_SCRATCH0) |= (1 << 2);
|
|
|
|
*(volatile unsigned int *)(PMC_CNTRL) |= (1 << 4);
|
|
|
|
while (1)
|
|
;
|
|
}
|