๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • 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