Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

_ocean ocean1

I may be slow to respond.
Block or report user

Report or block ocean1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ocean1 /
Created Apr 27, 2019 — forked from rsvp/
noise : relaxing ambient Brown noise generator (cf. white noise) | Linux bash script using sox | CogSci notes
#!/usr/bin/env bash
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2019-01-02
# _______________| noise : ambient Brown noise generator (cf. white noise).
# Usage: noise [minutes=59] [band-pass freq center=1786] [wave]
# ^minutes can be any positive integer.
# Command "noise 1" will display peak-level meter.
# Dependencies: play (from sox package)
ocean1 / mixer.clr
Created Nov 19, 2016
dark theme for IDA
View mixer.clr
000000 //
aaaaaa //Default color
ffffff //Regular comment
7e6082 //Repeatable comment
666666 //Automatic comment
ffffff //Instruction
b9ebeb //Dummy Data Name
b9ebeb //Regular Data Name
bbecff //Demangled Name
ROP Analyze
Written by St4rk
The code is a total mess and I don't know python (it's one of many reasons
that I decided to use python here, to learn)
Feel free to modify and do whatever you want
# imports
ocean1 /
Last active Sep 13, 2018
rename symbols in IDA using nm
# rename functions loading addresses using nm
import idaapi
import idc
from subprocess import Popen, PIPE
def make_func(addr):
ocean1 / thing2.exe.rb
Created May 21, 2016 — forked from dwendt/thing2.exe.rb
thing2.exe - legitbs defcon quals 2015 - 4pt pwnable
View thing2.exe.rb
#!/usr/bin/env ruby
require 'socket'
#require 'hexdump'
$dbg = false
$sock ="localhost", 4141)
def recv_until(str)
data = ""
while tmp = $sock.recv(1024) and not tmp.empty?
from pwn import *
import re
context.update(arch='arm', os='linux', endian='little')
thumbjmp = asm("""
add r6, pc, #1
bx r6""")
ocean1 /
Created Oct 1, 2015 — forked from rbrito/
Script to control monitor brightness
#!/usr/bin/env python
Python script to essentially perform the same as:
gdbus call \
--session \
--dest org.gnome.SettingsDaemon \
--object-path /org/gnome/SettingsDaemon/Power \
--method org.gnome.SettingsDaemon.Power.Screen.SetPercentage 75
ocean1 / i3.conf
Created Oct 1, 2015 — forked from diyan/i3.conf
i3 tiling window manager configuration
View i3.conf
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
# i3 config file (v4)
# Please see for a complete reference!

Keybase proof

I hereby claim:

  • I am ocean1 on github.
  • I am oce4n ( on keybase.
  • I have a public key whose fingerprint is AD2F 69FC 908C 05C4 EE1C A1F7 5B7C EDEB A937 0413

To claim this, I am signing this object:

# patching the vulnerable binary just requires to reduce the size of the read up to 0x200 :)
from pwn import *
context(arch='i386', os='linux', log_level="info")
DEBUG = False
HOST = ""
PORT = 4347
You can’t perform that action at this time.