Ask Your Question
0

Unable to write to standard output: The pipe is being closed.

asked 2025-11-06 18:30:53 +0000

phat gravatar image

I got an error when capturing packets with Wireshark on EVE as follows "Unable to write to standard output: The pipe is being closed". Please help me!!! Error image link: https://drive.google.com/file/d/1o8cI...

edit retag flag offensive close merge delete

Comments

Can you provide more detail of your capture system. Also add output of wireshark -v.

Chuckc gravatar imageChuckc ( 2025-11-07 01:45:25 +0000 )edit

Also, you need to provide access to this screenshot, 'cause no one other than you can see it.

Jaap gravatar imageJaap ( 2025-11-07 14:53:54 +0000 )edit

I have given permission, please help me

phat gravatar imagephat ( 2025-11-07 16:20:02 +0000 )edit

The wireshark_wrapper.bat file looks like this:

@echo OFF
SET USERNAME="root"
SET PASSWORD="dnl@123"

SET S=%1
SET S=%S:capture://=%
FOR /f "tokens=1,2 delims=/ " %%a IN ("%S%") DO SET HOST=%%a&SET INT=%%b
IF "%INT%" == "pnet0" SET FILTER=" not port 22"

ECHO "Connecting to %USERNAME%@%HOST%..."

"C:\Program Files\EVE-NG\plink.exe" -ssh -batch -pw %PASSWORD% %USERNAME%@%HOST% "tcpdump -U -i %INT% -s 0 -w -%FILTER%" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -
phat gravatar imagephat ( 2025-11-07 16:22:04 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2025-11-07 18:19:35 +0000

Chuckc gravatar image

updated 2025-11-07 18:22:46 +0000

"Unable to write to standard output: The pipe is being closed"

Error message is from plink. See:
Remote ssh capture does not work on Windows 10
Error Piping to Wireshark with Plink.exe

If you installed the extcap interfaces with Wireshark, maybe use the sshdump interface in the gui or from the command line as shown in the man page.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2025-11-06 18:30:53 +0000

Seen: 43 times

Last updated: Nov 07