mirror of
https://github.com/AbishekPonmudi/Dynloader
synced 2026-07-15 03:39:09 +00:00
16 lines
525 B
C++
16 lines
525 B
C++
#include <iostream>
|
|
#include <iomanip>
|
|
#include "../lib/common/hashes.hpp"
|
|
|
|
int main() {
|
|
const char* names[] = {
|
|
"ntdll.dll", "NtAllocateVirtualMemory", "NtProtectVirtualMemory",
|
|
"NtCreateSection", "NtMapViewOfSection", "NtCreateThreadEx",
|
|
"NtQuerySystemInformation", "NtOpenProcess", "NtClose"
|
|
};
|
|
for (auto* n : names) {
|
|
std::cout << n << " djb2=0x" << std::hex << Hashes::Djb2(n)
|
|
<< " lower=0x" << Hashes::Djb2Lower(n) << std::dec << "\n";
|
|
}
|
|
return 0;
|
|
} |