Skip to content

Instantly share code, notes, and snippets.

View tin-z's full-sized avatar

Altin (tin-z) tin-z

View GitHub Profile
@tin-z
tin-z / idapython_cheatsheet.md
Created February 28, 2022 22:05 — forked from icecr4ck/idapython_cheatsheet.md
Cheatsheet for IDAPython
@tin-z
tin-z / roadmap_variant analysis_vuln.md
Created March 13, 2022 21:50
Roadmap to learn variant analysis in software vulnerability research

roadmap to variant analysis


CodeQl

@tin-z
tin-z / roadmap_fuzzing.md
Created March 13, 2022 21:51
Roadmap to learn fuzzing

Roadmap to learn fuzzing


Index

1. Sanitizers
2. Intro-to-fuzzing
@tin-z
tin-z / gdb_extra_tips_memo.md
Last active October 30, 2023 08:20
GDB extra tips memo

GDB extra tips memo

GUI settings

  • Display specific information after hitting breakpoints
display/[length]<data-or-instruction>[format]
# e.g. display/10i $rip
@tin-z
tin-z / tmux prefix change.md
Last active May 17, 2022 08:29
Change tmux command prefix
unbind C-b 
set-option -g prefix C-k

@tin-z
tin-z / tmux conf
Last active March 9, 2023 00:00
remote settings
# place it on `~/.tmux.conf` then run `tmux source-file ~/.tmux.conf`
# Increase History Size
set-option -g history-limit 50000
set -g default-command "reattach-to-user-namespace -l zsh"
## Join Windows (Moving tmux pane to window)
## ref, https://unix.stackexchange.com/questions/14300/moving-tmux-pane-to-window
#bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
#bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
@tin-z
tin-z / linux_c_func_notes.md
Last active November 9, 2023 22:22
Notes about C lib functions on Linux

file i/o

fcntl

  • performing operations on an open file descriptor
#include <fcntl.h>
int fcntl(int fd, int cmd, ...);
@tin-z
tin-z / app_rev_process.md
Last active August 23, 2024 14:27
Application Review Process

Overview of the Application Review Process

  1. Preassessment: Planning, scoping, collecting info and doc

  2. Application review: Design review, code review. Several strategies adopted to learn more about the application

  3. Documentation and analysis: Collecting and documenting the results of the review, risk analysis, remediations

  4. Remediation support: Evaluating fixes, recheck phase

#!/bin/bash
SOLV=0.8.17
folder_t=test_open
if [ "$1" == "make" ]; then
if [ -d $folder_t ] ; then
echo "Folder '$folder_t' already present ...quit"
exit -1