Benign lua Download

cerulean 1.7.3-1

References a public code-forge URLScript prints a CLI usage screen
SHA-2560e4737200aae01cdd512c086e3025b5cc57f0788d060fc8b4a418eeb52718132

Evidence

imports cerulean.options daemon.lua · lines 1–13
1:302… and _tl_compat.table or table
2
3local options = require("cerulean.options")
4local rewriter = require("cerulean.rewriter")
5
6local help = [[
7Reads framed format requests via stdin, writes framed responses to stdout.
8
9Every frame is line-framed with an explicit body length in bytes, even when
10the body is empty:
11 <KIND>\n<byte-len>\n<body-bytes>
12Requests:
13 FORMAT\n<n>\n<source-bytes> f …
PING/PONG protocol marker daemon.lua · lines 17–31
17:50…
18 ERR\n<n>\n<message-bytes> parse error or bad request
19 PONG\n0\n reply to PING
20Blank lines between frames are ignored.]]
21
⋯10 lines
Script prints a CLI usage screen cli.lua · lines 25–35
25:24… ite_err(text)
26 io.stderr:write(text)
27end
28
29local help_text = [[Usage: ceru [options] [files|dirs...]
30
31 A formatter for Teal source code.
32
33Options:
34 --check Check formatting; exit 1 if any file would be reformatted.
35 --indent <n> Indentation width …
Lua opens file in write mode cli.lua · lines 74–84
74:4… al function write_file(path, content)
75 local file, open_err = io.open(path, "w")
76 if not file then
77 return open_err
⋯7 lines
curl command names a remote HTTP(S) URL README.MD · lines 25–33
⋯5 lines
30
31```sh
32curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.5.2/mdbook-v0.5.2-x86_64-unknown-linux-gnu.tar.gz | tar -xz
33sudo mv mdbook /usr/local/bin/ …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.