Skip to content

Commit

Permalink
Update bits-info.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Sep 27, 2024
1 parent fe6f7aa commit d6acbdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ main()
shell_name="$(printf '%s\n' "${shell_info:?}" | cut -d ' ' -f '1' || true)"

test -n "${shell_exe?}" && check_bitness_of_pe_file "${shell_exe:?}"
echo '---'
pidof $$
echo '---'

if test -n "${shell_exe?}" && tmp_var="$(hexdump 2> /dev/null -v -n 5 -e '/1 "%02x"' -- "${shell_exe:?}")" && test -n "${tmp_var?}" && printf '%s\n' "${tmp_var:?}" | grep -m 1 -q -e '^7f454c46'; then
Expand Down

0 comments on commit d6acbdb

Please sign in to comment.