e-m-b-a / emba

EMBA - The firmware security analyzer
https://www.securefirmware.de
GNU General Public License v3.0
2.49k stars 223 forks source link

csv issues #1116 #1118

Closed m-1-k-3 closed 2 months ago

m-1-k-3 commented 2 months ago

Bug fix

see #1116

closes #1116

m-1-k-3 commented 2 months ago

@torabi12 please give it a try

torabi12 commented 2 months ago

f10_license_summary.csv first 2 lines:

binary/file;version_rule;version_detected;csv_rule;license;static/emulation;
/logs/firmware/unblob_extracted/firmware_extract/1022440-2925450.squashfs_v4_le_extract/bin/busybox;busybox;NA;busybox:1.19.4;NA;GPL-2.0-only;static;

p99_prepare_analyzer.csv first 2 lines:

BINARY;BINARY_CLASS;END_DATA;MACHINE-TYPE;BINARY_FLAGS;ARCH_GUESSED;ELF-DATA;MD5SUM;
/logs/firmware/unblob_extracted/firmware_extract/1022440-2925450.squashfs_v4_le_extract/usr/bin/lua;ELF32;2's complement, big endian;MIPS R3000;0x70001005,noreorder,cpic,o32,mips32r2;;ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, no section header;b410ffd29e45a033782cecce49b80ae6;

It works fine. :) Thank you.

torabi12 commented 2 months ago

I did a new scan with the latest master but the issue is available again:

kép

kép

f10_license_summary.csv p99_prepare_analyzer.csv

I used sudo ./emba -U before the test.

When I tested yesterday I did this:

$ git clone --branch master https://github.com/m-1-k-3/emba.git emba_csv $ cd emba_csv $ ln -s /home/seclab/emba/external ./external

and it was working fine.

I don't know what is wrong on my side now. :( I try again with a new installation...

torabi12 commented 2 months ago

Sorry but I got the same old behaviour with a new Kali and brand new emba installation again. Is it ok on your side?

m-1-k-3 commented 2 months ago

Something failed on the master branch. I will repair this soon

m-1-k-3 commented 2 months ago

https://github.com/e-m-b-a/emba/pull/1123