Skip to content

Instantly share code, notes, and snippets.

View dwisiswant0's full-sized avatar
๐Ÿ’€
Bashturbation

Dwi Siswanto dwisiswant0

๐Ÿ’€
Bashturbation
View GitHub Profile
@dwisiswant0
dwisiswant0 / xss_clean.php
Created September 17, 2018 09:26 — forked from mbijon/xss_clean.php
XSS filtering in PHP (cleans various UTF encodings & nested exploits)
<?php
/*
* XSS filter, recursively handles HTML tags & UTF encoding
* Optionally handles base64 encoding
*
* ***DEPRECATION RECOMMENDED*** Not updated or maintained since 2011
* A MAINTAINED & BETTER ALTERNATIVE => kses
* https://github.com/RichardVasquez/kses/
*
* This was built from numerous sources
@dwisiswant0
dwisiswant0 / console-example.php
Created July 30, 2018 06:11 — forked from sallar/console-example.php
PHP Colored CLI Output Script.
<?php
// Output screenshot:
// http://cl.ly/NsqF
// -------------------------------------------------------
include_once 'console.php';
// ::log method usage
// -------------------------------------------------------
Console::log('Im Red!', 'red');
@dwisiswant0
dwisiswant0 / go-os-arch.md
Created February 12, 2018 04:53 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.8.3 darwin/amd64.

A list of valid GOOS values

(Bold = supported by go out of the box, ie. without the help of a C compiler, etc.)

  • android
  • darwin