everybody. I need to enclosure a text block into big square brackets. Something like this (I need to replicate it, more or less):

I've read that it could be possible with tikz but I don't know anything about that package. Even, I found a code that reproduce something similar but with braces in this post: Adding a large brace next to a body of text The code is this:
\documentclass{article}
\usepackage{lipsum}
\usepackage[many]{tcolorbox}
\usetikzlibrary{decorations.pathreplacing}
\newtcolorbox{rightbrace}{%
enhanced jigsaw,
breakable, % allow page breaks
frame hidden, % hide the default frame
overlay={%
\draw [
fill=none, % fill paper
decoration={brace,amplitude=0.5em},
decorate,
ultra thick,
gray,
]
% right line
(frame.north east)--(frame.south east);
},
% paragraph skips obeyed within tcolorbox
parbox=false,
}
\begin{document}
\begin{itemize}
\item First line
\begin{rightbrace}
\item Second line
\item Third line, which is quite long and seemingly tedious in the extreme
\item Fourth line, which isn't as long as the third
\end{rightbrace}
\item Fifth line
\end{itemize}
\begin{rightbrace}
\lipsum[1]
\end{rightbrace}
\lipsum[2]
\end{document}
How could I put the square brackets around a block of text? (Using tikz, tcolobox or whatever package then can be useful for it).
Thanks for your help.
