Skip to content

Commit 40e22d5

Browse files
authored
Merge pull request #1034 from 0xSebin/master
added ffplay command to view RTSP stream
2 parents 3a210ea + bc27441 commit 40e22d5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/network-services-pentesting/554-8554-pentesting-rtsp.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@ Lets get information about valid methods and URLs are supported and try to brute
5757
nmap -sV --script "rtsp-*" -p <PORT> <IP>
5858
```
5959

60+
#### Viewing the RTSP Stream with [ffplay](https://ffmpeg.org/ffplay.html)
61+
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:
62+
```bash
63+
ffplay -rtsp_transport tcp rtsp://<IP>/mpeg4 -x 2560 -y 1440
64+
```
65+
- `-rtsp_transport tcp`: Use TCP instead of UDP for more reliable streaming
66+
- `-x`, `-y`: Optional flags to control video resolution
67+
- Replace `<IP>` and path as needed
68+
6069
### [Brute Force](../generic-hacking/brute-force.md#rtsp)
6170

6271
### **Other useful programs**

0 commit comments

Comments
 (0)