Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

りいんちゃん reinforchu

🏠
Working from home
View GitHub Profile
View gist:b10fc0cd411994468ffe2013eb231e02
### Keybase proof
I hereby claim:
* I am reinforchu on github.
* I am reinforchu (https://keybase.io/reinforchu) on keybase.
* I have a public key ASBD-OtHSb_0WevOO8tKudk4_q7uikJ2TSQNPI-hTxK5pgo
To claim this, I am signing this object:
@reinforchu
reinforchu / autoPost.html
Last active January 21, 2021 03:38
file:///Users/reinforchu/Desktop/autoPost.html?login=taro&password=1234
View autoPost.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="cache-control" content="no-cache, no-store">
<meta http-equiv="pragma" content="no-cache">
<meta name="expires" content="0">
<title>Auto Login Demo</title>
</head>
<body>
@reinforchu
reinforchu / Class1.cs
Created February 9, 2020 03:25
AZBlocker
View Class1.cs
using System;
using System.Web;
using System.Text.RegularExpressions;
namespace AZBlocker
{
/// <summary>
/// *.azurewebsites.net access blocker
/// </summary>
public class Class1 : IHttpModule
@reinforchu
reinforchu / Blocker.cs
Created February 9, 2020 02:51
localhostBlocker
View Blocker.cs
using System;
using System.Web;
using System.Text.RegularExpressions;
namespace localhostBlocker
{
/// <summary>
/// localhost access blocker
/// </summary>
public class Blocker : IHttpModule
@reinforchu
reinforchu / color.php
Created March 14, 2019 01:54
Possibility of DOM based XSS attack by Pseudo-elements from CSS Injection
View color.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
h3:after {
content: 'red';
color: red;
}
h4:after {
@reinforchu
reinforchu / web.config
Created December 19, 2018 10:41
web.config
View web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<modules>
<add name="CustomHeader" type="CustomHeader.Class1" />
</modules>
</system.webServer>
</configuration>
@reinforchu
reinforchu / CustomHeader.cs
Created December 19, 2018 10:38
CustomHeader
View CustomHeader.cs
using System;
using System.Web;
namespace CustomHeader
{
/// <summary>
/// Add Custom Header
/// </summary>
public class Class1 : IHttpModule
{
@reinforchu
reinforchu / sslscan_install.sh
Created August 2, 2015 16:26
SSLscan Install Script for OS X
View sslscan_install.sh
#!/bin/bash
mkdir ~/Desktop/tmp
cd ~/Desktop/tmp
git clone https://github.com/rbsec/sslscan.git
cd sslscan
wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
tar -xzvf openssl-1.0.2d.tar.gz
mv openssl-1.0.2d.tar.gz openssl
xcode-select --install
cd openssl
@reinforchu
reinforchu / xss.jpg
Last active July 18, 2022 21:33
IE6/7 gist XSS (Internet Explorer vulnerability)
View xss.jpg
<script>alert('gist XSS')</script>
<script>alert(location.href)</script>
@reinforchu
reinforchu / gist:5154014
Last active December 14, 2015 21:49
こ…これ…これは…………りいんちゃんのクソコードだあああああ┗(^o^)┛wwwww┏(^o^)┓ドコドコドコドコwwwww
View gist:5154014
<?php
require_once('../../php_conf.inc');
require_once('../../resource/MySQL/MySQL.php');
require_once('../../resource/tmhOAuth/tmhOAuth.php');
require_once('../../resource/tmhOAuth/tmhUtilities.php');
$upload = new upload();
/**
* コンテンツアップロード
*