rardecode icon indicating copy to clipboard operation
rardecode copied to clipboard

A go package for reading RAR archives.

Results 15 rardecode issues
Sort by recently updated
recently updated
newest added

Hi, thank you for the project! Wondering if there are some interest in exporting error sentinels as public here. 🙏 I know this was requested at #28 , we also...

Is there a way to list the files contained inside an encrypted RAR archive without providing the password? Looking for methods or workarounds to view the file names without decrypting...

Hello! I want to try multiple passwords. Can I talk you into exporting [these variables](https://github.com/nwaples/rardecode/blob/434b4a38896d211779c5cc5e5933c9da424a5a21/archive50.go#L59-L61)? Then I can use `errors.Is()` to check for `rardecode.ErroBadPassword`. Thank you!

I have a bunch of rar files that are (apparently) RAR4. Most of them fail to extract with `rardecode` with a `unsupported decoder version`. Adding some print statements shows that...

This came up using trufflehog to scan a large number of repositories. I'm not sure of the file that caused this panic. I also haven't been able to reproduce the...

The problem is fairly easy... If you loop over the same open archive with Next multiple times ( lets say the first time to find all the file names, the...

When unpacking `Cscan(.net_2x_3x).exe` from https://github.com/k8gege/K8tools/blob/master/K8Cscan5.4_20191101.rar, rardecode panics in decodeSymbol2, line 805: `for m.charMask[states[i].sym] == m.escCount {` Apparently `i` equals `len(states)` (both 22), causing the issue. If there is any further...

It would be useful if the [Reader struct](https://github.com/nwaples/rardecode/blob/master/reader.go#L264) implemented the `ReadSeeker` interface. This would come in handy when trying to serve RAR files over HTTP with [http.ServeContent](https://golang.org/pkg/net/http/#ServeContent). This is useful...

https://github.com/nwaples/rardecode/blob/e2fa07408d4b19ae0500efbcc6983863c95f821e/ppm_model.go#L805 panic: runtime error: index out of range [256] with length 256