News for hackers. Stuff that matters.
Re:Rga: Ripgrep, but also search in PDFs, E-Books, Office do... by traverseda on Tuesday September 17, 2024 @05:34PM (#41573066)
None of them really execute "code". Pandoc has a pretty good write up of the security implications or running it, which I think applies just as much to the other ones, with the added caveat of zip bombs.

https://pandoc.org/MANUAL.html#a-note-on-security

It's just text, this isn't ripgrepping through your excel macros, just the data that's actually in the excel file.

Re:Rga: Ripgrep, but also search in PDFs, E-Books, Office do... by maxerickson on Tuesday September 17, 2024 @06:59PM (#41573798)
I don't think there's a default excel adapter in rga.

(I wanted one somewhat recently, and then doing a find for xls on the linked page returns 0 results)

Re:Rga: Ripgrep, but also search in PDFs, E-Books, Office do... by lafrenierejm on Wednesday September 18, 2024 @01:47AM (#41576197)
You are correct that rga doesn't ship with an Excel adapter out of the box. I have an open PR [1] to allow users to process XLS and XLSX files like any other Zip archive.

[1]: https://github.com/phiresky/ripgrep-all/pull/247