-----------------------------------------------------------------

[*] Initial strace run with jchroot on the command ./usr/www/cgi-bin/hello.cgi to identify missing areas

[*] Emulating binary name: hello.cgi in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract (1/2)
[*] Using CPU config: 

1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffe6000
1 stat("/etc/ld.so.cache",0x4071ea28) = -1 errno=2 (No such file or directory)
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e124) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffe5000
1 read(3,0x3ffe5000,4096) = 4096
1 mmap(NULL,786432,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff25000
1 mmap(0x3ff25000,691264,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ff25000
1 mmap(0x3ffde000,4496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xa9000) = 0x3ffde000
1 mmap(0x3ffe0000,19628,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffe0000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 stat("/lib/ld-uClibc.so.0",0x4071ea18) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ff24000
1 set_thread_area(0x3ff2b460) = 0
1 open("/dev/urandom",O_RDONLY) = 3
1 read(3,0x4071ec28,4) = 4
1 close(3) = 0
1 ioctl(0,TCGETS,0x4071ea08) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071ea08) = -1 errno=25 (Inappropriate ioctl for device)
1 open("/tmp/www/SDPath",O_RDONLY|O_DIRECTORY|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 write(1,0x3ffe16a0,116)Content-type: text/html

<html>
<head><title>CGI Output</title></head>
<body>
<h1>OpenDir faile</h1>
<body>
</html>
 = 116
1 exit_group(0)

[*] Identification of missing filesytem areas.
[*] Found missing area: /tmp/www/SDPath
[*] Trying to identify this missing file: SDPath
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/tmp/www
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/tmp/www/SDPath

-----------------------------------------------------------------