Skip to content

Instantly share code, notes, and snippets.

View xatier's full-sized avatar
💭
吃點心

xatier xatier

💭
吃點心
  • ド田舎
View GitHub Profile
@xatier
xatier / vpngate.pl
Created March 24, 2015 08:18
get OpenVPN config files from vpngate server list
#!/usr/bin/perl
#####################################################
# OpenVPN config tool for vpngate
# http://www.vpngate.net/en/
#
# get OpenVPN config files from vpngate server list
#
# Author: @xatierlikelee
# License: GPL
@xatier
xatier / dmhy-magdl.py
Last active August 29, 2015 14:13 — forked from dannvix/dmhy-magdl.py
Command-line downloader (via magnet link) for share.dmhy.org
#!/usr/bin/env python3
# encoding: utf-8
# dmhy-magdl.py -- command-downloader for share.dmhy.org
# originally from my friend @dannvix
# modified by @xatier
# https://gist.github.com/dannvix/bcdbc83a880728f658cb
import datetime
import sys
import urllib.parse
#!/usr/bin/env python3
import lxml.html
import argparse
class RSS:
def __init__(self, url):
assert(url != "")
self.url = url
#!/usr/bin/env python3
import lxml.html
import argparse
class RSS:
def __init__(self, url):
assert(url != "")
self.url = url
@xatier
xatier / c.py
Last active August 29, 2015 14:03
rip images from ねこ@ふたば <3
#!/usr/bin/env python3
########################################################################
#
# A ねこ@ふたば image crawler
#
# License: [GPL](http://www.gnu.org/copyleft/gpl.html)
#
# Usage: ./c.py > foo.html && chromium foo.html
#
# we have these files under `pwd`
┌─[ Fri Jul 04-18:16:29 ] xatier @ xatier-Air ^_^ [ ~> on master= ]
└─[~/work/llvm/llvm/lib/AsmParser]-[Mac OS X] $ ls
CMakeLists.txt LLLexer.h LLParser.h LLVMBuild.txt Parser.cpp
LLLexer.cpp LLParser.cpp LLToken.h Makefile module.modulemap
# now I press `cat l[tab]`

1. Use all of WHOIS, Robtex, and PhishTank to trace back on a phishing email found in your mailbox. If you don’t find one, create one email account and post the email address onto Web to solicit some. Show and discuss your findings.

in my mailbox img

the original mail in plain text img

126.com is a webmail service in China, it's easy to crack an account and use that to spam to others.

@xatier
xatier / kink.pl
Last active August 29, 2015 14:02
#!/usr/bin/env perl
########################################################################
#
# One hot night in Taichung, I read some intorductions to `kink.com`
# Video clips in this site are pretty great, so I try to do some hack to the site.
#
# Happy hacking,
# - xatier
#
我見過的一個讓我瞠目結舌的電腦高手
1
  很久以前,那還是我用win98的時候有次我系統崩潰了,因為我是電腦白吃,我朋友給
我介紹了一個高手來幫我修電腦。