Skip to content

Commit

Permalink
Merge pull request #601 from HoxhaEndri/namedpipe
Browse files Browse the repository at this point in the history
ignore named pipe
  • Loading branch information
HoxhaEndri committed Apr 27, 2023
2 parents 4436d6e + d07d5f0 commit 1672985
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/S115_usermode_emulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,10 @@ emulate_strace_run() {
fi
if [[ -n "$FILENAME_FOUND" ]]; then
write_log "[*] Copy file $ORANGE$FILENAME_FOUND$NC to $ORANGE$R_PATH$PATH_MISSING/$NC" "$LOG_FILE_STRACER"
cp -L "$FILENAME_FOUND" "$R_PATH""$PATH_MISSING" 2> /dev/null || true
OUTPUT=$(file "$FILENAME_FOUND" | cut -d ':' -f2)
if [[ "$OUTPUT" != *"(named pipe)" ]];then
cp -L "$FILENAME_FOUND" "$R_PATH""$PATH_MISSING" 2> /dev/null || true
fi
continue
else
# # disabled this for now - have to rethink this feature
Expand Down

0 comments on commit 1672985

Please sign in to comment.