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