-----------------------------------------------------------------
[*] Initial CPU detection process of binary lightcontrol.cgi with CPU configuration .
[*] Emulator used: qemu-mipsel-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract (1/2)
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config NONE
[-] Emulation process of binary lightcontrol.cgi with CPU configuration failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 4Kc
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 4Kc failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 4Km
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 4Km failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 4KEcR1
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 4KEcR1 failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 4KEmR1
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 4KEmR1 failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 4KEc
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 4KEc failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 4KEm
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 4KEm failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 24Kc
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 24Kc failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 24KEc
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 24KEc failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 24Kf
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 24Kf failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 34Kf
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 34Kf failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config 74Kf
[-] Emulation process of binary lightcontrol.cgi with CPU configuration 74Kf failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config M14K
[-] Emulation process of binary lightcontrol.cgi with CPU configuration M14K failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config M14Kc
[-] Emulation process of binary lightcontrol.cgi with CPU configuration M14Kc failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config P5600
[-] Emulation process of binary lightcontrol.cgi with CPU configuration P5600 failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config mips32r6-generic
[-] Emulation process of binary lightcontrol.cgi with CPU configuration mips32r6-generic failed
[*] Trying to emulate binary ./usr/html/axis-cgi/lightcontrol.cgi with cpu config I7200
[-] Emulation process of binary lightcontrol.cgi with CPU configuration I7200 failed
-----------------------------------------------------------------
-----------------------------------------------------------------
[*] Initial CPU detection process of binary lightcontrol.cgi with CPU configuration 24KEc.
[*] Emulator used: qemu-mipsel-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr (2/2)
[*] Trying to emulate binary ./html/axis-cgi/lightcontrol.cgi with cpu config 24KEc
1 brk(NULL) = 0x400161a0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d670) = 0
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/liblightlogic.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d404,512) = 512
1 prctl(46,1072813336,1072813060,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2c0) = 0
1 mmap2(NULL,94480,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7af000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libaxcgijson.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3f4,512) = 512
1 prctl(46,1072813320,1072813044,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2b0) = 0
1 mmap2(NULL,78048,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f79b000
1 mprotect(0x3f79e000,61440,PROT_NONE) = 0
1 mmap2(0x3f7ad000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f7ad000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3e4,512) = 512
1 prctl(46,1072813336,1072813028,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2a0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f667000
1 mprotect(0x3f788000,61440,PROT_NONE) = 0
1 mmap2(0x3f797000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f797000
1 mmap2(0x3f79a000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f79a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libjansson.so.4",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3d4,512) = 512
1 prctl(46,1072813288,1072813012,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d290) = 0
1 mmap2(NULL,119392,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f649000
1 mprotect(0x3f656000,61440,PROT_NONE) = 0
1 mmap2(0x3f665000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xc) = 0x3f665000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3c4,512) = 512
1 prctl(46,1072813432,1072812996,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d198,SEEK_SET) = 0
1 read(3,0x3ff1d1c8,32) = 32
1 fstat64(3,0x3ff1d280) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4c4000
1 mprotect(0x3f631000,61440,PROT_NONE) = 0
1 mmap2(0x3f640000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f640000
1 mmap2(0x3f647000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f647000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgio-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813112,1072812804,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,1990784,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2dd000
1 mprotect(0x3f4ad000,61440,PROT_NONE) = 0
1 mmap2(0x3f4bc000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f4bc000
1 mmap2(0x3f4c2000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f4c2000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813064,1072812788,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f270000
1 mprotect(0x3f2cb000,65536,PROT_NONE) = 0
1 mmap2(0x3f2db000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f2db000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2e4,512) = 512
1 prctl(46,1072813176,1072812772,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d0b0,SEEK_SET) = 0
1 read(3,0x3ff1d0e0,32) = 32
1 fstat64(3,0x3ff1d1a0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f26e000
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f241000
1 mprotect(0x3f25b000,61440,PROT_NONE) = 0
1 mmap2(0x3f26a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f26a000
1 mmap2(0x3f26c000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f26c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libaxlog.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2d4,512) = 512
1 prctl(46,1072813032,1072812756,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d190) = 0
1 mmap2(NULL,73920,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f22e000
1 mprotect(0x3f230000,61440,PROT_NONE) = 0
1 mmap2(0x3f23f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f23f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2c4,512) = 512
1 prctl(46,1072813016,1072812740,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d180) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1a8000
1 mprotect(0x3f21d000,61440,PROT_NONE) = 0
1 mmap2(0x3f22c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f22c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libgmodule-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d204,512) = 512
1 prctl(46,1072812824,1072812548,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0c0) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f194000
1 mprotect(0x3f197000,61440,PROT_NONE) = 0
1 mmap2(0x3f1a6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f1a6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1f4,512) = 512
1 prctl(46,1072812840,1072812532,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0b0) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f16d000
1 mprotect(0x3f182000,65536,PROT_NONE) = 0
1 mmap2(0x3f192000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f192000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1e4,512) = 512
1 prctl(46,1072812824,1072812516,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cfa8,SEEK_SET) = 0
1 read(3,0x3ff1cfd8,32) = 32
1 fstat64(3,0x3ff1d0a0) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f148000
1 mprotect(0x3f15a000,61440,PROT_NONE) = 0
1 mmap2(0x3f169000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f169000
1 mmap2(0x3f16b000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f16b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1d4,512) = 512
1 prctl(46,1072812808,1072812500,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d090) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f130000
1 mprotect(0x3f137000,61440,PROT_NONE) = 0
1 mmap2(0x3f146000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f146000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/../glib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1c4,512) = 512
1 prctl(46,1072812792,1072812484,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cf80,SEEK_SET) = 0
1 read(3,0x3ff1cfb0,32) = 32
1 fstat64(3,0x3ff1d080) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f12e000
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f11b000
1 mprotect(0x3f11d000,61440,PROT_NONE) = 0
1 mmap2(0x3f12c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f12c000
1 close(3) = 0
1 set_thread_area(0x3f136860) = 0
1 mprotect(0x3f640000,16384,PROT_READ) = 0
1 mprotect(0x3f12c000,4096,PROT_READ) = 0
1 mprotect(0x3f146000,4096,PROT_READ) = 0
1 mprotect(0x3f169000,4096,PROT_READ) = 0
1 mprotect(0x3f192000,4096,PROT_READ) = 0
1 mprotect(0x3f26a000,4096,PROT_READ) = 0
1 mprotect(0x3f22c000,4096,PROT_READ) = 0
1 mprotect(0x3f797000,4096,PROT_READ) = 0
1 mprotect(0x3f1a6000,4096,PROT_READ) = 0
1 mprotect(0x3f23f000,4096,PROT_READ) = 0
1 mprotect(0x3f2db000,4096,PROT_READ) = 0
1 mprotect(0x3f4bc000,12288,PROT_READ) = 0
1 mprotect(0x3f665000,4096,PROT_READ) = 0
1 mprotect(0x3f7ad000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40015000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f12f438) = 1
1 set_robust_list(0x3f12f440,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dcc0,NULL) = 0
1 rt_sigaction(33,0x3ff1dcc0,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd08,NULL,16) = 0
1 getrlimit(3,0x3ff1dd90) = 0
1 brk(NULL) = 0x400161a0
1 brk(0x400371a0) = 0x400371a0
1 brk(0x40038000) = 0x40038000
1 gettimeofday(0x3ff1dcc8,NULL) = 0 ({tv_sec = 1689943202,tv_usec = 200089},NULL)
1 syscall(4238,1064935116,129,2147483647,0,0)1 futex(0x3f799ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1064935116,129,2147483647,0,1059965440)1 futex(0x3f799ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f2dca00,1059965440) = 0
= 0
1 openat(AT_FDCWD,"/dev/urandom",O_RDONLY) = 3
1 read(3,0x3ff1db38,4) = 4
1 close(3) = 0
1 fstat64(1,0x3ff1d688) = 0
1 write(1,0x4001cf08,187)Status: 200 OK
Content-Type: application/json
{"apiVersion": "1.1", "method": "unknown", "error": {"code": 2002, "message": "HTTP request type not supported. Only POST supported."}}
= 187
1 exit_group(0)
[+] CPU configuration used for lightcontrol.cgi: 24KEc
CPU_CONFIG_det\KEc
-----------------------------------------------------------------