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
- python
- data structure
- XML
- mysql
- github
- php
- javascript
- instruction
- control
- function
- architecture
- Algorithm
- for
- react
- Class
- DoM
- DS
- html
- MacOS
- web
- Pipelining
- system
- MIPS
- CSS
- Linux
- DB
- computer
- while
- Java
- DATAPATH
Archives
- Today
- Total
YYYEJI
[DVWA] 웹 모의해킹 실습 (Command Injection, File Upload) 본문
728x90
Command Injection이란 ? ? ?
사용자가 입력하는 인자 값을 조작해서 OS 명령을 실행하는 공격기법입니다.
내려가면 답이 나와있기 때문에 먼저 풀어보세요 ! ! !
Command Injection - Low level
Command Injection - Medium level
Command Injection - High level
File Upload - Low level
업로드 한 파일의 경로를 알아내서 url 입력창에 get 방식으로 명령어 작성해서 해킹하는 공격방식입니다.
URL 입력창이 Terminal이라고 생각하면 됩니다 ! ! !
File Upload - Medium level
MiME type - 클라이언트에게 전송된 문서의 다양성을 알려주기 위한 메커니즘이다.
text/plain
text/html
image/jpeg
image/png
audio/mpeg
audio/ogg
audio/*
video/mp4
application/octet-stream
…
FILE UPLOAD - 파일 권한을 주면 안 되고, PHP 작성할 수 없게 만들어야 됩니다 ! ! !
◡̈
'Security' 카테고리의 다른 글
[DVWA] 웹 모의해킹 실습 (Stored XSS) (0) | 2022.07.30 |
---|---|
[DVWA] 웹 모의해킹 실습 (Blind SQL Injection) (0) | 2022.07.29 |
[DVWA] 웹 모의해킹 실습 (SQL Injection, XSS) (0) | 2022.07.27 |
[XAMPP] XAMPP 다운로드하기 (0) | 2022.07.26 |
[GDB] gdb 명령어 정리 (0) | 2022.07.19 |