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
- ftz
- 시스템
- System
- 워게임
- Web
- WarGame
- TCP
- 비박스
- Webhaking
- 알고리즘
- 소프트웨어보안
- 해킹
- 모의해킹
- 네트워크보안
- bee-box
- dreamhack
- network
- 웹해킹
- 웹
- reversing
- 시스템해킹
- CodeEngn
- 리버싱
- 네트워크
- 소프트웨어
- hacking
- 순서도
- webhacking
- 드림핵
- XSS
Archives
- Today
- Total
목록SQL (1)
Without a Break
[문제 파일] 데이터베이스 DATABASE = "database.db" if os.path.exists(DATABASE) == False: db = sqlite3.connect(DATABASE) db.execute('create table users(userid char(100), userpassword char(100));') db.execute(f'insert into users(userid, userpassword) values ("guest", "guest"), ("admin", "{binascii.hexlify(os.urandom(16)).decode("utf8")}");') db.commit() db.close() 데이터베이스 파일이 존재하지 않는 경우 파일을 생성하고 연결한다. 유저 테이블을..
Web/Wargame
2022. 9. 24. 17:49