Shofel payloader source & prebuild for jib with some old payloads i had made
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
This commit is contained in:
14
depricated payloads/source/verify.c
Normal file
14
depricated payloads/source/verify.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#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)
|
||||
;
|
||||
}
|
||||
Reference in New Issue
Block a user