-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
780604a
commit ffa11fa
Showing
6 changed files
with
176 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
.idea/* | ||
*.iml | ||
|
||
*.json | ||
|
||
# Maven output | ||
*/target/* | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
exempt: [ | ||
"class{^codes\\/som\\/oof4j\\/fizzbuzz\\/enterprise}" | ||
] | ||
|
||
libs: [] | ||
|
||
interprocedural: { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
stringEncryption { | ||
type: STANDARD | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
numberEncryption { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
flowCondition { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
flowException { | ||
enabled: true | ||
strength: AGGRESSIVE | ||
exempt: [] | ||
} | ||
|
||
flowRange { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
flowSwitch { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
ahegao { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
driver: { | ||
enabled: false | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Check if curl is installed | ||
if ! command -v curl &> /dev/null | ||
then | ||
echo "curl could not be found. Please install curl to proceed." | ||
exit 1 | ||
fi | ||
|
||
# Get the latest release tag from GitHub | ||
LATEST_TAG=$(curl -s https://api.github.com/repos/skidfuscatordev/skidfuscator-java-obfuscator/releases/latest | grep 'tag_name' | cut -d\" -f4) | ||
|
||
# Download the latest Skidfuscator jar file | ||
echo "Downloading the latest Skidfuscator jar..." | ||
curl -L -o Skidfuscator.Community.$LATEST_TAG.jar https://github.com/skidfuscatordev/skidfuscator-java-obfuscator/releases/download/$LATEST_TAG/Skidfuscator.Community.$LATEST_TAG.jar | ||
|
||
# Download the obfuscation tester jar | ||
echo "Downloading the obfuscation tester jar..." | ||
curl -L -o obf-test-1.0-SNAPSHOT.jar https://github.com/sim0n/jvm-obfuscation-tester/releases/download/1.0.0/obf-test-1.0-SNAPSHOT.jar | ||
|
||
# Run the main skidfuscator command | ||
echo "Running the main skidfuscator command..." | ||
java -jar Skidfuscator.Community.$LATEST_TAG.jar obfuscate obf-test-1.0-SNAPSHOT.jar --config config.hocon | ||
|
||
echo "Process completed." |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Check if curl is installed | ||
if ! command -v curl &> /dev/null | ||
then | ||
echo "curl could not be found. Please install curl to proceed." | ||
exit 1 | ||
fi | ||
|
||
# Get the latest release tag from GitHub | ||
LATEST_TAG=$(curl -s https://api.github.com/repos/skidfuscatordev/skidfuscator-java-obfuscator/releases/latest | grep 'tag_name' | cut -d\" -f4) | ||
|
||
# Download the latest Skidfuscator jar file | ||
echo "Downloading the latest Skidfuscator jar..." | ||
curl -L -o Skidfuscator.Community.$LATEST_TAG.jar https://github.com/skidfuscatordev/skidfuscator-java-obfuscator/releases/download/$LATEST_TAG/Skidfuscator.Community.$LATEST_TAG.jar | ||
|
||
# Download the obfuscation tester jar | ||
echo "Downloading the obfuscation tester jar..." | ||
curl -L -o obf-test-1.0-SNAPSHOT.jar https://github.com/sim0n/jvm-obfuscation-tester/releases/download/1.0.0/obf-test-1.0-SNAPSHOT.jar | ||
|
||
# Run the main skidfuscator command | ||
echo "Running the main skidfuscator command..." | ||
java -jar Skidfuscator.Community.$LATEST_TAG.jar obfuscate obf-test-1.0-SNAPSHOT.jar | ||
|
||
echo "Process completed." |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
exempt: [] | ||
|
||
libs: [] | ||
|
||
interprocedural: { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
stringEncryption { | ||
type: STANDARD | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
numberEncryption { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
flowCondition { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
flowException { | ||
enabled: true | ||
strength: AGGRESSIVE | ||
exempt: [] | ||
} | ||
|
||
flowRange { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
flowSwitch { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
ahegao { | ||
enabled: true | ||
exempt: [] | ||
} | ||
|
||
driver: { | ||
enabled: false | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Check if curl is installed | ||
if ! command -v curl &> /dev/null | ||
then | ||
echo "curl could not be found. Please install curl to proceed." | ||
exit 1 | ||
fi | ||
|
||
# Get the latest release tag from GitHub | ||
LATEST_TAG=$(curl -s https://api.github.com/repos/skidfuscatordev/skidfuscator-java-obfuscator/releases/latest | grep 'tag_name' | cut -d\" -f4) | ||
|
||
# Download the latest Skidfuscator jar file | ||
echo "Downloading the latest Skidfuscator jar..." | ||
curl -L -o Skidfuscator.Community.$LATEST_TAG.jar https://github.com/skidfuscatordev/skidfuscator-java-obfuscator/releases/download/$LATEST_TAG/Skidfuscator.Community.$LATEST_TAG.jar | ||
|
||
# Download the obfuscation tester jar | ||
echo "Downloading the obfuscation tester jar..." | ||
curl -L -o obf-test-1.0-SNAPSHOT.jar https://github.com/sim0n/jvm-obfuscation-tester/releases/download/1.0.0/obf-test-1.0-SNAPSHOT.jar | ||
|
||
# Run the main skidfuscator command | ||
echo "Running the main skidfuscator command..." | ||
java -jar Skidfuscator.Community.$LATEST_TAG.jar obfuscate obf-test-1.0-SNAPSHOT.jar --config config.hocon | ||
|
||
echo "Process completed." |