본문 바로가기

reverse3

Nginx Reverse Proxy Content Caching 이해와 설정 방법 Nginx에서 특정 경로를 캐시하지 않으려면, proxy_no_cache 디렉티브를 사용하여 해당 경로를 지정하고 캐시를 사용하지 않도록 설정해야 합니다. 아래는 Nginx 구성 파일에서 / 경로를 캐시하지 않는 방법을 보여주는 예제입니다. location / { proxy_no_cache 1; proxy_cache_bypass $http_pragma $http_authorization; # 다른 프록시 설정 옵션들... } 위의 예제에서 location /은 루트 경로를 나타냅니다. / 경로의 요청을 캐시하지 않으려면 proxy_no_cache 1;을 설정합니다. 또한 proxy_cache_bypass 지시어를 사용하여 특정 헤더 ($http_pragma와 $http_authorization)가 존재할.. 2023. 11. 23.
jq 필터로 JSON 정렬하기 jq는 커맨드 라인 상에서 JSON 데이터를 필터링하고 가공하는 강력한 도구입니다. JSON 데이터를 정렬하기 위해서는 다음과 같이 jq 필터를 사용할 수 있습니다. 예시를 위해 다음과 같은 JSON 데이터가 있다고 가정하겠습니다. [ { "name": "Alice", "age": 30 }, { "name": "Bob", "age": 25 }, { "name": "Eve", "age": 35 } ] 이름(name)을 기준으로 오름차순 정렬: cat data.json | jq 'sort_by(.name)' 출력 결과: [ { "name": "Alice", "age": 30 }, { "name": "Bob", "age": 25 }, { "name": "Eve", "age": 35 } ] 이름(name)을 기.. 2023. 7. 27.
Android Reverse Engineering - A Kick Start Contents Setting up the Ground Getting Started with the Game Real Android Reversing Decoding the Algorithm Final Verification of Reversing Conclusion Setting up the Ground Well, it seems people are getting crazy about Android platform(everyone is trying to buy an Android phone!). I don�t have an Android cell phone but, lets see if I can get my hands dirty with this Linux+java clean room engineer.. 2011. 4. 6.