일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 숫자분리
- set
- 삼성클라우드오류
- L
- 레나튜토리얼.
- 레나튜토리얼
- 티스토리챌린지
- flask 구조
- Python
- 오블완
- 클립보드간공유기능
- flask blueprint
- 멀티컨트롤오류
- 삼성노트동기화오류
- 리버싱
- flask
- flask설치
- NMAP
- 플라스크 애플리케이션 팩토리
- 포트스캐너
- 파이썬
- tuple
- portswigger
- 플라스크
- AQ
- 리버스 엔지니어링
- pe구조
- 리버스엔지니어링
- Today
- Total
목록Public/Code Review (3)
정보보안
# Python Snippet 1server.py 1 from http.server import BaseHTTPRequestHandler, HTTPServer2 from http.cookies import SimpleCookie3 import base644 import pickle5 6 class MyServer(BaseHTTPRequestHandler):7 def doGET(self):8 cookies = SimpleCookie(self.headers.get('Cookie'))9 if cookies.get('username'):10 username = pickle.loads(base64.b64decode(cookies.get('u..
# JAVA Snippet 1Secure.java1 import java.util.Base64;2 import java.security.MessageDigest;3 import java.security.SecureRandom;4 import java.nio.charset.StandardCharsets;5 public class Secure {6 private static String secret = "[...]";7 8 public static String build_redirect() throws Exception {9 SecureRandom rand = new SecureRandom();10 String tx_id=String.valueOf(rand.nextInt(100000))..
# PHP Snippet 1jwt.php1 $parts = explode('.', $_GET['jwt']);2 $algorithms = array('HS256', 'HS384', 'HS512');3 if (3 !== count($parts)) {4 throw new \InvalidArgumentException('Invalid or malformed JWT supplied.');5 }6 $header = json_decode(self::decode($parts[0]), true);7 if (in_array($header['alg'], $algorithms)) {8 ...9 } PHP 8 이전 버전에서 발생할 수 있는 취약 코드다.몇 번 라인의 코드에서 어떤 취약점이 발생할 수 있을까? 정답은 아래..