Skip to content

Commit

Permalink
Merge pull request fkie-cad#25 from m-1-k-3/master
Browse files Browse the repository at this point in the history
exit code fix
  • Loading branch information
p4cx authored Jan 14, 2021
2 parents e05a2ce + daf26c9 commit d2c3ad7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions config/bin_version_strings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ netstat-nat:strict:"Version\ [0-9]\.[0-9]\.[0-9][0-9]"
netstat::"netstat\ [0-9]\.[0-9][0-9]"
net-tools::"net-tools\ [0-9]\.[0-9][0-9]"
nmbd:strict:"Version\ [0-9]\.[0-9]\.[0-9][0-9]"
ntfs-3g::"ntfs-3g\ 20[0-9][0-9]\.[0-9]\.[0-9][0-9]\ integrated\ FUSE\ 27\ -\ Third\ Generation\ NTFS\ Driver"
ntfs-3g::"ntfs-3g\ [0-9][0-9][0-9][0-9]\.[0-9]\.[0-9][0-9]\ integrated\ FUSE\ 27"
ntfs-3g::"ntfs-3g\ [0-9][0-9][0-9][0-9]\.[0-9][0-9]\.[0-9]\ integrated\ FUSE\ 27"
ntfsck::"ntfsck\ [0-9][0-9][0-9][0-9]\.[0-9]\.[0-9][0-9]"
ntpdate::"ntpdate\ [0-9]\.[0-9]\.[0-9]$"
ntpdate::"ntpdate\ [0-9]\.[0-9]\.[0-9][a-z][0-9]"
Expand Down Expand Up @@ -224,7 +225,7 @@ udhcpc::"udhcpcd,\ version\ [0-9]\.[0-9]\.[0-9]"
ulogd::"ulogd\ Version\ [0-9]\.[0-9][0-9]"
ult::"XLINK\ v[0-9][0-9]\.[0-9]\ "
usb-modeswitch:strict:"Version\ [0-9]\.[0-9]\.[0-9][0-9]"
usb_modeswitch::"Version\ [0-9]\.[0-9]\.[0-9]\ (C)\ Josua\ Dietze\ "
usb_modeswitch:strict:"Version\ [0-9]\.[0-9]\.[0-9]\ (C)\ Josua\ Dietze\ "
util-linux-ng::"util-linux-ng\ [0-9]\.[0-9][0-9]\.[0-9]"
util::"util-linux\ [0-9]\.[0-9][0-9]\.[0-9]"
utmdaemon:strict:"version\ [0-9]\.[0-9]"
Expand Down
4 changes: 1 addition & 3 deletions emba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,10 @@ main()
write_grep_log "$(date)" "TIMESTAMP"
write_grep_log "$(date -d@$SECONDS -u +%H:%M:%S)" "DURATION"
else
#print_output "\\n" "no_log"
print_output "[!] No extracted firmware found" "no_log"
print_output "$(indent "Try using binwalk or something else to extract the Linux operating system")" "no_log"
#exit 1
exit 1
fi
exit 1
}

main "$@"

0 comments on commit d2c3ad7

Please sign in to comment.