분류 전체보기(151)
-
python with
/usr/lib/python3.8/_pyio.py def open(file, mode="r", buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None): ... try: text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering) result = text text.mode = mode return result except: result.close() raise class IOBase(metaclass=abc.ABCMeta): ... def __enter__(self): # That's a forward reference """Context mana..
2022.11.07 -
python 실행 중간에 interactive shell 띄우기
import code # ... code.interact(local=locals())
2022.11.06 -
wsl에 usb mount하기
sudo mkdir /mnt/f sudo mount -t drvfs f: /mnt/f
2022.10.26 -
ㅇㅇ
보호되어 있는 글입니다.
2022.07.17 -
rust로 WASI 컴파일
https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-tutorial.md#from-rust cargo new demo > src/main.rs 작성 rustup target add wasm32-wasi cargo build --target wasm32-wasi target/wasm32-wasi/debug/demo.wasm 위 경로에 .wasm 파일 생성됨 (+) 디버깅 https://docs.wasmtime.dev/examples-debugging.html gdb --args wasmtime run -g target/wasm32-wasi/debug/demo.wasm pwndbg> r ^C ... pwndbg> x/10i demo::main ..
2022.06.19 -
[GoogleCTF quals 2021] adspam
app-release.apk 라는 apk를 줌 apk 리버싱을 안해봤다 https://balsn.tw/ctf_writeup/20210717-googlectf2021/#adspam Google CTF 2021 Quals Google CTF 2021 Quals Reverse cpp The file cpp.c is a c source code file with lots of macro, the goal is to define the macro FLAG_0 ~ FLAG_20 with correct characters to pass the flag check. The logic of flag checker and the execution flow are implemented b balsn.tw https://ar..
2022.04.23