https://github.com/anopensaucedev/modscanner
Takes a .jar and scans for suspicious archives and binary files.
https://github.com/anopensaucedev/modscanner
Last synced: about 2 months ago
JSON representation
Takes a .jar and scans for suspicious archives and binary files.
- Host: GitHub
- URL: https://github.com/anopensaucedev/modscanner
- Owner: AnOpenSauceDev
- Created: 2024-05-19T06:20:17.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-19T08:13:43.000Z (about 2 years ago)
- Last Synced: 2025-12-07T22:05:23.778Z (6 months ago)
- Language: Java
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mod Scanning Manager
A small program that goes through a whole JAR and checks filetypes. If it finds an archive (.7z for now) , and it 's less than 40MB raw, it will then scan those files too. (don't worry, it cleans up the temporary files it creates)
Despite this being a mess of parallel foreach loops, performance is pretty good, capable of scanning, extracting, and further scanning thousands of files in less than a second (1776 files -> 50ms).
Is this a useful tool? Not really. It won't tell you what the .class files do, but it will tell you how many strange files such as `.dll` and `.so`'s are present in a mod.
Scanning the .Jar is the easy part, and I'm sure going through the bytecode is pretty painful.
To see cli arguments use `--help`.