Author: zhangyoufu @ Blue-Lotus
opcode[5] rd[3] imm[8]
00001: mem[GPR[rd]] = imm8
00011: GPR[rd] |= imm8 << 8
| __all__ = ['curry'] | |
| # Modified from http://mtomassoli.wordpress.com/2012/03/18/currying-in-python/ | |
| # Not perfect, but almost there | |
| # Note: func_name must be ascii string | |
| def generate_curry_func_name(func, *args, **kwargs): | |
| argument = map(repr, args) | |
| argument += [u'%s=%s' % (k,repr(kwargs[k])) for k in func.func_code.co_varnames if k in kwargs] | |
| argument = u', '.join(argument) |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| stu_id = 'your student id' | |
| username = password = 'use your own credential, hint: 00xxxxx' | |
| host = '10.14.101.169' | |
| login_url = 'http://10.14.101.169/LogOn' | |
| lab_url ='http://10.14.101.169/TA/lab/Edit/114' | |
| check_url = 'http://10.14.101.169/QianDao' |
| #include <stdio.h> | |
| #include <stdarg.h> | |
| #include <stddef.h> | |
| typedef int jint; | |
| typedef int jclass; | |
| typedef int jobject; | |
| typedef int jmethodID; | |
| typedef int jfieldID; | |
| typedef int JNIEnv; |
| import requests | |
| import re | |
| default_host = 'wx.qq.com' | |
| # default_host = 'web.weixin.qq.com' | |
| # default_host = 'web.wechat.com' | |
| # default_host = 'web2.wechat.com' | |
| # default_host = 'web.wechatapp.com' | |
| # default_lang = 'en_US' |
| VMWare .vmx | |
| debugStub.listen.guest64 = "TRUE" | |
| debugStub.listen.guest64.remote = "TRUE" | |
| debugStub.hideBreakpoints = "TRUE" | |
| Note: IDA 64bit can only handle 64-bit long mode | |
| Ref: http://bbs.pediy.com/showthread.php?p=1285364 |
| import requests | |
| class DummyList( list ): | |
| def __len__( self ): | |
| return 1 | |
| requests.post( 'http://requestb.in/ul8ixpul', data={'a':'A'}, files=DummyList() ) |
| /******************************************************************************* | |
| * | |
| * No cON Name Capture The Flag 2014 Qual | |
| * | |
| * NcN CTF 2014 Qual - eXPLicit - 500 pts | |
| * | |
| * Reverse Engineered by libmaru (libmaru#gmail.com) | |
| * | |
| * Produce identical binary (except Build ID) as the official one | |
| * |
| from gevent.monkey import patch_all | |
| patch_all() | |
| from gevent.pool import Pool | |
| from prettytable import PrettyTable | |
| from pyquery import PyQuery | |
| from sys import argv, stderr | |
| import pycountry | |
| import re | |
| import requests |
| import re | |
| import requests | |
| import sys | |
| if len(sys.argv) != 2: | |
| print 'Usage: python niv.py <Case Number (AAxxxxxxxx)>' | |
| exit() | |
| url = 'https://ceac.state.gov/CEACStatTracker/Status.aspx?App=NIV' |