From 9bb539e05dbccba88f94dedc644f6169167d5abb Mon Sep 17 00:00:00 2001 From: thinkimlost Date: Tue, 31 Mar 2026 09:17:45 +0400 Subject: [PATCH 1/4] Added support for Redrose. --- src/detection/os/os_linux.c | 6 +++++- src/logo/ascii/redrose.txt | 17 +++++++++++++++++ src/logo/builtin.c | 11 +++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100755 src/logo/ascii/redrose.txt diff --git a/src/detection/os/os_linux.c b/src/detection/os/os_linux.c index f9c5869eee..19769394ae 100644 --- a/src/detection/os/os_linux.c +++ b/src/detection/os/os_linux.c @@ -345,5 +345,9 @@ void ffDetectOSImpl(FFOSResult* os) { ffStrbufSetS(&os->idLike, "linuxmint"); } } + else if(ffStrbufEqualS(&os->id, "redrose")) + { + ffStrbufSetStatic(&os->idLike, "redrose"); + } #endif -} +} \ No newline at end of file diff --git a/src/logo/ascii/redrose.txt b/src/logo/ascii/redrose.txt new file mode 100755 index 0000000000..6d483325ae --- /dev/null +++ b/src/logo/ascii/redrose.txt @@ -0,0 +1,17 @@ + $1xxrjr ftttt + $1xxxxxjjfffft + $1xxxxxxxjjjjj + $1xxxxxxxjjjjj + $1xxxxxxxxxnxx + $1xxxxxxxn + $2[[ + $2//// $2[[ + $2//// $2[[ + $2///////[[ + $2/////]] + $2[[ + $2[[ + $2[[ + $2[[ + $2[[ + $2[] \ No newline at end of file diff --git a/src/logo/builtin.c b/src/logo/builtin.c index 7a53a49d1a..f523269a06 100644 --- a/src/logo/builtin.c +++ b/src/logo/builtin.c @@ -4232,6 +4232,17 @@ static const FFlogo R[] = { .colorKeys = FF_COLOR_FG_RED, .colorTitle = FF_COLOR_FG_RED, }, + // Redrose Linux + { + .names = {"redrose"}, + .lines = FASTFETCH_DATATEXT_LOGO_REDROSE, + .colors = { + FF_COLOR_FG_RED, + FF_COLOR_FG_GREEN, + }, + .colorKeys = FF_COLOR_FG_RED, + .colorTitle = FF_COLOR_FG_RED, + }, // Refracta { .names = {"Refracta"}, From 5c6454336bb21cc6d0adaa8331811118e193610a Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 23 Apr 2026 02:14:11 -0500 Subject: [PATCH 2/4] Remove 'redrose' OS identification logic --- src/detection/os/os_linux.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/detection/os/os_linux.c b/src/detection/os/os_linux.c index 19769394ae..f9c5869eee 100644 --- a/src/detection/os/os_linux.c +++ b/src/detection/os/os_linux.c @@ -345,9 +345,5 @@ void ffDetectOSImpl(FFOSResult* os) { ffStrbufSetS(&os->idLike, "linuxmint"); } } - else if(ffStrbufEqualS(&os->id, "redrose")) - { - ffStrbufSetStatic(&os->idLike, "redrose"); - } #endif -} \ No newline at end of file +} From b014251567ffedc85cfa47d9e65200cc32dbfdb0 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 23 Apr 2026 02:18:06 -0500 Subject: [PATCH 3/4] Remove dollar signs from ASCII art in redrose.txt --- src/logo/ascii/redrose.txt | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/logo/ascii/redrose.txt b/src/logo/ascii/redrose.txt index 6d483325ae..316c695f6b 100755 --- a/src/logo/ascii/redrose.txt +++ b/src/logo/ascii/redrose.txt @@ -1,17 +1,17 @@ - $1xxrjr ftttt - $1xxxxxjjfffft - $1xxxxxxxjjjjj - $1xxxxxxxjjjjj - $1xxxxxxxxxnxx - $1xxxxxxxn - $2[[ - $2//// $2[[ - $2//// $2[[ - $2///////[[ - $2/////]] - $2[[ - $2[[ - $2[[ - $2[[ - $2[[ - $2[] \ No newline at end of file + xxrjr ftttt + xxxxxjjfffft + xxxxxxxjjjjj + xxxxxxxjjjjj + xxxxxxxxxnxx + xxxxxxxn + $2[[ +//// [[ +//// [[ +///////[[ + /////]] + [[ + [[ + [[ + [[ + [[ + [] From dafdcc08e13876610fe226f70ff8109b5b8a3d57 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 23 Apr 2026 02:18:42 -0500 Subject: [PATCH 4/4] Update logo name from 'redrose' to 'Redrose' --- src/logo/builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logo/builtin.c b/src/logo/builtin.c index f523269a06..92a7cb63bf 100644 --- a/src/logo/builtin.c +++ b/src/logo/builtin.c @@ -4232,9 +4232,9 @@ static const FFlogo R[] = { .colorKeys = FF_COLOR_FG_RED, .colorTitle = FF_COLOR_FG_RED, }, - // Redrose Linux + // Redrose { - .names = {"redrose"}, + .names = {"Redrose"}, .lines = FASTFETCH_DATATEXT_LOGO_REDROSE, .colors = { FF_COLOR_FG_RED,