objc-obfuscator 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/objc-obfuscator/obfuscator.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88744f3b2d2512777b1a4e5cf1bd1e0a8d5df372
|
4
|
+
data.tar.gz: 7afa6ad33edbb87fee6202a067b54ffe5730f5b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1e4fef3c417653f3db148474be28428c2b2c2682b5ff139fda477e7cd850141e1042853a0c8e778bfefad61a550853ce89e9c4e373b8734e962d4cfcbb25e1d
|
7
|
+
data.tar.gz: fe4f1d2359e7ae59be243bacce17b88700a19c601cd30fe4d8d3ae961ed2c342611ac433b322390e94155ffda583118ccfa573120259d4fe9a9e81ed7689ba68
|
@@ -29,7 +29,7 @@ module Objc_Obfuscator
|
|
29
29
|
say_status :info, "Found occurrence of __obfuscated string: '#{unencrypted_string}'."
|
30
30
|
encrypted_string = encryptor.encrypt unencrypted_string
|
31
31
|
line.slice! keyword # remove keyword
|
32
|
-
line = line.gsub(unencrypted_string, encrypted_string) # replace the unencrypted with the encrypted
|
32
|
+
line = line.gsub("@\"#{unencrypted_string}\"", "[@\"#{encrypted_string}\" unobfuscatedString]") # replace the unencrypted with the encrypted
|
33
33
|
file_changed = true
|
34
34
|
end
|
35
35
|
end
|