Command-line tool for dumping Class-files & Strings from arbitrary data
- Download the latest release for your platform
- Add the binary to your system-path
- Or just call the absolute path to it in the command line
cfs count input.bin
- Searches for classes inside the file input.bincfs count input-p1.bin input-p2.bin
- Searches for classes inside the two files input-p1.bin & input-p2.bincfs count *.bin
- Searches for classes in all files in the current path that end in .bin (non-recursive)cfs count dir/
- Searches for classes in the specified folder
cfs classes input.bin
- Searches for strings from classes inside the file input.bincfs classes input-p1.bin input-p2.bin
- Searches for strings from classes inside the two files input-p1.bin & input-p2.bincfs classes *.bin
- Searches for strings from classes in all files in the current path that end in .bin (non-recursive)cfs classes dir/
- Searches for strings from classes in the specified folder
cfs classes input.bin
- Searches for classes inside the file input.bincfs classes input-p1.bin input-p2.bin
- Searches for classes inside the two files input-p1.bin & input-p2.bincfs classes *.bin
- Searches for classes in all files in the current path that end in .bin (non-recursive)cfs classes dir/
- Searches for classes in the specified folder
- We search for all instances of 'CAFEBABE' and store the data between each file, assuming the files are stored back to back.
- We make the following assumptions:
- It's uncompressed data
- It's not lying to us when it says 'CAFEBABE'
- The files are stored back to back, I.E. each chunk of 'CAFEBABE' represents another class once reached.
- We're resistant to most obfuscation, but if you find something that breaks CFS feel free to report the issue.