Cleaning tmp

This commit is contained in:
2022-04-27 15:25:51 +02:00
parent 46b68a17b8
commit 9c090991c0
2 changed files with 60 additions and 9 deletions

View File

@ -6,16 +6,17 @@ This too has several functions:
## To-Do
* Auto-clean files/tmp/ folder
* Prettier code
* Only update once per day, except if `-u` `--update`
* Adding more services to listen to ?
## Dependencies
## Pre-requisites
* requests python module
* rpmfile python module
* impacket smbserver.py must be in PATH
## Usage
[Create a Github personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token), and create the file `credz.json`:
@ -33,3 +34,8 @@ This too has several functions:
Simply add the informations to [config.json](./config.json), for a release set "local_version" to a random value and run the script.
The file is gonna be automatically downloaded.
## Share a file temporarly
You can add a file you wish to share once in `files/tmp`.
Every time you start the script, you will be asked if you want to clear the folder (if not empty).