본문 바로가기
  • Tried. Failed. Logged.
728x90

분류 전체보기720

tkinter - 참고 위키 문서(점프 투 파이썬) https://wikidocs.net/132610 106 그래픽 사용자 인터페이스를 만들려면? ― tkinter tkinter는 파이썬에서 Tcl/Tk 툴킷을 사용하는 데 필요한 인터페이스 모듈이다. Tcl은 파이썬과 같은 스크립트 언어이고 Tk는 Tcl을 위한 GUI 툴킷이다. [ ... wikidocs.net https://076923.github.io/posts/Python-tkinter-1/ Python tkinter 강좌 : 제 1강 - GUI 생성 tkinter 076923.github.io 2022. 6. 28.
OpenCV - pyinstaller 빌드 후 cv2가 improt 안되는 오류 해결 pip install opencv-python==4.5.3.56 다운그레이드가 답이다. 출처: https://stackoverflow.com/questions/69855356/recursion-is-detected-during-loading-of-cv2-binary-extensions recursion is detected during loading of "cv2" binary extensions I have a small program which return opencv error after compilation by pyinstaller. But without compilation it's work! I use Python 3.8.10 on Windows 10 Program: import pyauto.. 2022. 6. 27.
OCR - 테서랙트 기본 명령어 tesseract ./captcha.png stdout -l eng --oem 3 --psm 10 2022. 6. 27.
C++ - json parser 라이브러리 설치 및 사용 방법(jsoncpp) https://github.com/open-source-parsers/jsoncpp GitHub - open-source-parsers/jsoncpp: A C++ library for interacting with JSON. A C++ library for interacting with JSON. Contribute to open-source-parsers/jsoncpp development by creating an account on GitHub. github.com git clone https://github.com/open-source-parsers/jsoncpp.git 레포지토리 설치 후 파이썬으로 빌드 python amalgamate.py dist 폴더로 들어가면 헤더 파일 폴더와 소스 파일이.. 2022. 6. 27.
C# - http 요청(HttpWebRequest) string url = "https://ipinfo.io/ip"; //테스트 사이트 string responseText = string.Empty; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Method = "GET"; using (HttpWebResponse resp = (HttpWebResponse)request.GetResponse()) { HttpStatusCode status = resp.StatusCode; Console.WriteLine(status); // 정상이면 "OK" Stream respStream = resp.GetResponseStream(); using (StreamReader sr = ne.. 2022. 6. 27.
C++ - 비주얼 스튜디오 E1696 : 파일 소스을(를) 열 수 없습니다. 해결 방법 https://developer.microsoft.com/en-US/windows/downloads/windows-sdk/ Windows SDK - Windows app developmentThe Windows SDK for Windows 11 contains headers, libraries, and tools you can use when you create apps that run on Windows.developer.microsoft.com윈도우 SDK가 없어서 관련 라이브러리들을 불러오지 못하는 오류이다. 위의 링크를 통해서 Windows SDK를 설치한 다음에 다시 프로젝트를 생성하면 해결 된다. 2022. 6. 27.
프리다 - Uncrackable2 비밀번호 해제하기 UnCrackable-Level2를 jadx로 열어보니 요번에도 마찬가지로 어떤 메소드에 사용자가 입력한 텍스트를 건내주어 true, false를 반환하고 있다. 해당 함수를 쫒아가면 왠 bar라는 함수에다가 또 값을 건내서 리턴 값을 반환하고 있는데, 보다시피 bar 함수는 native로 선언이 되어있으며, 함수의 몸통은 보여지지가 않는다. 자바 native 키워드 참고: https://fors.tistory.com/80 자바의 native 키워드는 자바로 쓰여진 언어가 아닌 주로 C언어, C++ 같은 외부의 실행 가능한 라이브러리를 불러와서 사용할 수 있는 기능을 해준다. 이 외부의 라이브러리는 잘알려진 .so나 .dll 같은 외부 라이브러리 파일을 의미함 즉 bar 함수의 검증 기능을 확인하고 싶으.. 2022. 6. 24.
프리다 - Uncrackable1 비밀번호 해제하기 이번에는 루트 감지 우회를 이어서 비밀번호를 우회를 해보겠다. 이번에는 굳이 루팅이 필요없으니깐 녹스 설정에서 ROOT를 꺼주었다. 앱 분석 보는 것처럼 EditText에 아무 글자를 넣고 버튼을 누르면 맞는 정답이 아니라고 뜬다. 이번 목표는 이를 우회하여 성공이 뜨게하는 것 앱 디컴파일 하기 저 동작 과정에서 어떤 모듈이 오가는지 또 그 모듈안에는 어떤 수식들이 있는지 확인을 위해서 앱 디컴파일러인 jadx를 설치해준다. https://github.com/skylot/jadx/releases Releases · skylot/jadx Dex to Java decompiler. Contribute to skylot/jadx development by creating an account on GitHub... 2022. 6. 24.
프리다 - Uncrackable1 ROOTING 감지 우회하기 앱 설치 https://github.com/OWASP/owasp-mstg/tree/master/Crackmes/Android/Level_01 GitHub - OWASP/owasp-mstg: The Mobile Security Testing Guide (MSTG) is a comprehensive manual for mobile app security testing an The Mobile Security Testing Guide (MSTG) is a comprehensive manual for mobile app security testing and reverse engineering. It describes the technical processes for verifying the controls li.. 2022. 6. 23.
프리다 - NOX 환경 설치 [윈도우 환경에서 frida 설치] pip install frida pip install frida-tools [frida-server 설치] https://github.com/frida/frida/releases Releases · frida/frida Clone this repo to build Frida. Contribute to frida/frida development by creating an account on GitHub. github.com 윈도우의 파이썬과 통신하기 위해서는 안드로이드에서 frida-server가 설치가 되어있어야 하는데 위의 깃허브로 들어가서 자신의 NOX 환경에 맞는 버전으로 frida-server를 설치해야 합니다. [현재 NOX CPU 환경 확인 명령어] nox_.. 2022. 6. 23.
자바스크립트 - Web Notification API(윈도우 알람 기능) window.onload = function () { // 웹 페이지 로드 후에 알림 권한 확인 if (window.Notification) { Notification.requestPermission(); } } function notify() { if (Notification.permission !== 'granted') { alert('notification is disabled'); } else { var notification = new Notification('Notification title', { icon: 'http://cdn.sstatic.net/stackexchange/img/logos/so/so-icon.png', body: 'Notification text', }); notifica.. 2022. 6. 22.
파이썬 - 텔레그램 봇 파일 업로드(봇이 파일을 다운로드) def uploader(update: Update, context: CallbackContext) -> None: try: with open(update.message.document.file_name, 'wb') as f: context.bot.get_file(update.message.document).download(out=f) update.message.reply_text( '파일 업로드 성공.' ) except: update.message.reply_text( '파일 업로드 실패.' ) updater.dispatcher.add_handler(MessageHandler(Filters.document, uploader)) 출처: https://stackoverflow.com/questions/622.. 2022. 6. 18.
728x90