[*] Binary protection state of createsession.cgi
Full RELRO Canary found NX enabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of createsession.cgi
blx sym.imp.sysinfo
mov r0, r5
blx sym.imp.readdir
mov r4, r0
cbz r0, 0xc28
ldrb r3, [r4, 0xb]
cmp r3, 0x2e
beq 0xbb6
mov r0, r8
blx sym.imp.getenv
cmp r0, 0
beq 0xcae
mov r0, r8
blx sym.imp.getenv
adds r4, 0xb
mov r3, sl
strd r0, r4, [sp]
mov.w r2, -1
movs r1, 1
mov r0, r6
blx sym.imp.__sprintf_chk
movs r1, 0
mov r0, r6
--
blx sym.imp.strlen
add.w r2, r0, 0x41
ldr.w fp, [0x00000e40]
adds r2, 7
bic r2, r2, 7
sub.w sp, sp, r2
add fp, pc
add.w sl, sp, 0x20
mov r0, fp
blx sym.imp.getenv
cmp r0, 0
beq 0xe24
mov r0, fp
blx sym.imp.getenv
ldr r3, [0x00000e44]
mov.w r2, -1
strd r0, r5, [sp]
movs r1, 1
mov r0, sl
add r3, pc
blx sym.imp.__sprintf_chk
mov.w r2, 0x180
mov r0, sl
--
it eq
moveq r4, 0x1e
blx sym.imp.sysinfo
ldr r0, [r7]
movs r2, 1
ldr r1, [0x00000e48]
ldr.w r3, [r7, 0x270]
str r4, [sp, 0xc]
add r4, r0
add r1, pc
str r6, [sp, 4]
add.w r6, r7, 0x40
strd r8, r3, [sp, 0x14]
str r4, [sp, 0x10]
movw r3, 0x201
str r0, [sp, 8]
mov r0, r6
str r1, [sp]
mov.w r1, 0x200
str.w sb, [sp, 0x1c]
blx sym.imp.__snprintf_chk
mov r1, r6
mov r4, r0
[*] Function printf used 3 times createsession.cgi