[+] Kernel Binary and Configuration Identifier
This module tries to identify the Linux kernel version and the init command line.
[*] Unique and limited file array generation for /logs/firmware (could take some time)
[+] Possible Linux Kernel found: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed
Linux version 5.10.52-axis9 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0.20220819) #1 PREEMPT Thu Jun 1 11:47:08 UTC 2023
[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed
init=/init.crash
[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed
init=/linuxrc
[*] Testing possible Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed with vmlinux-to-elf:
[+] Version string: Linux version 5.10.52-axis9 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0.20220819) #1 PREEMPT Thu Jun 1 11:47:08 UTC 2023
[+] Guessed architecture: armle successfully in 6.90 seconds
[+] Found kallsyms_token_table at file offset 0x008aad6c
[+] Found kallsyms_token_index at file offset 0x008ab0a0
[+] Found kallsyms_markers at file offset 0x008aabbc
[+] Found kallsyms_names at file offset 0x0085c7b8
[+] Found kallsyms_num_syms at file offset 0x0085c7b4
[i] Negative offsets overall: 0 %
[i] Null addresses overall: 0 %
[+] Found kallsyms_offsets at file offset 0x00841808
[+] Successfully wrote the new ELF kernel to /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed.elf
[+] Successfully generated Linux kernel elf file: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed.elf
[*] Trying to extract kernel configuration from /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed
[+] Possible Linux Kernel found: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed_extract/0-10671576.unknown
Linux version 5.10.52-axis9 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0.20220819) #1 PREEMPT Thu Jun 1 11:47:08 UTC 2023
[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed_extract/0-10671576.unknown
init=/init.crash
[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed_extract/0-10671576.unknown
init=/linuxrc
[*] Testing possible Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed_extract/0-10671576.unknown with vmlinux-to-elf:
[+] Version string: Linux version 5.10.52-axis9 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0.20220819) #1 PREEMPT Thu Jun 1 11:47:08 UTC 2023
[+] Guessed architecture: armle successfully in 5.98 seconds
[+] Found kallsyms_token_table at file offset 0x008aad6c
[+] Found kallsyms_token_index at file offset 0x008ab0a0
[+] Found kallsyms_markers at file offset 0x008aabbc
[+] Found kallsyms_names at file offset 0x0085c7b8
[+] Found kallsyms_num_syms at file offset 0x0085c7b4
[i] Negative offsets overall: 0 %
[i] Null addresses overall: 0 %
[+] Found kallsyms_offsets at file offset 0x00841808
[+] Successfully wrote the new ELF kernel to /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed_extract/0-10671576.unknown.elf
[+] Successfully generated Linux kernel elf file: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed_extract/0-10671576.unknown.elf
[*] Trying to extract kernel configuration from /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/boot/zImage-5.10.52-axis9_extract/17824-4253378.gzip_extract/gzip.uncompressed_extract/0-10671576.unknown