Skip to content

Instantly share code, notes, and snippets.

/home/mdeous/Documents/src/cryptosphere/lib/cryptosphere/version.rb:2: warning: already initialized constant VERSION
/home/mdeous/Documents/src/cryptosphere/lib/cryptosphere.rb:9:in `require': /home/mdeous/Documents/src/cryptosphere/lib/cryptosphere/blobs/blob.rb:78: syntax error, unexpected ':', expecting ')' (SyntaxError)
keys = Cryptosphere.kdf(@hash_function.digest, size: 64)
^
from /home/mdeous/Documents/src/cryptosphere/lib/cryptosphere.rb:9
from ./bin/csphere:2:in `require'
from ./bin/csphere:2
class Toto(object):
def bob(self):
pass
class Tata(Toto):
def bob(self):
return new_value
{"body": "Howdy. Yeah, that's about all I get on XP... the game runs, but no sound. The floppy version gives video, but the cd version only gives static.", "title": "Re: Buzz buzzin'"}
{"body": "The CD version Race Into Space represents is a definite improvement, and there are a number of other improvements, most notably that videos can be cut off, speeding up missions (who wants to watch the same orbital activities video for the 100th time).", "title": "Re: Buzz Aldrin's race into space"}
{"body": "I finally got around to installing the CD version and DOSBox. The game works but I have the video problems too. The news anchor works but the other videos don't. ", "title": "Buzz Aldrin's race into space"}
{"body": "Thanks for responding so quickly.\u00a0 Original, professional CD is flawless.\u00a0 Mounted it correctly in DOSBox - everything is working very well except the video and audio associated with mission execution - just static and nondescript pictures.\u00a0 Walcrite, etc. work normally.\u00a0 Any ideas
@mdeous
mdeous / requires.txt
Created October 9, 2012 18:25
oh-my-vim requires.txt
git+https://github.com/vim-scripts/python.vim.git
git+https://github.com/scrooloose/nerdtree.git
git+https://github.com/scrooloose/syntastic.git
git+https://github.com/vim-scripts/Jinja.git
git+https://github.com/vim-scripts/django.vim.git
git+https://github.com/vim-scripts/xml.vim.git
git+https://github.com/bronson/vim-trailing-whitespace.git
try:
from cStringIO import StringIO
except ImportError:
from StringIO import StringIO
import requests
from lxml.etree import HTMLParser, parse
@mdeous
mdeous / level.c
Created November 20, 2012 09:44
Zenk-Security Wargame - Easy1 ASLR OFF
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(int argc, char* argv[])
{
if (argc != 2)
{
printf("Usage : prog filename\n");
exit(1);
#! /usr/bin/python2.7
"""RFC 3548: Base16, Base32, Base64 Data Encodings"""
# Modified 04-Oct-1995 by Jack Jansen to use binascii module
# Modified 30-Dec-2003 by Barry Warsaw to add full RFC 3548 support
import re
import struct
import binascii
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""(Un)Roast a password sent via AIM/ICQ.
The OSCAR protocol (used by AIM and ICQ) uses two alternative methods to pass
authentification credentials. While the second uses an MD5 hash, the first
only XORs the password with a static character set.
This is meant to recover a forgotten password that is still stored by an ICQ
#include <stdio.h>
#include <stdlib.h>
int main(){
long val=0x00000000;
char tab[20];
scanf("%25s",&tab);
printf("buf: %s\n",tab);
printf("val: 0x%08x\n",val);
@mdeous
mdeous / level.c
Created November 25, 2012 17:53
Zenk ASLR ON easy1
#include <stdio.h>
#include <string.h>
void hello(char * src)
{
char buffer[64];
strcpy(buffer, src);
printf("Hello %s !\n", buffer);
}