Skip to content

Instantly share code, notes, and snippets.

View howmp's full-sized avatar
😀
你正在被做成表

guage howmp

😀
你正在被做成表
View GitHub Profile
@howmp
howmp / README.md
Created March 18, 2021 14:33
linux通过suid做权限维持

fakesh

用于linux权限维持

原理

当获得root权限之后,可对fakesh设置suid标志位

之后就可以用fakesh在低权限下获得root权限

@howmp
howmp / pyopcode.py
Created March 5, 2017 05:23 — forked from fate0/pymarshal.py
using all python opcode
# from __future__ import division
# def_op('STOP_CODE', 0)
# ignore
# def_op('POP_TOP', 1)
a()
# def_op('ROT_TWO', 2)
(a, b) = (b, a)