Skip to content

Instantly share code, notes, and snippets.

View Geobm's full-sized avatar
🎯
Focusing

Geovani Benita Geobm

🎯
Focusing
  • Singapore University of Technology and Design
  • Singapore
  • X @GeovaniBenita
View GitHub Profile
@Geobm
Geobm / main.c
Last active February 9, 2022 05:36
linux kernel power source
power_attr(pm_async);
#ifdef CONFIG_SUSPEND
static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr,char *buf){
char *s = buf;
suspend_state_t i;
for (i = PM_SUSPEND_MIN; i < PM_SUSPEND_MAX; i++)
if (mem_sleep_states[i]) {
const char *label = mem_sleep_states[i];
if (mem_sleep_current == i)
s += sprintf(s, "[%s] ", label);
@Geobm
Geobm / bytes.py
Created February 20, 2021 00:27
Tenablectf stego- a3s turtless
"""
Created on Fri Feb 19 16:30:44 2021
@author: Geovani BM
"""
import zipfile
def main():
parent_file_name = 'turtles128.zip'
pswd = '0'
(gdb) info file
Symbols from "/home/p3rplex/Downloads/binary_analysis_bypass".
Local exec file:
`/home/p3rplex/Downloads/binary_analysis_bypass',
file type elf64-x86-64.
Entry point: 0x401a30
0x0000000000400200 - 0x0000000000400220 is .note.ABI-tag
0x0000000000400220 - 0x0000000000400244 is .note.gnu.build-id
0x0000000000400248 - 0x0000000000400470 is .rela.plt
0x0000000000401000 - 0x0000000000401017 is .init
@Geobm
Geobm / match.ipynb
Created August 30, 2020 12:39
Match.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Geobm
Geobm / hackmty.ipynb
Created August 30, 2020 12:22
Hackmty.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on Mon Jun 22 16:18:09 2020
@author: Issstezac1
"""
import requests
import datetime
import itertools
import pandas as pd