Skip to content

A program that allows you to upload another program to a folder in nextcloud/ftp/samba and have it run.

License

Notifications You must be signed in to change notification settings

Rillian-Grant/cloudAutorun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

cloudAutorun

A program that allows you to upload a program to a folder in nextcloud/ftp/samba and have it run.

Installation

Download the main.sh file and move it to /usr/bin or similar.

It does...

When you run it you need to pass it the path of a folder as an argument. It checks for folders that have a file called start.sh inside them and runs the start.sh file.

Serving seggestion

You can add a cron job Example: 1/* * * * * cloudautorun sharedFolder/run >> shredFolder/run/log.txt and remember to redirct all output to a log file. You can also use this with nextcloud. A nextcloud account with 2FA enabled is less likly to be attacked then ssh and you can use it to disable ssh when your not using it.

Future impovements

Enable a script to delete it's self. Enable to run scripts other then bash scripts.

About

A program that allows you to upload another program to a folder in nextcloud/ftp/samba and have it run.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages