Python process()

운영 체제: Fedora 31 Workstation x64

사용 버전: Python 3.7.7, pwntools 4.3.0.dev0


파이썬 pwntools process()에 대해서 알아보겠습니다.


괄호 안에는 argv, shell, executable, cwd, env, stdin, stdout, stderr, close_fds, preexec_fn, raw, aslr, setuid, where, display, alarm 따위가 들어갑니다.


pwntools process()는 pwntools로 해당 프로그램을 실행합니다.


argv[0]는 보통 경로입니다.





pid 3253으로 프로그램이 시작된 것을 알 수 있습니다.



argv가 2 개 이상 사용된다면 리스트 형식으로 적습니다.





끝.



카테고리: Python, pwntools

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

Forensics .pyc 파일 .py로 복구하기

KiCad 시작하기 4 (기존 회로도 수정 및 추가)

KiCad 시작하기 1 (회로도 만들기)

KiCad 시작하기 3 (새로운 소자 추가하기)

Kivy 시작하기 12 (Pyinstaller로 exe 파일 만들기)

딩기 요트 명칭

Android Notification with Full Screen

iOS Swift callAsFunction

Android Room database FTS