In order to send messages through a Gmail account (also applicable to Google Apps accounts) add the following parts to your config files:
Files:
- config/environments/production.rb
- config/gitlab.yml
# Assumes strings are referenced downwards from the top of a segment | |
# e.g - set | |
f string_end @ 0x80620000 | |
# then addui a0,a0,-12288 <-- string is at 0x8061d000 | |
# This used to add a comment with the text but that broke recently | |
# So now it adds a comment String_addressofstring | |
# It adds a xref mut I am still perfecting that |
sudo dnf install qemu-kvm
isopath=/path/to/ubuntu-14.04.3-desktop-amd64.iso
stickdev=/dev/sdX # Make sure this is set to the device for your usb stick
qemu-kvm -drive file=$stickdev,format=raw -m 2048 -pflash /usr/share/edk2.git/ovmf-x64/OVMF-pure-efi.fd -cdrom $isopath
This diff is a modified version of a diff written by Arnis Lapsa. | |
[ The original can be found here: https://gist.github.com/ArnisL/6156593 ] | |
This diff adds support to tmux for 24-bit color CSI SRG sequences. This | |
allows terminal based programs that take advantage of it (e.g., vim or | |
emacs with https://gist.github.com/choppsv1/73d51cedd3e8ec72e1c1 patch) | |
to display 16 million colors while running in tmux. | |
The primary change I made was to support ":" as a delimeter as well |
PyObject * RustPy_InitModule(const char *name, PyMethodDef *methods, const char *doc) { | |
// return Py_InitModule4(name, methods, doc, (PyObject *) NULL, PYTHON_API_VERSION); | |
return Py_InitModule3(name, methods, doc); | |
} |
RARVM reversible/patchme | |
Modified 'unrar' source to dump context and disassembly. | |
Wrote two separate solvers since the challenge was broken. | |
To build the disassembler/debugger: | |
- unzip unrar-src-disassembler.zip -d unrar | |
- cd unrar |
Even though well known methods exist to bypass ptrace deactivation on a process when spawning (fake ptrace() preloading, breakpoint on ptrace(), etc... ), it is trickier when process is already protected.
Thankfully Linux 3.2+ was generous enough to provide read/write capabilities to another process with 2 new system calls: sys_process_vm_readv and sys_process_vm_writev. (see https://github.com/torvalds/linux/blob/master/arch/x86/syscalls/syscall_64.tbl#L319)
Manual says:
These system calls transfer data between the address space of the calling
diff --git a/colour.c b/colour.c | |
index a56ddce..8098f83 100644 | |
--- a/colour.c | |
+++ b/colour.c | |
@@ -29,305 +29,85 @@ | |
* of the 256 colour palette. | |
*/ | |
-struct colour_rgb { | |
- u_char i; |
open Core_kernel | |
open Bap_core_theory | |
open Bap.Std | |
open KB.Syntax | |
include Self() | |
let package = "bytoy" | |
type name = string [@@deriving equal,sexp] | |
type oper = Reg of int | Imm of int [@@deriving equal,sexp] |
radare2 is a very cool set of tools that you probably don't know how to use! Let's go through a simple exploit CTF challenge to understand how to use it for exploit development.
We'll be focusing on "ropasaurus rex" which is a simple challenge from Plaid CTF After checking out the latest and greatest radare from git, let's get started!
Open up ropasaurusrex in r2 and call analyze on the binary. We can list the functions with "afl"