Ask Your Question

Revision history [back]

Saving, opening, and viewing a .jpg from an TCP stream over FTP

Hello everyone,

I need help extracting a jpeg image from a TCP stream. In the capture, the image was sent over FTP, which makes this much more complicated. Here is the text of the TCP stream:

220-FileZilla Server 0.9.59 beta 220-written by Tim Kosse ([email protected]) 220 Please visit https://filezilla-project.org/ AUTH TLS 502 Explicit TLS authentication not allowed AUTH SSL 502 Explicit TLS authentication not allowed USER admin 331 Password required for admin PASS goats_123 230 Logged on CWD / 250 CWD successful. "/" is current directory. TYPE I 200 Type set to I PASV 227 Entering Passive Mode (192,168,19,225,243,129) STOR Cat-inside-Computer.jpg 150 Opening data channel for file upload to server of "/Cat-inside-Computer.jpg" 226 Successfully transferred "/Cat-inside-Computer.jpg"

So as you can see, the file I want to extract and view is called "Cat-insideCumputer.jpg." How do I do this? What file extension do I give the file? How do I just extract data from port 20? Every time I save the stream as a .jpg file, it does not let me view anything. I am doing this on a Windows 10 computer.

So in essence, I'm just trying to look at a jpeg image from an FTP packet capture.

Thank you.

Saving, opening, and viewing a .jpg from an TCP stream over FTP

Hello everyone,

I need help extracting a jpeg image from a TCP stream. In the capture, the image was sent over FTP, which makes this much more complicated. Here is the text of the TCP stream:

220-FileZilla Server 0.9.59 beta
220-written by Tim Kosse ([email protected])
220 Please visit https://filezilla-project.org/
AUTH TLS
502 Explicit TLS authentication not allowed
AUTH SSL
502 Explicit TLS authentication not allowed
USER admin
331 Password required for admin
PASS goats_123
230 Logged on
CWD /
250 CWD successful. "/" is current directory.
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,19,225,243,129)
STOR Cat-inside-Computer.jpg
150 Opening data channel for file upload to server of "/Cat-inside-Computer.jpg"
226 Successfully transferred "/Cat-inside-Computer.jpg"

"/Cat-inside-Computer.jpg"

So as you can see, the file I want to extract and view is called "Cat-insideCumputer.jpg." How do I do this? What file extension do I give the file? How do I just extract data from port 20? Every time I save the stream as a .jpg file, it does not let me view anything. I am doing this on a Windows 10 computer.

So in essence, I'm just trying to look at a jpeg image from an FTP packet capture.

Thank you.