Skip to content

Instantly share code, notes, and snippets.

@lattice0
Last active March 28, 2024 06:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lattice0/c23561ff62af5647c4ac0f3d8d26a739 to your computer and use it in GitHub Desktop.
Save lattice0/c23561ff62af5647c4ac0f3d8d26a739 to your computer and use it in GitHub Desktop.
Vstarcam raspberry pi IP finder and HTTP port
#Give an IP address in the range of the camera to the eth0 interface
sudo ip address add 192.168.1.133/24 dev eth0
#First, scan the eth0 interface to find all the IPs connected to it
nmap -e eth0 192.168.1.0/24
#Now that you found the camera's IP, scan which ports are open to find the HTTP port (suupose the IP is ...189)
nmap -e eth0 192.168.1.104 -p 0-65535
#SSH and foward the HTTP port of the discovered camera
ssh -L 8080:192.168.1.189:port ...
#FAST wireless port scan for a given IP
nmap -p0-65535 192.168.1.198 -T5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment