Skip to content

Instantly share code, notes, and snippets.

View paraboul's full-sized avatar
🏠
Working from home

Anthony Catel paraboul

🏠
Working from home
View GitHub Profile
@paraboul
paraboul / build.sh
Last active August 29, 2015 13:55
Stripe CTF level0
#!/bin/sh
gcc -O3 -static -static-libgcc -fdata-sections -ffunction-sections -s -march=native level0.c -o level0 -Wl,--gc-sections
PRESS RELEASE: IRC NETWORKS UNDER SYSTEMATIC ATTACK FROM GOVERNMENTS
Written by QuakeNet on Thursday 06 February 2014
IRC networks have hosted hundreds of thousands of users discussing every topic imaginable for over two decades. QuakeNet has grown to be one of the largest and we have a diverse base of users connecting from all corners of the globe. Despite the relatively recent dominance of the large social networks IRC maintains its position as a highly relevant and popular platform for free communication, free idea sharing and free expression.
Many of our users are notably technologically capable and started at a young age sharing and learning by using IRC as their open communications platform. Without many internet users even knowing IRC networks exist it is likely that IRC networks have played a key role in shaping the internet itself as well as the people that help develop the technologies behind the internet. All of the large IRC networks operate on a non-profit, sponsor-led basis. There is no centra
/bin/date > /private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-tidy/Release+Asserts/.dir
mkdir: /private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-tidy/Release+Asserts: File exists
/bin/date > /private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-tidy/Release+Asserts/.//.dir
llvm[6]: Compiling IncludeDirectivesTest.cpp for Release+Asserts build
if clang++ -I/private/tmp/llvm3520150421-46957-12ddqem/include -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize/../../../../include -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize/../../../../include -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize/../../clang-m
/*
Copyright (C) 2006, 2007, 2008, 2009 Anthony Catel <a.catel@weelya.com>
This file is part of APE Server.
APE is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
APE is distributed in the hope that it will be useful,
/*
Copyright (C) 2006, 2007, 2008, 2009 Anthony Catel <a.catel@weelya.com>
This file is part of APE Server.
APE is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
APE is distributed in the hope that it will be useful,
switch(*(int *)data) {
case 542393671: /* GET + space */
http->type = HTTP_GET;
break;
case 1414745936: /* POST */
http->type = HTTP_POST;
break;
default:
http->error = 1;
return;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="demo.css" media="screen" title="Normal" />
<script type="text/javaScript" src="../../Clients/JavaScript.js"></script>
<script type="text/javaScript" src="../config.js"></script>
</head>
<body>
<?php
gc_enable();
class Ape_dispatcher
{
private $_socks = array();
private $_socks_write = array();
private $_timers = array();
<html>
<head></head>
<body>
<?ape
var x = 'foo' // some javascript
Ape.async('<img src="load.gif" />', Ape.mysql.query('SELECT foo FROM bar', function(res) {
echo(res[0].foo + ' yeahhhh');
}))
?>
</body>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct parent {
int foo;
char *bar;
};