Skip to content

Instantly share code, notes, and snippets.

﨤サ OK ] Stopped target Timers.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped target Multi-User System.
Stopping leprop Service...
Stopping usb Service...
Stopping Modem Shutdown Service...
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping logd Service...
Stopping System Logging Service...
@mouseos
mouseos / clovwa-wave-bootlog.txt
Created May 8, 2023 06:04
clovwa waveのブートログ
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2.C2-00030
S - IMAGE_VARIANT_STRING=DAASANAZA
S - OEM_IMAGE_VERSION_STRING=buildservera-All-Series
S - Boot Config, 0x000000e1
B - 1567 - PBL, Start
B - 4546 - bootable_media_detect_entry, Start
B - 49043 - bootable_media_detect_success, Start
@mouseos
mouseos / keyevent.c
Created May 3, 2023 15:55
clova desk /bin/keyevent hex-lays
/* This file was generated by the Hex-Rays decompiler version 8.2.0.221215.
Copyright (c) 2007-2021 Hex-Rays <[email protected]>
Detected compiler: GNU C++
*/
#include <defs.h>
//-------------------------------------------------------------------------
@mouseos
mouseos / keyevent.c
Created May 3, 2023 15:46
clova desk /bin/keyeventをretdecでデコンパイル
//
// This file was generated by the Retargetable Decompiler
// Website: https://retdec.com
//
#include <dirent.h>
#include <fcntl.h>
#include <pthread.h>
#include <signal.h>
#include <stdint.h>
@mouseos
mouseos / bin-keyevent.c
Last active July 31, 2023 15:16
clova deskの/sysyem/bin/keyeventの逆コンパイル(binaryninja)
int64_t sub_1458()
{
/* jump -> data_4e50 */
}
void __libc_init(void* raw_args, void (* onexit)(),
int32_t (* main)(int32_t argc, char** argv, char** envp),
void const* structors) __noreturn
{
/* tailcall */
# Server Core用のアプリケーション互換性を追加
Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0
# Internet Explorer用のブラウザ機能を追加
DISM.exe /Online /Add-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0
#!/bin/bash
# ディスクイメージファイルのパス
img_path="gpt.img"
echo "Creating empty image file"
dd if=/dev/zero of=$img_path bs=1G count=1
echo "Creating gpt table"
parted -s gpt.img mklabel gpt
GPT part: 0, name: uboot, start:0x4000, size:0x2000
GPT part: 1, name: trust, start:0x6000, size:0x2000
GPT part: 2, name: misc, start:0x8000, size:0x2000
GPT part: 3, name: resource, start:0xa000, size:0x8000
GPT part: 4, name: kernel, start:0x12000, size:0x10000
GPT part: 5, name: dtb, start:0x22000, size:0x2000
GPT part: 6, name: dtbo, start:0x24000, size:0x2000
GPT part: 7, name: vbmeta, start:0x26000, size:0x800
GPT part: 8, name: boot, start:0x26800, size:0x10000
GPT part: 9, name: recovery, start:0x36800, size:0x20000
UEFI Protocol Detected
--------------------------------------------------------------------------------
String Packages
--------------------------------------------------------------------------------
Offset: Language:
--------------------------------------------------------------------------------
0x6D8 en-US (0x0)
0xF40E fr-FR (0x1)
UEFI Protocol Detected
--------------------------------------------------------------------------------
String Packages
--------------------------------------------------------------------------------
Offset: Language:
--------------------------------------------------------------------------------
0x648 en-US
0xF413 fr-FR