Minimum working version

This commit is contained in:
Mo Langning
2024-04-05 07:05:21 +00:00
parent ee33c6e1b7
commit e7ba29df43
5 changed files with 187 additions and 3503 deletions
+52
View File
@@ -0,0 +1,52 @@
# Wordlist updaters
## Overview
The purpose of the scripts are to update wordlists from remote sources defined in sources.json.
A github action should check every hour to see if the update conditions are met, then updates accordingly
`status.json` is not meant to be edited in a pr.
## Format
Example sources.json
```json
[
{
"name": "Jwt secrets update",
"type": "file",
"source": "https://raw.githubusercontent.com/wallarm/jwt-secrets/master/jwt.secrets.list",
"output": "Passwords/scraped-JWT-secrets.txt",
"post_run_script": "",
"frequency": "3h"
}
]
```
All fields are required unless otherwise stated.
`name` is the name of the task.
`type` can be one of the following: `file, git_dir`.
`source` specify the remote location. If type is `git_dir`, the folder at that location will be cloned using git.
`frequency` is the update frequency. The script will use the `status.json` file to know when to update. Accepted units of time are `h,H` for hours and `d,D` for days. Frequency can be specified with only days or hours, or with both of them. Hours cannot be before days (`6h1d`)
`output` is the output file/dir the script will put the output in.
`post_run_script` is the script to be run after pulling the list successfully. This field is optional.
- - -
Example status.json
```json
{
"Jwt secrets update": {
"last_update" : 0
}
}
```