mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
Merge pull request #1034 from 0xSebin/master
added ffplay command to view RTSP stream
This commit is contained in:
commit
7fbd86bb1d
@ -57,6 +57,15 @@ Lets get information about valid methods and URLs are supported and try to brute
|
||||
nmap -sV --script "rtsp-*" -p <PORT> <IP>
|
||||
```
|
||||
|
||||
#### 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://<IP>/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 `<IP>` and path as needed
|
||||
|
||||
### [Brute Force](../generic-hacking/brute-force.md#rtsp)
|
||||
|
||||
### **Other useful programs**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user