<!DOCTYPE html>
<html lang
=
"en"
>
<head>
<meta charset
"UTF-8"
<meta http
-
equiv
"X-UA-Compatible"
content
"IE=edge"
<meta name
"viewport"
"width=device-width, initial-scale=1.0"
<title>网页里好像藏着什么东西<
/
title>
<style>
body {
display: flex;
justify
content: center;
align
items: center;
height:
100vh
;
margin:
0
background
color:
#f0f0f0;
font
family: Arial, sans
serif;
overflow: hidden;
}
h1 {
size:
3rem
animation: fadeIn
2s
ease
out;
@keyframes
fadeIn {
%
{
opacity:
100
1
<
style>
head>
<body>
<h1>网页里好像藏着什么东西<
h1>
<!
Hidden information
<p style
"display: none;"
>看到这串文字意味着通过了入门关卡,请访问不愿意透漏姓名的url下载剩余题目.<
p>
body>
html>
void ConsoleLog::Info(const char
*
format
, ...) {
va_list args;
va_start(args,
);
Log(
"[INFO]: "
,
, args);
va_end(args);
[RUN]: Thread:
0x4d54
本题目的Key是:不愿意透漏姓名的前半个Keye97df5bb41f79e90bea61b0fb693ff
char key
'K'
auto encryptDecryptChar
[key](char c) {
return
c ^ key; };
std::string original
"{y/z.{-|)z)*z}s-y|*xx)x-|*}|zx(}~.r|/-~))z-|r.r{).*}z){-)}rx--"
std::string encrypted
original;
std::ranges::transform(original, encrypted.begin(), encryptDecryptChar);
std::cout <<
"本题目的Key是:"
<< encrypted << std::endl;
typedef void(__stdcall
ReturnMethod)();
HMODULE hModule
LoadLibraryA(
"test_002_dll.dll"
if
(hModule
NULL) {
MessageBoxA(NULL,
"Failed to load DLL."
"Error"
, MB_ICONERROR);
获取returnMethod函数地址
ReturnMethod returnMethod
(ReturnMethod)GetProcAddress(hModule,
"returnMethod"
(returnMethod
"Failed to get function address."
FreeLibrary(hModule);
执行returnMethod函数
万次
for
(
int
i
; i <
10000
+
i) {
returnMethod();
extern
"C"
void __declspec(dllexport) returnMethod() {
291ebb40
不愿意透漏姓名的后半个Key
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)