-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathegg-endlessh.json
62 lines (62 loc) · 3.05 KB
/
egg-endlessh.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-03-30T19:16:44+02:00",
"name": "Endlessh",
"author": "[email protected]",
"description": "Egg for the open source SSH tarpit \"Endlessh\" - https:\/\/github.com\/skeeto\/endlessh\r\n\r\nMost effective if you change your hosts actual SSH port and let Endlessh run on the default SSH port (22).",
"features": null,
"docker_images": {
"ghcr.io\/pterodactyl\/yolks:alpine": "ghcr.io\/pterodactyl\/yolks:alpine"
},
"file_denylist": [],
"startup": ".\/endlessh -p {{SERVER_PORT}} -d {{DELAY}} -l {{LINE_LENGTH}} -m {{MAX_CLIENTS}} -v",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Port\",\r\n \"userInteraction\": []\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/ash\r\n\r\n## install required packages \r\napk update\r\napk add --no-cache build-base git \r\n\r\n## download files\r\necho -e \"running: git clone https:\/\/github.com\/skeeto\/endlessh.git\"\r\ngit clone https:\/\/github.com\/skeeto\/endlessh.git\r\n\r\n## build programm\r\ncd endlessh\r\necho -e \"running: make\"\r\nmake\r\n\r\n## create server directory if it does not exist\r\n[ ! -d \"\/mnt\/server\" ] && mkdir \/mnt\/server\r\n\r\n## move programm to server home\r\nmv endlessh \/mnt\/server\/\r\n\r\necho -e \"\"\r\necho -e \" Install complete.\"\r\necho -e \"\"",
"container": "alpine:latest",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Message millisecond delay",
"description": "The endless banner is sent one line at a time. This is the delay in milliseconds between individual lines.",
"env_variable": "DELAY",
"default_value": "10000",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
},
{
"name": "Maximum banner line length",
"description": "The length of each line is randomized. This controls the maximum length of each line. Shorter lines may keep clients on for longer if they give up after a certain number of bytes.",
"env_variable": "LINE_LENGTH",
"default_value": "32",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer|between:3,255",
"field_type": "text"
},
{
"name": "Maximum number of clients",
"description": "Maximum number of connections to accept at a time. Connections beyond this are not immediately rejected, but will wait in the queue.",
"env_variable": "MAX_CLIENTS",
"default_value": "4096",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
}
]
}