Hack The Box-Reminiscent

这篇文章讲述了在一次CTF挑战中,分析者通过解读包含Resume.eml邮件和flounder-pc-memdump.elf内存转储文件,寻找隐藏在内存中的线索,使用volatility工具解析内存并找到base64编码的flag。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

目录

基本信息

Resume.eml文件

imageinfo.txt

flounder-pc-memdump.elf

检查内存镜像

进程

文件

get flag

base64解码


基本信息

Resume.eml文件
┌──(root㉿ru)-[~/…/ctf_quzheng_tools/timu/hackthebox/reminiscent]
└─# cat Resume.eml
Return-Path: <bloodworm@madlab.lcl>
Delivered-To: madlab.lcl-flounder@madlab.lcl
Received: (qmail 2609 invoked by uid 105); 3 Oct 2017 02:30:24 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="=_a8ebc8b42c157d88c1096632aeae0559"
Date: Mon, 02 Oct 2017 22:30:24 -0400
From: Brian Loodworm <bloodworm@madlab.lcl>
To: flounder@madlab.lcl
Subject: Resume
Organization: HackTheBox
Message-ID: <add77ed2ac38c3ab639246956c25b2c2@madlab.lcl>
X-Sender: bloodworm@madlab.lcl
Received: from mail.madlab.lcl (HELO mail.madlab.lcl) (127.0.0.1)
 by mail.madlab.lcl (qpsmtpd/0.96) with ESMTPSA (ECDHE-RSA-AES256-GCM-SHA384 encrypted); Mon, 02 Oct 2017 22:30:24 -0400

--=_a8ebc8b42c157d88c1096632aeae0559
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII

Hi Frank, someone told me you would be great to review my resume..
Could you have a look?

resume.zip [1]

Links:
------
[1] http://10.10.99.55:8080/resume.zip
--=_a8ebc8b42c157d88c1096632aeae0559
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
<br /> Hi Frank, someone told me you would be great to review my resume.. c=
uold you have a look?<br /> <br /><a href=3D"http://10.10.99.55:8080/resume=
=2Ezip">resume.zip</a></div>
</body></html>

--=_a8ebc8b42c157d88c1096632aeae0559--

imageinfo.txt
┌──(root㉿ru)-[~
Sure, here's how you can use the light sensor on the picoprobe development board to create a night light: (a) 1. Initialize the ADC to read from the light sensor. 2. Read the raw ADC value from the light sensor. 3. Print out the raw ADC value in the format "Light Sensor: Raw: [value]". 4. Convert the raw ADC value to a voltage using the formula: voltage = (raw_value * 3.3) / 4095, where 3.3 is the maximum voltage and 4095 is the maximum raw ADC value. 5. Print out the voltage value in the format "Voltage: [value] V". 6. Use the voltage value to control the three-colour LED. (b) Here's some sample code to perform the above steps: ```c #include <stdio.h> #include "pico/stdlib.h" #include "hardware/adc.h" #include "hardware/gpio.h" #define LED_RED 25 #define LED_GREEN 26 #define LED_BLUE 27 #define LIGHT_SENSOR 2 int main() { stdio_init_all(); adc_init(); adc_gpio_init(LIGHT_SENSOR); adc_select_input(LIGHT_SENSOR); gpio_init(LED_RED); gpio_set_dir(LED_RED, GPIO_OUT); gpio_init(LED_GREEN); gpio_set_dir(LED_GREEN, GPIO_OUT); gpio_init(LED_BLUE); gpio_set_dir(LED_BLUE, GPIO_OUT); while (1) { uint16_t raw_value = adc_read(); printf("Light Sensor: Raw: %d\n", raw_value); float voltage = (raw_value * 3.3) / 4095; printf("Voltage: %.1f V\n", voltage); if (voltage < 1.0) { // dim the LEDs when the room is dark gpio_put(LED_RED, 255); gpio_put(LED_GREEN, 255); gpio_put(LED_BLUE, 255); } else { // turn off the LEDs when there is enough ambient light gpio_put(LED_RED, 0); gpio_put(LED_GREEN, 0); gpio_put(LED_BLUE, 0); } sleep_ms(1000); } return 0; } ``` (c) In the above code, we are dimming all three LEDs to create white light when the room is dark and turning them off when there is enough ambient light. The threshold voltage for detecting darkness is set at 1.0 V in this example, but you can adjust it to suit your needs.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值