Skip to content

Instantly share code, notes, and snippets.

@Spirotot
Spirotot / record.sh
Last active October 17, 2020 00:28
Sway WM screen + audio recorder
#!/bin/bash
# Sway WM screen + audio recorder
# Usage: ./record -d [display] -a [audio_device] -o [project_output_name]
#
# Displays can be listed with `swaymsg -t get_outputs`.
# Audio devices can be listed with `arecord -l`.
# Probably best not to put spaces in the "-o" argument, sorry...
#
# Dependencies: ffmpeg, alsamixer
#
@Spirotot
Spirotot / flareon_2016_challenge1_solve.py
Last active November 2, 2017 09:23
Flare-On 2016 Challenge 1 Angr Solve
#!/usr/bin/env python2
import angr
angr.path_group.l.setLevel('DEBUG')
def writefile_hook(state):
print('writefile hook')
# Just return "success"
# https://msdn.microsoft.com/en-us/library/windows/desktop/aa365747(v=vs.85).aspx
@Spirotot
Spirotot / f.py
Created November 28, 2016 15:10
AngrIDA 1st draft
#!/usr/bin/env python2
import angr
from simuvex import SimIRSB
from IPython.frontend.terminal.embed import InteractiveShellEmbed
import sys
class AngrIDA(object):
def __init__(self, input_file=None):
try:
@Spirotot
Spirotot / solve.py
Last active November 7, 2016 01:01
Flare-on 2016 Challenge 1 Angr solve.
# coding: utf-8
# In[2]:
import angr
import simuvex
angr.path_group.l.setLevel('DEBUG')
user_input = None
@Spirotot
Spirotot / keybase.md
Created September 22, 2016 17:02
keybase.md

Keybase proof

I hereby claim:

  • I am spirotot on github.
  • I am spirotot (https://keybase.io/spirotot) on keybase.
  • I have a public key ASBYCdmckkbsVD5rc56sSskEjbexWgpwEvwDsgbxGWqz8Ao

To claim this, I am signing this object: