728x90 반응형 전체 글398 how to fix : Java Algorithm constraints check failed on key RSA with size of 1024bits RSA 키 길이 문제의 자바 에러 해결 방법 Java Algorithm constraints check failed on key RSA with size of 1024bits 위와 같은 에러가 발생하며, SSL 통신이 불가능한 문제가 발견되었다. 해결책은 두 가지인데, 1. 2048bits 길이의 인증서로 교체 2. 자바 보안 설정 변경 나는 이 중에 자바 보안 설정을 변경하였다.GPT는 권장하지 않는다고 하더라. JAVA/~/lib/security에 가면 java.security 라는 파일이 있는데 여기서 RSA keySize 관련 설정을 변경하면 된다. ... RSA keySize 근데 2048을 1024로 변경해도 자바에서 실행할 때 계속 2048 길이를 비교했는데, 삽질 결과 /etc/cryp.. 2025. 4. 24. how to fix Error response from daemon: unable to create manifests file: NotFound: content digest docker save 할 때 nable to create manifests file: NotFound 에러 해결방법 에러 내용mac pro m4 환경에서 "docker pull --platform=amd64 cassandra:4"로 카산드라 4의 amd64 이미지를 받은 후에 docker save로 이미지를 tar로 추출하려는데 아래와 같은 에러 메시지가 출력되었다. Error response from daemon: unable to create manifests file: NotFound: content digest 해결책해결책은 간단한데 docker image rm cassandra:4.1 # 기존 이미지 삭제docker pull --platform=linux/amd64 cassandra:4.1do.. 2025. 3. 31. how to Decrypt SSL using L7 FireWall Palo Alto 팔로알토 방화벽을 이용해 SSL 통신을 복호화 하는 방법 ECDHE 방식의 암호화 알고리즘을 사용하면 방화벽에서 복호화가 불가능. 2025. 1. 14. how to set platform and docker pull 플랫폼을 설정하여 docker pull로 도커 이미지를 내려받는 방법 m1 맥북에서 docker pull로 내려받는 이미지는 x86/64에서 바로 실행할 수 없다. 기본적으로 docker pull 명령어를 사용할 때 해당 PC의 아키텍처(플랫폼)를 고려하여 내려받는 듯하다. 그에 따른 해결책은 간단한데, 도커 이미지를 내려받을 때 아키텍처를 지정해주면 된다. docker pull --platform linux/amd64 tomcat:9 끝. 2024. 10. 23. how to install docker standalone 출처: https://docs.docker.com/engine/install/binaries/ BinariesLearn how to install Docker as a binary. These instructions are most suitable for testing purposes.docs.docker.com standalone으로 도커 설치하는 방법 1. 설치하고자 하는 환경에 맞는 바이너리 다운로드https://download.docker.com/linux/static/stable/?_gl=1*rtzxu9*_ga*ODg2NDE2MDU3LjE2ODUyNDI0Njg.*_ga_XJWPQMJYHQ*MTcyODYwMTk0My4xMS4xLjE3Mjg2MDE5NDQuNTkuMC4w Index of linux/.. 2024. 10. 11. how to call native function using frida frida를 통해 네이티브 함수를 호출하는 방법 frida를 통해 함수를 후킹하거나 특정 모듈을 통해 export되는 함수를 호출하는 일은 종종 있다. 근데 사용자 정의 함수(native function)를 frida를 통해 호출하는 일은 어뷰징 목적 외에는 없었던 것 같다. 예를 들어 아래와 같은 C언어 함수가 있다고 가정하자. char* func(SOCKET sock, unsigned long long data); 64비트 환경이라 SOCKET의 크기는 uint64. 이 함수를 강제로 호출하는 frida js 코드는 아래와 같다.// javascriptvar baseAddr = Module.findBaseAddress('target.exe');baseAddr = parseInt(baseAddr, 16.. 2024. 8. 22. how to set "CyberChef" in synology using docker. 시놀로지에서 도커를 이용하여 사이버셰프(CyberChef) 세팅하는 방법. 시놀로지의 특정 버전부터는 "도커"를 지원한다. 이전에는 "Docker"라는 이름의 패키지로 지원하였으나, 어느날 보니 "Container Mangaer"로 이름이 바뀌어있다. 최근 도커를 사용할 일이 꽤나 늘어서 이것저것 시도해보고 있었는데, 시놀로지에서 도커를 지원했던 것이 생각나서 CyberChef를 시놀로지 도커로 띄워보았다. 결론부터 말하면 아주 만족스럽다. 시놀로지 Virtual Machine에서 리눅스 서버를 띄우고, 그 리눅스 서버에서 WAS를 설치하여 CyberChef를 이용했던 이전과 다르게, Container Manager를 이용해 간단히 설치하고 이용할 수 있다. 설치 방법은 아래와 같음. 1. 패키지 센터에.. 2024. 4. 22. usefull shellcode (linux x64) 유용한 쉘코드 모음 참고: https://shell-storm.org/shellcode/index.html Shellcodes database for study cases API It is very straightforward to communicate with this API. Just send a simple GET method. The "s" argument contains your keyword. http://shell-storm.org/api/?s= Use "*" for multiple keywords search. /?s= * * The output should be like this: :::: :::: :::: shell-storm.org 1. orw shellcode 출처: https://.. 2023. 11. 4. how to use Dockerfile Dockerfile 사용법 1. Dockerfile이 있는 디렉토리(.)에서 빌드 docker build -t . 2. 실행 ( 웹 서버인 경우 -p 옵션으로 포트 설정) docker run -d -p 3000:3000 3. 도커 프로세스 id 확인 docker ps 4. 컨테이너 종료 docker stop 5. 컨테이너 제거 docker rm 6. 서버 stdout 확인(console.log 등) docker logs -f 2023. 11. 3. how to run in custom libc version 커스텀 버전의 libc를 사용하는 방법 1. patchelf 및 환경변수 변경하는 방법 2. pwntools를 사용하는 방법 끝. 출처 : pwndocker . 2023. 8. 28. how to use pwndocker pwndocker 사용법 elf 파일 분석할 때, 실제 사용중인 서버에서 실행하기에는 찝찝하고. 그렇다고 가상머신을 설치해 설치하기는 귀찮을 때 docker를 이용하면 편리하다. docker hub에 pwndocker라고 퍼너블 문제풀이에 안성맞춤인 도커가 있는데, 이를 설치하면 분석에 필요한 도구가 세팅되어 있어 좋다. 도커를 실행한 후 "pwndocker" 설치하면 끝. Docker Desktop을 이용하면 명령어 없이 드래그&드랍으로 로컬과 컨테이너 간의 파일 이동도 편리하다. 2023. 8. 22. how to Copy the highlighted source code from visual studio to word 비쥬얼 스튜디오의 하이라이팅된 소스코드를 워드에 붙여놓는 방법 옛날에는 별도의 설정 없이도 그냥 복사 붙여넣기 하면 됐었는데, 근래에 복사 붙여넣기 해보니 검은색 테스트로만 나왔다. 그래서 이것저것 찾아보다 발견한 방법을 공유. https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.CopyAsHtml Copy As Html - Visual Studio Marketplace Extension for Visual Studio - Adds support to copy the selected editor text to clipboard in HTML format. marketplace.visualstudio.com 방법은 간단한.. 2023. 7. 23. 이전 1 2 3 4 ··· 34 다음 728x90 반응형