init commit
This commit is contained in:
25
.history/decompile_libs_20251009081841.sh
Normal file
25
.history/decompile_libs_20251009081841.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Декомпиляция всех DLL библиотек
|
||||
DESKTOP_DIR="/home/data/decompile/desktop"
|
||||
OUTPUT_DIR="/home/data/decompile/output/Libraries"
|
||||
|
||||
echo "Декомпилируем библиотеки..."
|
||||
|
||||
for dll in "$DESKTOP_DIR"/*.dll; do
|
||||
if [ -f "$dll" ]; then
|
||||
filename=$(basename "$dll" .dll)
|
||||
echo "Декомпилируем $filename..."
|
||||
|
||||
# Создаем отдельную папку для каждой библиотеки
|
||||
mkdir -p "$OUTPUT_DIR/$filename"
|
||||
|
||||
# Декомпилируем с созданием проекта
|
||||
ilspycmd -p --nested-directories -o "$OUTPUT_DIR/$filename" "$dll"
|
||||
|
||||
echo "Завершено: $filename"
|
||||
echo "---"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Декомпиляция всех библиотек завершена!"
|
||||
Reference in New Issue
Block a user