mirror of
https://github.com/edubart/otclient.git
synced 2026-01-02 04:27:11 +01:00
encrypt password and account number
* the encryption uses a unique machine key, this means that if anyone steals config.otml with a saved password, he will not be able to decrypt the password without the machine UUID key * the encrypt uses a simple XOR encryption method, encoded with base64 and adler32 summing
This commit is contained in:
@@ -171,6 +171,8 @@ SET(framework_SOURCES ${framework_SOURCES}
|
||||
|
||||
# framework util
|
||||
${CMAKE_CURRENT_LIST_DIR}/util/color.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/util/crypt.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/util/rsa.cpp
|
||||
|
||||
# framework core
|
||||
${CMAKE_CURRENT_LIST_DIR}/core/adaptativeframecounter.cpp
|
||||
@@ -189,7 +191,6 @@ SET(framework_SOURCES ${framework_SOURCES}
|
||||
${CMAKE_CURRENT_LIST_DIR}/net/inputmessage.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/net/outputmessage.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/net/protocol.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/net/rsa.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/net/server.cpp
|
||||
|
||||
# framework platform
|
||||
|
||||
Reference in New Issue
Block a user