I hereby claim:
- I am torsten on github.
- I am torsten (https://keybase.io/torsten) on keybase.
- I have a public key whose fingerprint is E054 EF92 AC0F B3E7 9BA3 5F8A 6B9B FA0C CE67 02B9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* | |
| A small program to test address space layout randomization (ASLR) on Leopard, | |
| by Torsten Becker <torsten.becker@gmail.com>, 2009. | |
| The presentation from a Apple guy at | |
| http://www.slideshare.net/guest4c923d/jordan-hubbard-talk-lisa-presentation | |
| suggests to compile with -pie but it doesn't work for me, I get the same | |
| output every time which means it's not random, check it yourself: | |
| $ gcc -fPIC -Wl,-pie aslr-test.c && ./a.out |
| // gcc not_nil.m -lObjC -framework Foundation && ./a.out | |
| #include <stdio.h> | |
| #include <stdarg.h> | |
| #include <Cocoa/Cocoa.h> | |
| @interface FooClass : NSObject | |
| { | |
| } |
| // gcc -g -framework OpenGL -framework GLUT glextensions.c -o glextensions | |
| #include <stdio.h> | |
| #ifdef __APPLE__ | |
| #include <OpenGL/gl.h> | |
| #include <GLUT/glut.h> | |
| #else | |
| #include <GL/gl.h> | |
| #include <GL/glut.h> | |
| #endif |
| #include <sys/sysctl.h> | |
| #include <unistd.h> | |
| #include <err.h> | |
| #include <errno.h> | |
| #include <stdio.h> | |
| int main() | |
| { | |
| int mib[4]; |
| untar() { | |
| ruby -e 'f=$*[0];exec"tar","#{f=~/gz$/?"z":(f=~/bz2?$/?"j": | |
| (raise"Incompatible Archive File"))}vxf",f' -- "$@" | |
| } |
| fetch() { | |
| ruby -e 'u=$*[0];q=39.chr;exec %Q{curl #{q+u+q} > \ | |
| #{q+u.gsub(%r{^.+/},"")+q}}' -- "$1" | |
| } |
| TARGET = "iphone-nano" | |
| TEMPLATE = app | |
| QT = core gui | |
| CONFIG += warn_on | |
| HEADERS = src/IPhoneFrameWidget.h src/MainWindow.h src/helpers.h src/apps/App.h src/apps/Menu.h src/apps/ClockApp.h src/apps/MusicApp.h src/apps/PhotoApp.h | |
| SOURCES = src/main.cc src/IPhoneFrameWidget.cc src/MainWindow.cc src/helpers.cc src/apps/App.cc src/apps/Menu.cc src/apps/ClockApp.cc src/apps/MusicApp.cc src/apps/PhotoApp.cc | |
| INCLUDEPATH += src |
| // ==UserScript== | |
| // @name Google SSL + Related Search Links | |
| // @namespace http://torstenbecker.eu/ | |
| // @match https://encrypted.google.com/* | |
| // @author Torsten Becker, Erik Vergobbi Vold | |
| // @description Adds the missing links to Google Images, etc. when using Google SSL Search. | |
| // ==/UserScript== | |
| // Based on http://stackoverflow.com/questions/2246901/ | |
| // include-jquery-inside-greasemonkey-script-under-google-chrome |