Skip to content

filipnaudot/SRAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRAT

SRAT is a very simple remote acces tool capable of remote command execution aswell as file upload and download.

Build Instructions

To build simply execute make. This will build both out/local and out/remote.

If you only wish to build one of these you can execute

make local

or

make remote

To clean out and obj execute

make clean

Run SRAT

To run SRAT start by executing

./out/remote [PORT]

this will start remote and by defult it will listen on port 8080 for new connections. The next step is to run out/local and give it the remote IP-address and port to connect to.

./out/local <IP> <PORT>

Now everything sent will be executed as a command on the remote machine. Additional functionality is documented under Commands.

Commands

Command Description
get <filename> Download a file from remote
put <filename> Upload a file to remote

Limitations

  • Directory of remote is not updated. To list file in subdrectory you need to run something like:
cd ./dir_name && ls
  • Until serialization is fixed you may experiance bugs.

TODO

  • Refactor!
  • Serialize data packets
  • More error handling
  • Add encryption

About

SRAT - Simple Remote Acces Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published