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 |
Tags
- 로지텍 인체공학
- 닥터 마우스
- mirror
- 원격
- 글자 색
- batch
- 도치피자
- apache struts2
- 손목보호 마우스
- 지원 언어
- MX Vertical
- 딜레이
- 수직형 마우스
- Spinner
- colorama
- icloud
- 로지텍 인체공학 마우스
- 크롬
- s2-045
- 역량시험
- 로지텍 프리미엄 마우스
- kali
- 터미널
- ACE
- puthon
- VNC
- 인체공학 마우스
- CVE-2017-5638
- 손목터널증후군 마우스
- mac terminal
Archives
- Today
- Total
목록Spinner 1
공대생의 이것저것☀︎
[Python] Spinner(progress)코드
가끔 각종 취약점 관련 exploit 코드를 실행시키다 보면scan단계에서 처리중임을 보여주는 게 보인다구글링해서 찾다가 아주 좋은 코드가 있어서 옮겨왔다. import sys, threading class Spinner: busy = False delay = 0.5 @staticmethod def spinning_cursor(): while 1: for cursor in '|/-\\': yield cursor def __init__(self, delay=None): self.spinner_generator = self.spinning_cursor() if delay and float(delay): self.delay = delay def spinner_task(self): while self.busy:..
IT/Develop
2017. 12. 29. 01:36