Skip to content

Instantly share code, notes, and snippets.

View Wachiwi's full-sized avatar
🎧
Focusing on to much

David Wachiwi

🎧
Focusing on to much
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script
type="module"
src="https://unpkg.com/rapidoc@9.1.2/dist/rapidoc-min.js"
></script>
</head>
<body>
Verifying my Blockstack ID is secured with the address 19PSKyea146GDm1ZwUDPxNfUjmjABrFAUb https://explorer.blockstack.org/address/19PSKyea146GDm1ZwUDPxNfUjmjABrFAUb
@Wachiwi
Wachiwi / ReadMe.md
Last active June 8, 2017 15:13
MARE P8

MARE Praktikum 8

  1. Compile foo via gcc foo.c -o foo
  2. Compile the trace tool via gcc trace.c -o trace
@Wachiwi
Wachiwi / fun.S
Last active June 8, 2017 12:03
MARE P7
.global _start
.data
c: .ascii "c"
.text
_start:
popq %rax // Beim Start steht die Anzahl der
// auf der Kommandozeile uebergebenen
// Parameter auf dem Stack; popq %rax
# This is a template Makefile generated by rpcgen
# Parameters
CLIENT = vs_client
SERVER = vs_server
SOURCES_CLNT.c =
SOURCES_CLNT.h =
As <STAKEHOLDER> I want to have the possibility ...
**Acceptance criterias**:
- [X] Criteria
- [ ] ...
@Wachiwi
Wachiwi / ReadMe.md
Last active May 21, 2017 09:54
Praktikum 6

Vorbereitung

Ausgangssituation

Die Ausgangssituation für das Praktikum ist ein rekursives Programm zur Berechnung der Fibonacci-Zahlen von 0 < n <= 5.

#include <stdio.h>
#include <stdlib.h>
@Wachiwi
Wachiwi / ReadMe.md
Last active May 11, 2017 09:57
Praktikum 5

Vorbereitung

Keine

Ausgangssituation

Ausgangssituation ist wie in P4 ein simples hackbares Programm via Buffer-Overflow:

#include <stdio.h>
@Wachiwi
Wachiwi / ReadMe.md
Last active May 11, 2017 08:46
Praktikum 4

Vorbereitung

Aufgabe 1-3 nach anleitung, kein großer Aufwand

Hinweis: malloc() legt daten auf dem heap ab, wir möchten sie allerdings auf dem stack, daher verwendung von []

4. Analyse und "Reverse"-Engineering

GDB internal commands:

@Wachiwi
Wachiwi / data.js
Last active April 16, 2017 13:05
Javascript event-driven data object
var data = {
_value: undefined,
_handlers: [],
set: function(val, cb){
this._value = val;
this.attach(cb);
this._handlers.forEach(function(cb){cb();});
},
get: function() {return this._value;},
attach: function(cb) {