Skip to content

Instantly share code, notes, and snippets.

<3 C#.NET, PHP, Java

りいんちゃん reinforchu

<3 C#.NET, PHP, Java
Block or report user

Report or block reinforchu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
reinforchu / color.php
Created Mar 14, 2019
Possibility of DOM based XSS attack by Pseudo-elements from CSS Injection
View color.php
<!DOCTYPE html>
<meta charset="utf-8">
h3:after {
content: 'red';
color: red;
h4:after {
View web.config
<?xml version="1.0" encoding="UTF-8"?>
<add name="CustomHeader" type="CustomHeader.Class1" />
View CustomHeader.cs
using System;
using System.Web;
namespace CustomHeader
/// <summary>
/// Add Custom Header
/// </summary>
public class Class1 : IHttpModule
reinforchu /
Created Aug 2, 2015
SSLscan Install Script for OS X
mkdir ~/Desktop/tmp
cd ~/Desktop/tmp
git clone
cd sslscan
tar -xzvf openssl-1.0.2d.tar.gz
mv openssl-1.0.2d.tar.gz openssl
xcode-select --install
cd openssl
reinforchu / xss.jpg
Last active Nov 22, 2015
IE6/7 gist XSS (Internet Explorer vulnerability)
View xss.jpg
<script>alert('gist XSS')</script>
reinforchu / gist:5154014
Last active Dec 14, 2015
View gist:5154014
$upload = new upload();
* コンテンツアップロード
reinforchu / php-Thumbnail
Created Jan 24, 2013
View php-Thumbnail
$upload = new upload();
class upload {
public $file;
public $ext;
public $thumb;
private $date;
reinforchu / convertLocalTime
Created Oct 14, 2012
This is a function to convert local time to time format for twitter API.
View convertLocalTime
* Convert local time to time format for twitter API.
* @param timeStamp Time format for twitter API.
* @return Local time. Depends on the regional settings of the server and time.
public static function convertLocalTime($timeStamp) {
if (isset($timeStamp) === FALSE) return FALSE;
sscanf($timeStamp, "%s %s %d %s %s %d", $week, $month, $day, $time, $gmt, $year);
$rcf2822 = "{$week}\054\040{$day}\040{$month}\040{$year}\040{$time}\040{$gmt}";
You can’t perform that action at this time.