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 | 31 |
Tags
- gogs
- module
- gogs private git
- 코드게이트
- BLUETOOTH
- openctf
- NGINX
- Hacking
- Branch
- doorlock
- 도메인 https
- npm
- shellcraft
- CVE
- https
- Git
- 코드게이트2017
- pwntools
- codegate2017
- node.js
- xlsx
- node
- pwnable
- CODEGATE2018
- 노드 엑셀
- lob
- Codegate
- 코드게이트 주니어
- https설정
- blueborne
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 |
|---|