Screenshots
Example Usage
#include <hexi.h>
#include <array>
#include <vector>
#include <cstddef>
struct LoginPacket {
uint64_t user_id;
uint64_t timestamp;
std::array<uint8_t, 16> ipv6;
};
auto deserialise(std::span<const char> network_buffer) {
hexi::buffer_adaptor adaptor(network_buffer); // wrap the buffer
hexi::binary_stream stream(adaptor); // create a binary stream
// deserialise!
LoginPacket packet;
stream >> packet;
return packet;
}
auto serialise(const LoginPacket& packet) {
std::vector<uint8_t> buffer;
hexi::buffer_adaptor adaptor(buffer); // wrap the buffer
hexi::binary_stream stream(adaptor); // create a binary stream
// serialise!
stream << packet;
return buffer;
}
See also
xAnalyzer
Open Source
…
AndKittyInjector
Open Source
Inject a shared library into a process using ptrace…
mitmproxy2swagger
Free
Automagically reverse-engineer REST APIs via capturing traffic…
soSaver
Open Source
A Frida-based utility for dynamically extracting native (.so) libraries from Android applications.…
Angr
Open Source
Python binary analysis framework supporting both static and dynamic symbolic execution (concolic exe…
NebulaFD
Free
A work in progress, reimagined decompiler for Clickteam Fusion.…