Honest
Seçkin Üye
Why do you need all these analyzers of possible keys for xorstr if development giants like llama leave keys right along with xored str.
Well, I wrote a cool dexor.
Run it all at runtime:
Well, I wrote a cool dexor.
PHP:
//Stuff.
#include <iostream>
#include <string>
#include <vector>
//Legacy.
struct Xored {
//Value - xor str, key - decrypt key.
std::vector <int> values;
int key;
};
//Xorstr's to decrypt.
std::vector <Xored> values = {
Xored { { 0x5D5D554E, 0x3A5E5F56 }, 0x3A }
};
int main() {
auto dexor = [] (int value, int key, std::string& output) {
for (unsigned int i = 0; i < sizeof (int); i++) {
//Bit shifting...
int currentByte = (value >> (8 * i) & 0xFF);
//Create const char* with dexor value, and append to string. (Small check for non-null byte)
output.append (currentByte != 0x0 ? new char (currentByte ^ key) : "");
}
};
//dexored str.
std::string output;
for (const auto& xored : values) {
for (const auto& value : xored.values) {
dexor (value, xored.key, output);
}
}
//print.
std::cout << output;
}
Run it all at runtime:
Bağlantıları görmek için lütfen
Giriş Yap
(Strictly not recommended for pregnant children)Think about it, you are still young, you have children, a wife, a father, a stepfather, and so on.
The theme was created exclusively by roflu and at the request of a friend, no more.
The theme was created exclusively by roflu and at the request of a friend, no more.