Remote access is a command line interface that enables accessing other devices in your private network.
- Python
- TCP
- Sockets
- AF_INET
- Flask
- Clone repo
- change the host host in flask.py to the ip that was granted by your router.
to get this ip you should type in windows:
C:\Users> ipconfig
in linux:
moody@DESKTOP-Q65T2QS:/mnt/c$ ip a | grep 192.168
something like this will pop up
when you find it change this line in flask.py:
app.run(host="192.168.137.1")
before connecting from the other device using this script phoneClient.py, run the socket server using server.py change the ip var in phoneClient.py to the one you found.
ip = "192.168.137.1" #in my case it would be.
run phoneClient.py from your other device.
Now you can execute commands remotely.
You should be connected to the same network you dummy