Skip to content

Instantly share code, notes, and snippets.

🤒
Playing FFXIV ...

Ricter Zheng RicterZ

🤒
Playing FFXIV ...
Block or report user

Report or block RicterZ

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:240a8300917306a294d5d5281dcbfd62
#!/usr/bin/env python
#coding: utf8
import socket
import asyncore
import asynchat
import struct
import random
import logging
View derby_exploit.py
import socket, os, sys
if len(sys.argv) < 2:
print('[-] python derby_exp.py [target ip] [target port: default 1527]')
exit(0)
if len(sys.argv) == 2:
sys.argv.append('1527')
if not os.path.exists('payload.data'):
View binary.md

binary 方向

基础

  • python
  • 常见工具的使用(ida,od,windbg,gdb)
  • win32编程(其他平台类推)
  • c与汇编指令的对应
  • c语言
  • 常见汇编指令(其他平台类推)
@RicterZ
RicterZ / bfa.py
Created Mar 16, 2015
Byte Flipping Attack
View bfa.py
import unittest
import json
import os
from Crypto.Cipher import AES
from Crypto import Random
SECRET_KEY = os.urandom(8).encode('hex').upper()
if not AES.block_size == 16:
@RicterZ
RicterZ / SimpleDNSServer
Last active Aug 29, 2015
SimpleDNSServer
View SimpleDNSServer
#!/usr/bin/env python
import sys
import socket
import thread
import re
# DNSQuery class from http://code.activestate.com/recipes/491264-mini-fake-dns-server/
class DNSQuery:
def __init__(self, data):
@RicterZ
RicterZ / AnimeReminder API Docment.md
Last active Jan 1, 2016
新番提醒API3.0文档
View AnimeReminder API Docment.md

新番提醒API文档

####第三次重构

##返回json

{
    "status": status_code,
    "message": error_message,
    "data": return_data
You can’t perform that action at this time.