Skip to content

Commit 4693f50

Browse files
committed
infinite loop after extracting keys
1 parent 49b88b7 commit 4693f50

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

payload.bin

0 Bytes
Binary file not shown.

shellcode/build_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
2+
set -e
33

44
docker build -t v850-gcc .
55
docker run --rm -v $(pwd):/src v850-gcc ./build.sh

shellcode/main.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ void exploit() {
4545
addr++;
4646
}
4747

48-
void (*bl_reset)(void) = (void (*)(void))0x0000157e;
49-
bl_reset();
48+
while (1) {
49+
;
50+
}
51+
52+
// void (*bl_reset)(void) = (void (*)(void))0x0000157e;
53+
// bl_reset();
5054
}

0 commit comments

Comments
 (0)