Skip to content

Instantly share code, notes, and snippets.

@Sitwon
Created July 18, 2011 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sitwon/1090802 to your computer and use it in GitHub Desktop.
Save Sitwon/1090802 to your computer and use it in GitHub Desktop.
Not mine, it was on an invite to one of their parties.
/* Hacker Halfway House */
#include <stdio.h>
int main(){int b,i=6,h[]={0xfffffbdf,0x7bde,
0x7bde,0,0x7bde,0x7bde,0xfffffbdf,
0x4861636b,0x65722048,0x616c6677,0x61792048,
0x6f757365,0};while(h[++i]&&ntohl(1)!=1)
h[i]=ntohl(h[i]);while(1){for(i=0;i<0xe0;
i++){if(!(i%32))puts("");b=(rand()>>(i%30))
%2;if((((i%32)>7)&&!(h[i/32]&(1<<((i%32)-8))
))&(i%32<24)){printf(" ");}else{printf("%d",
b);}}usleep(1 << 17);printf("\n\t%s\x1b[8A",
&h[7]);}}
/* Welcome. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment