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:
18
depricated payloads/source/jibo_intercept.c
Normal file
18
depricated payloads/source/jibo_intercept.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#define SRC_ADDR 0xFFF00000 // The BootROM Mirror
|
||||
#define DEST_ADDR 0x40009000 // A different safe spot
|
||||
#define COPY_SIZE 0x100 // Just a tiny 256-byte sniff
|
||||
#define PMC_SCRATCH0 0x7000e450
|
||||
|
||||
void _start() {
|
||||
unsigned int *src = (unsigned int *)SRC_ADDR;
|
||||
unsigned int *dest = (unsigned int *)DEST_ADDR;
|
||||
|
||||
for (int i = 0; i < (COPY_SIZE / 4); i++) {
|
||||
dest[i] = src[i];
|
||||
}
|
||||
|
||||
*(volatile unsigned int *)PMC_SCRATCH0 = 0x90909090;
|
||||
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
Reference in New Issue
Block a user