Skip to content

Instantly share code, notes, and snippets.

View heiswayi's full-sized avatar
👽

Heiswayi Nrird heiswayi

👽
View GitHub Profile
@heiswayi
heiswayi / mh17.csv
Last active September 29, 2015 09:16
MH17 Parseable Passenger Manifesto CSV
NO RANK NAME NATIONALITY GENDER
P1 PASSENGER ALDER / JOHNMR UNITED KINGDOM M
P2 PASSENGER ALLEN / CHRISTOPHERMR NETHERLANDS M
P3 PASSENGER ALLEN / IANMSTR NETHERLANDS M
P4 PASSENGER ALLEN / JOHNMR UNITED KINGDOM M
P5 PASSENGER ALLEN / JULIANMR NETHERLANDS M
P6 PASSENGER ANDERSON / STEPHEN LESLIE MR UNITED KINGDOM M
P7 PASSENGER ANGHEL / ANDRE MR CANADA M
P8 PASSENGER ANTHONYSAMY / MABEL MS MALAYSIA F
P9 PASSENGER AVNON / ITHAMARMR NETHERLANDS M
@heiswayi
heiswayi / mh370.csv
Last active September 29, 2015 09:27
MH370 Parseable Passenger Manifesto CSV
NO NAME NATIONALITY AGE
1 AN / WENLAN CHINESE 65
2 BAO / YUANHUA CHINESE 63
3 BAI / XIAOMO CANADIAN 37
4 BIAN / MAOQIN CHINESE 67
5 BIAN / LIANGJING CHINESE 27
6 BIBYNAZLI / MOHDHASSIM MALAYSIAN 62
7 BRODSKII / NIKOLAI RUSSIAN 43
8 BURROWS / RODNEYMR AUSTRALIAN 59
9 BURROWS / MARYMRS AUSTRALIAN 54
@heiswayi
heiswayi / walkaway.php
Created October 8, 2015 15:45
HNSecurity Walkaway - PHP Proxy by Heiswayi Nrird
<?php
# HNSecurity Walkaway - PHP Proxy - Heiswayi Nrird
# CONFIG {{{
# Default to simple mode when the page is loaded. [false]
define('DEFAULT_SIMPLE',false);
# Force the page to always be in simple mode (no advanced mode option). [false]
define('FORCE_SIMPLE',false);
@heiswayi
heiswayi / gist:34d0de1ddfa72fb53e7e
Created October 14, 2015 01:48 — forked from jwoschitz/gist:1129249
Brute force implementation / C#
class Program
{
#region Private variables
// the secret password which we will try to find via brute force
private static string password = "p123";
private static string result;
private static bool isMatched = false;
@heiswayi
heiswayi / reset.min.css
Created October 21, 2015 05:53
Based on Eric Meyers v2.0 reset
html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockckquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}
@heiswayi
heiswayi / auto_signin_to_punbb.php
Created October 26, 2015 06:50
PunBB Login Integration from Other Site
<?php
// FILENAME: auto_signin_to_punbb.php
// WRITTEN BY: Heiswayi Nrird
// Define the path to the forum root
define('FORUM_ROOT', './punbb/');
require FORUM_ROOT.'include/common.php';
($hook = get_hook('li_start')) ? eval($hook) : null;
// Load the login.php language file
@heiswayi
heiswayi / tumbnail_maker.php
Created January 12, 2016 01:40
PHP code snippet to generate image tumbnails
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Thumbnail Maker</title>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<style>
body{
padding: 10px 30px;
@heiswayi
heiswayi / Program.cs
Created April 14, 2016 07:34
C# multithreading
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Example1
{
class Program
@heiswayi
heiswayi / BindingProxy.cs
Last active June 5, 2016 21:34
To bind to data when the DataContext is not inherited
public class BindingProxy : Freezable
{
#region Overrides of Freezable
protected override Freezable CreateInstanceCore()
{
return new BindingProxy();
}
#endregion
@heiswayi
heiswayi / character.csv
Created November 4, 2016 12:53
Target bruteforcing
character frequency
a 6.37933850459
1 6.21151241463
2 4.45739893876
e 4.35398645675
i 3.85404970133
o 3.74752759686
0 3.65563266802
3 3.34822752429
n 3.27218010954