Created
November 14, 2025 13:05
-
-
Save Hoyasumii/dc54e28a7261ec4452a6073e61610aca to your computer and use it in GitHub Desktop.
Decompile C# Libs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| entry_dir = sys.argv[1] | |
| output_dir = sys.argv[2] | |
| dlls = [item for item in os.listdir(entry_dir) if item.endswith(".dll")] | |
| for dll in dlls: | |
| # ilspycmd -p -o ./{output}/{dll without .dll} ./{entry_dir}/{dll} | |
| os.system(f"ilspycmd -p -o ./{output_dir}/{dll.split('.')[0]} ./{entry_dir}/{dll}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment