본문 바로가기
728x90
반응형

전체 글392

how to set ssl certificate using "Let's encrypt" in nginx Let's encrypt를 이용하여 nginx에 무료로 인증서 설치하는 방법 1. certbot 설치 sudo apt install certbot sudo apt install python3-certbot-nginx 2. 인증서 설치 sudo certbot --nginx -d -d ... 도메인이 하나라면 하나만 쓰면 된다. 근데 www.my-domain.kr, my-domain.kr 이렇게 두 개 등록하는게 편하다 혹시나 아래와 같은 에러 메시지가 발생한다면, "sudo apt install python3-certbot-nginx" 를 실행했는지 확인할 것. Saving debug log to /var/log/letsencrypt/letsencrypt.log The requested nginx plug.. 2023. 4. 12.
how to extract apk file apk 파일을 추출하는 방법 1. 웹 사이트 이용(비추천) https://apkpure.com/kr/ APK 무료 온라인 다운로더를 다운로드하십시오 | APKPure.com Add APKPure to Home Screen Find what you need faster with our free web-app! apkpure.com 위 사이트에서 다운로드 하고자 하는 앱을 검색 후 다운로드 https://apps.evozi.com/apk-downloader/ APK Downloader [Latest] Download Directly | February 2023 | (Evozi Official) Have you ever wanted to get your hands on the latest game, only .. 2023. 3. 21.
how to read "[object Object]" using frida in Android frida로 안드로이드 분석시 "[object Object]" 읽는 방법 frida로 함수 등을 후킹해서 안드로이드에서 사용하는 변수의 값을 읽고자 할 때, 실제 byte, int 등의 자료형이 아닌 Object 자료형으로 분류되는 경우가 종종 있다. 이것 때문에 상당히 골치아팠는데, 해결책을 찾아서 정리. 1. bytes, byte array인데 frida로 출력시 Object라고 나오는 경우 /* test = [41, 42] return "AB" */ function buf2hex(buf) { var arrayBuffer = new Uint8Array(buf); var s = String.fromCharCode.apply(null, arrayBuffer); return s; } /* test = "A.. 2023. 2. 15.
anti anti frida 보호되어 있는 글 입니다. 2023. 2. 2.
Windows Kernel Explorer 커널 프로세스를 쉽게 확인할 수 있다 ㅋㅋ "Kernel > Callback & Notification"을 누르면 아래처럼 리스트가 쫙 나옴 여기서 제거하고 싶은거 제거하면 됨. 유용 :) https://github.com/AxtMueller/Windows-Kernel-Explorer GitHub - AxtMueller/Windows-Kernel-Explorer: A free but powerful Windows kernel research tool. A free but powerful Windows kernel research tool. Contribute to AxtMueller/Windows-Kernel-Explorer development by creating an account on GitHub.. 2023. 1. 31.
python simple reflector server 가끔 점검할 때 필요해서 저장. from http.server import HTTPServer, BaseHTTPRequestHandler import json class MyHTTPRequestHandler( BaseHTTPRequestHandler ): def do_GET(self): self.send_response(200) self.send_header( 'Content-type', 'application/json' ) self.end_headers() self.wfile.write(b"") def do_POST(self): self.send_response(200) self.send_header( 'Content-type', 'application/json' ) self.end_headers() .. 2023. 1. 5.
how to solve "Waiting For Debugger" 안드로이드 앱 점검 도중 "Waiting For Debugger" 메시지가 발생할 경우 해결책 재부팅도 해보고 검색도 해봤는데, 아래 명령어로 해결됨. 나중에 같은 상황이 발생할 경우 또 검색할 것 같아서 미리 저장. adb shell am clear-debug-app . 2023. 1. 4.
Android temporarily directory Android temporarily directory Android temp directory 오랜만에 안드로이드 보는데 자꾸 까먹어서 저장 사실 적당한 디렉토리 아무거나 써도 상관없겠지만.. /data/local/tmp 2023. 1. 3.
wordpress not showing upload button in post editor 문제상황 워드프레스 플러그인을 이것저것 만지다가 갑자기 게시글 작성 중 이미지, 파일 등을 업로드하는 버튼이 안 나오는 상황이 발생하였다. To edit this block, you need permission to upload media. To edit the featured image, you need permission to upload media. Upload an image file, pick one from your media library, or add one with a URL. 특성 이미지를 편집하려면 미디어 업로드 권한이 필요합니다. 이 블록을 편집하려면 미디어 업로드 권한이 필요합니다. 등 권한 관련 문제라고 나온다. 그래서 업로드 디렉토리 접근 문제인가 싶어서 업로드 디렉토리에 77.. 2022. 12. 13.
워드프레스 디렉토리 권장 권한 설정 사실 블로그 같은거 할거면 그냥 티스토리나 네이버 블로그 쓰는게 훨씬 안전하고 편리하지만, 워드프레스 가끔 세팅할 일이 있으니 정리. sudo find /your/wordpress/dir -type d -exec chmod 775 {} \; sudo find /your/wordpress/dir -type f -exec chmod 664 {} \; 2022. 12. 13.
현재 웹 페이지의 모든 이미지 다운로드하는 방법 크롬 확장 프로그램 "Image Downloader"를 이용하면 손쉽게 현재 웹 페이지의 모든 이미지를 다운로드하는 것이 가능하다. https://chrome.google.com/webstore/detail/image-downloader/cnpniohnfphhjihaiiggeabnkjhpaldj Image Downloader Browse and download images on the web chrome.google.com 현재 페이지의 모든 이미지 파일을 확인할 수 있고, 다운로드하려는 파일을 선택해서 다운로드 할 수 있다. Rename files에 문자열을 입력하면 test1, test2, ... 이런 식으로 입력한 문자열 뒤에 숫자가 붙어서 나와서 편리. 2022. 12. 12.
우분투에 워드프레스 설치하기 대학교 입학하고 나서 1학년 때 처음 서버 설치할 때는 LAMP라 해서 Linux + Apache + MySQL + PHP 설치를 주로 했었는데, 우분투에 워드프레스 설치할 일이 있어 검색해보니 요즘은 LEMP가 대세인 듯 하다. Linux + (E)nginx + MariaDB + PHP . 최근에는 간단한 홈페이지는 모두 파이썬을 이용해 플라스크 서버를 많이 만들었는데, 워드프레스로 뭐 해보고 싶은게 있어서 우분투에 워드프레스 설치 겸 정리. 1. apt 업데이트&업그레이드 sudo apt update -y sudo apt upgrade -y 2. php 설치 sudo apt install php -y 3. nginx 설치 sudo apt install nginx -y sudo systemctl sta.. 2022. 12. 6.
728x90
반응형