Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- node
- codegate2017
- Branch
- 도메인 https
- module
- shellcraft
- openctf
- lob
- gogs private git
- gogs
- https설정
- Codegate
- node.js
- Hacking
- CODEGATE2018
- pwntools
- xlsx
- npm
- CVE
- Git
- 코드게이트
- 코드게이트 주니어
- 코드게이트2017
- 노드 엑셀
- doorlock
- blueborne
- NGINX
- https
- pwnable
- BLUETOOTH
Archives
- Today
- Total
고졸백수해킹일기
os.system의 결과를 변수로 받아오기 본문
#python2
import commands
ret = commands.getstatusoutput('ls -al /tmp')
print ret
##########
#python3
import subprocess
x = subprocess.check_output(['whoami'])
print(x)
'코딩 > python' 카테고리의 다른 글
python thread의 알쓸신잡 (0) | 2020.11.17 |
---|