mirror of
https://github.com/skeeto/endlessh.git
synced 2025-12-08 22:23:23 +00:00
Reduce line line length
If clients have a maximum banner size, this will help to keep them around for longer.
This commit is contained in:
@@ -141,7 +141,7 @@ check(int r)
|
||||
static int
|
||||
randline(char *line)
|
||||
{
|
||||
int len = 2 + rand() % 251;
|
||||
int len = 3 + rand() % 61;
|
||||
for (int i = 0; i < len - 2; i++)
|
||||
line[i] = 32 + rand() % 95;
|
||||
line[len - 2] = 13;
|
||||
|
||||
Reference in New Issue
Block a user