Skip to content

Moody0101/RemoteAccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REMOTE ACCESS

Description:

Remote access is a command line interface that enables accessing other devices in your private network.

Used technologies

  • Python
  • TCP
  • Sockets
  • AF_INET
  • Flask

How to use ?

Steps

  • 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

IPV4

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