From dc4602546f5990a38d5c8ec31bd9c90a0222fc9b Mon Sep 17 00:00:00 2001 From: Sebin Thomas Date: Mon, 7 Jul 2025 19:13:01 +0530 Subject: [PATCH] Update 554-8554-pentesting-rtsp.md added ffplay command to view RTSP stream --- .../554-8554-pentesting-rtsp.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/network-services-pentesting/554-8554-pentesting-rtsp.md b/src/network-services-pentesting/554-8554-pentesting-rtsp.md index 91f2dd25013..dee430aee18 100644 --- a/src/network-services-pentesting/554-8554-pentesting-rtsp.md +++ b/src/network-services-pentesting/554-8554-pentesting-rtsp.md @@ -57,6 +57,15 @@ Lets get information about valid methods and URLs are supported and try to brute nmap -sV --script "rtsp-*" -p ``` +#### Viewing the RTSP Stream with [ffplay](https://ffmpeg.org/ffplay.html) +Once you've discovered a valid RTSP path (e.g., `/mpeg4`, `/live.sdp`) and confirmed access (unauthenticated or with credentials), you can use `ffplay` to stream the feed: +```bash +ffplay -rtsp_transport tcp rtsp:///mpeg4 -x 2560 -y 1440 +``` +- `-rtsp_transport tcp`: Use TCP instead of UDP for more reliable streaming +- `-x`, `-y`: Optional flags to control video resolution +- Replace `` and path as needed + ### [Brute Force](../generic-hacking/brute-force.md#rtsp) ### **Other useful programs**