-----------------------------------------------------------------
[*] Initial CPU detection process of binary htpasswd 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/bin/htpasswd with cpu config NONE
[-] Emulation process of binary htpasswd with CPU configuration failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 4Kc
[-] Emulation process of binary htpasswd with CPU configuration 4Kc failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 4Km
[-] Emulation process of binary htpasswd with CPU configuration 4Km failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 4KEcR1
[-] Emulation process of binary htpasswd with CPU configuration 4KEcR1 failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 4KEmR1
[-] Emulation process of binary htpasswd with CPU configuration 4KEmR1 failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 4KEc
[-] Emulation process of binary htpasswd with CPU configuration 4KEc failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 4KEm
[-] Emulation process of binary htpasswd with CPU configuration 4KEm failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 24Kc
[-] Emulation process of binary htpasswd with CPU configuration 24Kc failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 24KEc
[-] Emulation process of binary htpasswd with CPU configuration 24KEc failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 24Kf
[-] Emulation process of binary htpasswd with CPU configuration 24Kf failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 34Kf
[-] Emulation process of binary htpasswd with CPU configuration 34Kf failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config 74Kf
[-] Emulation process of binary htpasswd with CPU configuration 74Kf failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config M14K
[-] Emulation process of binary htpasswd with CPU configuration M14K failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config M14Kc
[-] Emulation process of binary htpasswd with CPU configuration M14Kc failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config P5600
[-] Emulation process of binary htpasswd with CPU configuration P5600 failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config mips32r6-generic
[-] Emulation process of binary htpasswd with CPU configuration mips32r6-generic failed
[*] Trying to emulate binary ./usr/bin/htpasswd with cpu config I7200
[-] Emulation process of binary htpasswd with CPU configuration I7200 failed
-----------------------------------------------------------------
-----------------------------------------------------------------
[*] Initial CPU detection process of binary htpasswd 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 ./bin/htpasswd with cpu config 24KEc
1 brk(NULL) = 0x40014170
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6f0) = 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/libaprutil-1.so.0",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x3ff1d340) = 0
1 openat(AT_FDCWD,"/lib/libaprutil-1.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d484,512) = 512
1 prctl(46,1072813464,1072813188,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d340) = 0
1 mmap2(NULL,239312,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f78c000
1 mprotect(0x3f7b5000,65536,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x29) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libapr-1.so.0",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libapr-1.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d474,512) = 512
1 prctl(46,1072813480,1072813172,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d330) = 0
1 mmap2(NULL,301280,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f742000
1 mprotect(0x3f77b000,61440,PROT_NONE) = 0
1 mmap2(0x3f78a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x38) = 0x3f78a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d464,512) = 512
1 prctl(46,1072813560,1072813156,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d230,SEEK_SET) = 0
1 read(3,0x3ff1d260,32) = 32
1 fstat64(3,0x3ff1d320) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f715000
1 mprotect(0x3f72f000,61440,PROT_NONE) = 0
1 mmap2(0x3f73e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f73e000
1 mmap2(0x3f740000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f740000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcrypt.so.1",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libcrypt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813448,1072813140,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d220,SEEK_SET) = 0
1 read(3,0x3ff1d250,32) = 32
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,262716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6d4000
1 mprotect(0x3f6dd000,61440,PROT_NONE) = 0
1 mmap2(0x3f6ec000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3f6ec000
1 mmap2(0x3f6ee000,156220,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f6ee000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813560,1072813124,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d218,SEEK_SET) = 0
1 read(3,0x3ff1d248,32) = 32
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f54f000
1 mprotect(0x3f6bc000,61440,PROT_NONE) = 0
1 mmap2(0x3f6cb000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f6cb000
1 mmap2(0x3f6d2000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f6d2000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libexpat.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d374,512) = 512
1 prctl(46,1072813224,1072812916,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d230) = 0
1 mmap2(NULL,307440,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f503000
1 mprotect(0x3f53d000,61440,PROT_NONE) = 0
1 mmap2(0x3f54c000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x39) = 0x3f54c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libuuid.so.1",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libuuid.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d364,512) = 512
1 prctl(46,1072813240,1072812900,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d220) = 0
1 mmap2(NULL,94560,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4eb000
1 mprotect(0x3f4f2000,61440,PROT_NONE) = 0
1 mmap2(0x3f501000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f501000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813224,1072812884,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d128,SEEK_SET) = 0
1 read(3,0x3ff1d158,32) = 32
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f4e9000
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4d1000
1 mprotect(0x3f4d8000,61440,PROT_NONE) = 0
1 mmap2(0x3f4e7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f4e7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813176,1072812868,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d118,SEEK_SET) = 0
1 read(3,0x3ff1d148,32) = 32
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4be000
1 mprotect(0x3f4c0000,61440,PROT_NONE) = 0
1 mmap2(0x3f4cf000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f4cf000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f4bc000
1 set_thread_area(0x3f4c34a0) = 0
1 mprotect(0x3f6cb000,16384,PROT_READ) = 0
1 mprotect(0x3f4cf000,4096,PROT_READ) = 0
1 mprotect(0x3f73e000,4096,PROT_READ) = 0
1 mprotect(0x3f4e7000,4096,PROT_READ) = 0
1 mprotect(0x3f501000,4096,PROT_READ) = 0
1 mprotect(0x3f54c000,8192,PROT_READ) = 0
1 mprotect(0x3f6ec000,4096,PROT_READ) = 0
1 mprotect(0x3f78a000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40013000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f4bc078) = 1
1 set_robust_list(0x3f4bc080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd40,NULL) = 0
1 rt_sigaction(33,0x3ff1dd40,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd88,NULL,16) = 0
1 getrlimit(3,0x3ff1de10) = 0
1 brk(NULL) = 0x40014170
1 brk(0x40035170) = 0x40035170
1 brk(0x40036000) = 0x40036000
1 write(2,0x4001a200,1093)Usage:
htpasswd [-cimBdpsDv] [-C cost] passwordfile username
htpasswd -b[cmBdpsDv] [-C cost] passwordfile username password
htpasswd -n[imBdps] [-C cost] username
htpasswd -nb[mBdps] [-C cost] username password
-c Create a new file.
-n Don't update file; display results on stdout.
-b Use the password from the command line rather than prompting for it.
-i Read password from stdin without verification (for script usage).
-m Force MD5 encryption of the password (default).
-B Force bcrypt encryption of the password (very secure).
-C Set the computing time used for the bcrypt algorithm
(higher is more secure but slower, default: 5, valid: 4 to 17).
-d Force CRYPT encryption of the password (8 chars max, insecure).
-s Force SHA encryption of the password (insecure).
-p Do not encrypt the password (plaintext, insecure).
-D Delete the specified user.
-v Verify password for the specified user.
On other systems than Windows and NetWare the '-p' flag will probably not work.
The SHA algorithm does not use a salt and is less secure than the MD5 algorithm.
= 1093
1 brk(0x40035000) = 0x40035000
1 exit_group(2)
[+] CPU configuration used for htpasswd: 24KEc
CPU_CONFIG_det\KEc
-----------------------------------------------------------------