can i use wireshark to know the data sent between a computer and a printer?
as the title says
as the title says
If the computer is communicating with the printer over a network, such as a local-area network (Ethernet, Wi-FI) or (less likely, but not impossible) over a wide-area network such as the Internet, then, if you run Wireshark on the computer, it should be able to capture the network traffic to the printer.
That traffic might be encrypted, in which case you would need to be able to decrypt the traffic in order to see the data being sent between the computer and the printer. Wireshark can decrypt some traffic, but would need additional information in order to decrypt it.
If the printer is locally attached over USB, then, if Wireshark can capture raw USB traffic (which it can on some operating systems, with varying levels of difficulty), it may be able to show you the traffic between the computer and the printer.
While you can sniff USB traffic with an extension it has a number of drawbacks that make it clear you should not use this on most computers.
While you can sniff USB traffic with an extension
An extension is required only oil Windows. and the Wireshark installer allows the USBPcap extcap to be installed.
On those UN*Xes that support USB traffic capture - Linux, macOS, FreeBSD - support is built into the OS. It may have to be configured on in Linux (a kernel extension might have to be loaded), and newer versions of macOS apparently require that you turn off System Integrity Protection to use it, but it's not an extension.
t has a number of drawbacks that make it clear you should not use this on most computers.
What are those drawbacks?
But if the usb is plugged from computer to printer, I need to have wireshark inside the computer right?
Right.
I cant get info with another computer
No, you can't. There might be hardware that you could connect the computer and printer to - think of it as like an Ethernet tap, but for USB - that might be able to capture the raw USB traffic.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2024-01-17 23:42:25 +0000
Seen: 874 times
Last updated: Jan 18