python3、pip3、Excel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 体测程序查询(根据学号) | |
// @namespace tyys | |
// @description 公体部的锅 | |
// @include http://www.tyys.zju.edu.cn:8080/hyz/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
function createSearchArea() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 教务网验证码识别 | |
// @namespace dddong.org.cn | |
// @description 识别验证码的脚本 | |
// @include http://10.202.78.12/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
//vertical 5~17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pefile | |
def find_string_occurrences(string): | |
results = [] | |
base = idaapi.get_imagebase() + 1024 | |
while True: | |
ea = FindBinary(base, SEARCH_NEXT|SEARCH_DOWN|SEARCH_CASE, '"%s"' % string) | |
if ea != 0xFFFFFFFF: | |
base = ea+1 | |
else: | |
break |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=/home/dddong/softwares/node-v8.9.1-linux-x64/bin/:/home/dddong/bin:/home/dddong/third_party/llvm-build/Release+Asserts/bin/:/home/dddong/softwares/depot_tools:~/go/bin:/usr/local/nginx/sbin:/home/dddong/workspace/Android-build/aarch64-linux-android-4.9-ce9d77505072450d2f16a4bf06673f31d8d67ff0/bin:/home/dddong/bin:/usr/local/bin:/usr/local/cbc/bin:$PATH:/home/dddong/softwares/build_chromium/depot_tools | |
# Path to your oh-my-zsh installation. | |
export ZSH=/home/dddong/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//wearversion | |
//wearlog | |
//wearvoiceinputenable | |
//wearvoiceinputdisable | |
//weargoogleapi | |
//assert | |
//pushassert | |
//uplog | |
//upcrash | |
//switchnotificationstatus |
Source: man syscall
Every architecture has its own way of invoking and passing arguments to the kernel. The details for various architectures are listed in the two tables below.
The first table lists the instruction used to transition to kernel mode, (which might not be the fastest or best way to transition to
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings set target.load-cwd-lldbinit true | |
command script import ~/.lldb/pwn_debug.py | |
#command script import /usr/local/opt/chisel/libexec/fblldb.py | |
#command script import /Users/dddong/softwares/WebKit-git/Tools/lldb/lldb_webkit.py | |
command alias bp breakpoint | |
command alias bpl breakpoint list | |
command alias bfl breakpoint set -f %1 -l %2 | |
command alias stack memory read -c %1 -f "x" -s 8 $rsp | |
command alias bc breakpoint set -a $rip |