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:
15
depricated payloads/source/jibo_leak_ram.c
Normal file
15
depricated payloads/source/jibo_leak_ram.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#define PMC_BASE 0x7000e400
|
||||
#define PMC_SCRATCH0 (PMC_BASE + 0x50)
|
||||
#define PMC_CNTRL (PMC_BASE + 0x0)
|
||||
#define BOOTROM_START 0xFFF00000
|
||||
|
||||
void _start() {
|
||||
unsigned int rom_data = *(volatile unsigned int *)(BOOTROM_START);
|
||||
|
||||
*(volatile unsigned int *)(PMC_SCRATCH0) = rom_data;
|
||||
|
||||
*(volatile unsigned int *)(PMC_CNTRL) |= (1 << 4);
|
||||
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
Reference in New Issue
Block a user