Skip to content

Instantly share code, notes, and snippets.

View Enough7's full-sized avatar
🌴

Enough7

🌴
  • Karlsruhe, Germany
  • 02:22 (UTC +02:00)
View GitHub Profile
@Enough7
Enough7 / Makefile-mermaid
Last active December 22, 2023 17:37 — forked from derektamsen/Makefile-mermaid
Makefile to render all mermaid diagrams in the directory it is placed in.
src_files := $(wildcard *.mmd)
out_files := $(patsubst %.mmd,output/%.png,$(src_files))
.PHONY: all clean
all: $(out_files)
output/%.png: %.mmd
mkdir -p $(dir $@)
mmdc -c ./mermaidconfig.json \
@Enough7
Enough7 / .md
Last active January 24, 2023 23:03 — forked from pwnedDesal/.md
PHP Session Data Injection Vulnerability

PHP Session Data Injection Vulnerability

Taoguang Chen <@chtg57> - Write Date: 2016.7.27 - Release Date: 2016.8.18

PHP's session php/php_binary handlers wrongly handles the session name cause arbitrarily session data injection.

Affected Versions

Affected is PHP 5 < 5.6.25
Affected is PHP 7 < 7.0.10