diff --git a/README.md b/README.md index 6c32245..7a00928 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 彩銘羽 Visual Obfuscator +# 彩銘羽 Script Encryption Obfuscator あなたのシェルコードを視覚的に難読化します。 This tool can help you obfuscate and encrypt shell code scripts to help improve security. @@ -37,4 +37,4 @@ and ```overfiles``` mode will overwrite the original file. - Do not use in a production environment. - If it works well, order a star for the project. -## [License](https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator/blob/C-M-Y/LICENSE) +## [License](https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator/blob/C-M-Y/LICENSE) diff --git a/cmd.sh b/cmd.sh index 022bfbe..b057575 100644 --- a/cmd.sh +++ b/cmd.sh @@ -1,8 +1,8 @@ #!/bin/sh # 'Copyright © 2023-2024 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)' -# GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator -# このスクリプトは、彩銘羽が独自に作成したものです。このプロジェクトをサポートしていただける方は、私のGitHubリポジトリ https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator にアクセスをしてStarを付けてくれると嬉しいです! +# GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator +# このスクリプトは、彩銘羽が独自に作成したものです。このプロジェクトをサポートしていただける方は、私のGitHubリポジトリ https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator にアクセスをしてStarを付けてくれると嬉しいです! mode="${1}" num="${2}" @@ -27,11 +27,11 @@ case "${mode}" in let num-- done [[ "${output}" != '' ]] && { - echo -en "#!/bin/sh\n\n\n # 彩銘羽 Visual Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Visual Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" + echo -en "#!/bin/sh\n\n\n # 彩銘羽 Script Encryption Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Script Encryption Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" echo -en "${shell}" | while read -n 1 code;do [[ "${code}" == '' || "${code}" == ' ' ]] && echo ' \' >> "${output}" || echo "${code}\\" >> "${output}";done echo -en "# 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)" >> "${output}" } || { - echo -en "#!/bin/sh\n\n\n # 彩銘羽 Visual Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Visual Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" + echo -en "#!/bin/sh\n\n\n # 彩銘羽 Script Encryption Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Script Encryption Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" echo -en "${shell}" | while read -n 1 code;do [[ "${code}" == '' || "${code}" == ' ' ]] && echo ' \' || echo "${code}\\";done echo -en "# 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)" } @@ -54,7 +54,7 @@ case "${mode}" in shell="{ set +x;\$(printf \"$(printf "eval"|base64 -w 0)\"|base64 -d) \"\$(echo -en \"$(echo -en "${shell}"|base64 -w 0)\"|base64 -d)\";};" let num-- done - echo -en "#!/bin/sh\n\n\n # 彩銘羽 Visual Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Visual Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" + echo -en "#!/bin/sh\n\n\n # 彩銘羽 Script Encryption Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Script Encryption Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" echo -en "${shell}" | while read -n 1 code;do [[ "${code}" == '' || "${code}" == ' ' ]] && echo ' \' >> "${output}" || echo "${code}\\" >> "${output}";done echo -en "# 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)" >> "${output}" done @@ -70,7 +70,7 @@ case "${mode}" in shell="{ set +x;\$(printf \"$(printf "eval"|base64 -w 0)\"|base64 -d) \"\$(echo -en \"$(echo -en "${shell}"|base64 -w 0)\"|base64 -d)\";};" let num-- done - echo -en "#!/bin/sh\n\n\n # 彩銘羽 Visual Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Visual Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" + echo -en "#!/bin/sh\n\n\n # 彩銘羽 Script Encryption Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Script Encryption Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" echo -en "${shell}" | while read -n 1 code;do [[ "${code}" == '' || "${code}" == ' ' ]] && echo ' \' >> "${output}" || echo "${code}\\" >> "${output}";done echo -en "# 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)" >> "${output}" } @@ -94,7 +94,7 @@ case "${mode}" in shell="{ set +x;\$(printf \"$(printf "eval"|base64 -w 0)\"|base64 -d) \"\$(echo -en \"$(echo -en "${shell}"|base64 -w 0)\"|base64 -d)\";};" let num-- done - echo -en "#!/bin/sh\n\n\n # 彩銘羽 Visual Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Visual Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" + echo -en "#!/bin/sh\n\n\n # 彩銘羽 Script Encryption Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Script Encryption Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" echo -en "${shell}" | while read -n 1 code;do [[ "${code}" == '' || "${code}" == ' ' ]] && echo ' \' >> "${output}" || echo "${code}\\" >> "${output}";done echo -en "# 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)" >> "${output}" done @@ -110,7 +110,7 @@ case "${mode}" in shell="{ set +x;\$(printf \"$(printf "eval"|base64 -w 0)\"|base64 -d) \"\$(echo -en \"$(echo -en "${shell}"|base64 -w 0)\"|base64 -d)\";};" let num-- done - echo -en "#!/bin/sh\n\n\n # 彩銘羽 Visual Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Visual Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" + echo -en "#!/bin/sh\n\n\n # 彩銘羽 Script Encryption Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Script Encryption Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}" echo -en "${shell}" | while read -n 1 code;do [[ "${code}" == '' || "${code}" == ' ' ]] && echo ' \' >> "${output}" || echo "${code}\\" >> "${output}";done echo -en "# 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)" >> "${output}" } diff --git a/input.sh b/input.sh index bc26f50..bb34bc8 100644 --- a/input.sh +++ b/input.sh @@ -1,8 +1,8 @@ #!/bin/sh # 'Copyright © 2023-2024 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)' -# GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator -# このスクリプトは、彩銘羽が独自に作成したものです。このプロジェクトをサポートしていただける方は、私のGitHubリポジトリ https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator にアクセスをしてStarを付けてくれると嬉しいです! +# GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator +# このスクリプトは、彩銘羽が独自に作成したものです。このプロジェクトをサポートしていただける方は、私のGitHubリポジトリ https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator にアクセスをしてStarを付けてくれると嬉しいです! clear; @@ -57,7 +57,7 @@ function makeNewFile () { exit 1; } } - echo -en "#!/bin/sh\n\n\n # 彩銘羽 Visual Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Visual-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Visual Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}"; + echo -en "#!/bin/sh\n\n\n # 彩銘羽 Script Encryption Obfuscator\n\n # バージョン: Version 1.1.0 (2024.02.11)\n\n # 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)\n\n # GitHubリポジトリ: https://github.com/Cai-Ming-Yu/CMY-Script-Encryption-Obfuscator\n\n # 日時: $(date '+%x %A %r')\n\n # This file uses Script Encryption Obfuscator for encryption obfuscates the file, please DO NOT modify the file!\n\n\n" > "${output}"; echo -en "${shell}" | while read -n 1 code;do [[ "${code}" == '' || "${code}" == ' ' ]] && echo ' \' >> "${output}" || echo "${code}\\" >> "${output}";done; echo -en "# 開発者: 彩銘羽 (GitHubホーム: https://github.com/Cai-Ming-Yu)" >> "${output}"; echo "OK!";