๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Tried. Failed. Logged.
728x90

์ „์ฒด ๊ธ€720

์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค - ์•ฑ ์•„์ด์ฝ˜ ์ˆจ๊ธฐ๊ธฐ/๋ณด์ด๊ธฐ [์ˆจ๊ธฐ๊ธฐ] PackageManager p = getPackageManager(); ComponentName componentName = new ComponentName(this, com.apps.MainActivity.class); // activity which is first time open in manifiest file which is declare as p.setComponentEnabledSetting(componentName,PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP); [๋ณด์ด๊ธฐ] PackageManager p = getPackageManager(); ComponentName componentN.. 2021. 12. 19.
์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค - ๋ถ€ํŒ…์‹œ ์ž๋™ ์‹คํ–‰ [AndroidManifest.xml] [StartActivityOnBootReceiver.java] package com.codinginflow.onbootreceiverexample; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class StartActivityOnBootReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAct.. 2021. 12. 19.
์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค - ๋ฐฑ๊ทธ๋ผ์šด๋“œ ์„œ๋น„์Šค ์‹คํ–‰ ์ถœ์ฒ˜: https://stackoverflow.com/questions/46716069/how-to-make-background-process-in-android-studio How To Make Background Process in Android Studio hi guys thank you for answering my question,i have made an android app in android studio i want to make funtion when i close the app the function start automatically in background is there any way ... stackoverflow.com [์•กํ‹ฐ๋น„ํ‹ฐ] public class App extends .. 2021. 12. 19.
์ž๋ฐ” - PassMaker (๋น„๋ฐ€๋ฒˆํ˜ธ ์‚ฌ์ „ ๋งŒ๋“œ๋Š” ๋„๊ตฌ) ์ž๋ฐ” Swing์„ ์—ฐ์Šตํ• ๊ฒธ ๋งŒ๋“ค์–ด ๋ณด์•˜๋‹ค. ์ง์ž‘์ด ๊ฐ€๋Š” ๋‹จ์–ด๋ฅผ ๋„ฃ๊ณ  ์ˆซ์ž ๋ฒ”์œ„๋ฅผ ์ •ํ•œ ํ›„ ๋ณ€ํ™˜์„ ๋ˆ„๋ฅด๋ฉด ๋น„๋ฐ€๋ฒˆํ˜ธ ์‚ฌ์ „์ด ๋งŒ๋“ค์–ด์ง€๋Š” ๊ฐ„๋‹จํ•œ ์œ ํ‹ธ๋ฆฌํ‹ฐ ๋„๊ตฌ import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.util.ArrayList; import java.util.StringTokenizer; public class Main extends JFrame{ DefaultListModel input_passwords = new DefaultListModel(); JTextField inputArea = null; JTextField numberRange = null; JTextArea outList = null; boolea.. 2021. 12. 15.
๋„คํŠธ์›Œํฌ ํ•ดํ‚น - Tor ProxyChains ๋กœ์ปฌ ํ”„๋ก์‹œ ์„ค์ • https://medium.com/cyberxerx/how-to-setup-proxychains-in-kali-linux-by-terminal-618e2039b663 How to Setup PROXYCHAINS in Kali-Linux by Terminal proxychains is open source software for Linux systems and comes pre-installed with Kali Linux, the tool redirects TCP connections through… medium.com [์„ค์น˜ ๋ฐ ์„ค์ •] # tor ์„ค์น˜ sudo apt install tor # proxychains ์„ค์ • ํŒŒ์ผ ์ˆ˜์ •ํ•˜๊ธฐ sudo vim /etc/proxychains.conf or sudo .. 2021. 12. 15.
๋„คํŠธ์›Œํฌ ํ•ดํ‚น - rdp ์‚ฌ์ „ ๊ณต๊ฒฉ ์žฌํƒ๊ทผ๋ฌด๊ฐ€ ์žฆ์•„์ง„ ์š”์ฆ˜ RDP(Remote Desktop Protocol)๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์œ ์ €๋“ค์ด ๊ฝค๋‚˜ ๋งŽ์•„์กŒ๋‹ค. ์ด๋Ÿฐ ์‹œ๋Œ€์˜ ํ๋ฆ„์„ ๋งž์ถฐ์„œ RDP๋ฅผ ๊ณต๊ฒฉํ•˜๋Š” ๋‹ค์–‘ํ•œ ๊ณต๊ฒฉ ๋„๊ตฌ๋“ค์ด ์ƒ๊ฒจ๋‚ฌ๋Š”๋ฐ, ๊ทธ์ค‘ ํ•˜๋‚˜๊ฐ€ ์‚ฌ์ „ ๊ณต๊ฒฉ์„ ๋„์™€์ฃผ๋Š” Crowbar๊ฐ€ ์žˆ๋‹ค. ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์ด์ „์— ๋ฆฌ๋ˆ…์Šค์— freerdp๊ฐ€ ์„ค์น˜๋˜์–ด์žˆ์–ด์•ผ ํ•จ sudo apt-get install -y nmap openvpn freerdp-x11 vncviewer [์‚ฌ์šฉ ๋ช…๋ น์–ด] ./crowbar.py -b rdp -s 192.168.2.182/32 -u admin -c Aa123456 ./crowbar.py -b rdp -s 192.168.2.250/32 -u localuser -C ~/Desktop/passlist hydra๋กœ๋„ ๊ฐ€๋Šฅํ•˜๋‹ค. [์‚ฌ์šฉ ๋ช….. 2021. 12. 14.
ํด๋ผ์šฐ๋“œ์— ๋ฌด๋ฃŒ๋กœ ์†Œ์Šค์ฝ”๋“œ ๋ณด๊ด€ํ•˜๊ธฐ(pastebin.com) https://pastebin.com/ Pastebin.com - #1 paste tool since 2002! Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time. pastebin.com 2021. 12. 13.
๋ชจ๋ฐ”์ผ ํ•ดํ‚น - class ํŒŒ์ผ์„ ๋””์ปดํŒŒ์ผํ•˜์—ฌ java ํŒŒ์ผ ๋งŒ๋“ค๊ธฐ ์ด์ „์— ์ ์€ ๊ธ€์— ์ด์–ด์„œ https://janger.tistory.com/146 ๋ชจ๋ฐ”์ผ ํ•ดํ‚น - DEX๋ฅผ jar๋กœ ์ถ”์ถœํ•˜์—ฌ class ํŒŒ์ผ๋“ค ํ™•์ธํ•˜๊ธฐ DEX๋ฅผ ๊ตฌํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” 7-zip์„ ์„ค์น˜ํ•ด์„œ APK๋ฅผ ์ถ”์ถœํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. https://www.7-zip.org/download.html Download Download .7z Any / x86 / x64 LZMA SDK: (C, C++, C#, Java) www.7-zip.org ๊ทธ ๋‹ค์Œ dex ํŒŒ์ผ์„.. janger.tistory.com ์ด๋ฒˆ์—” class ํŒŒ์ผ๋“ค์„ ์ด์šฉํ•ด java๋ฅผ ๋งŒ๋“ค๊ณ  ์‹ถ์„ ๊ฒฝ์šฐ ์šฐ์„ ์€ 7-zip์„ ์ด์šฉํ•ด์„œ APK๋ฅผ ์••์ถ• ํ•ด์ œํ•˜๊ณ , dex2jar ๋„๊ตฌ๋กœ classes-dex2jar.jar๋ฅผ ์ถ”์ถœํ•ด์ฃผ์—ˆ๋Š”๋ฐ ์ด๋ฒˆ์—๋„ ์ด classes-d.. 2021. 12. 11.
๋ชจ๋ฐ”์ผ ํ•ดํ‚น - DEX๋ฅผ jar๋กœ ์ถ”์ถœํ•˜์—ฌ class ํŒŒ์ผ๋“ค ํ™•์ธํ•˜๊ธฐ DEX๋ฅผ ๊ตฌํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” 7-zip์„ ์„ค์น˜ํ•ด์„œ APK๋ฅผ ์ถ”์ถœํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. https://www.7-zip.org/download.html Download Download .7z Any / x86 / x64 LZMA SDK: (C, C++, C#, Java) www.7-zip.org ๊ทธ ๋‹ค์Œ dex ํŒŒ์ผ์„ jar๋กœ ๋ณ€ํ™˜์‹œ์ผœ์ฃผ๋Š” dex2 jar๋ฅผ ์„ค์น˜๋ฐ›์Šต๋‹ˆ๋‹ค. https://github.com/pxb1988/dex2jar GitHub - pxb1988/dex2jar: Tools to work with android .dex and java .class files Tools to work with android .dex and java .class files - GitHub - pxb1988/dex2jar: .. 2021. 12. 11.
๋ชจ๋ฐ”์ผ ํ•ดํ‚น - ์•ˆ๋“œ๋กœ์ด๋“œ APK ์ถ”์ถœ ๋ฐ ๋ถ„์„ ์šฐ์„  APP์„ APK๋กœ ์ถ”์ถœํ•˜๋ ค๋ฉด ์ „์šฉ ์•ฑ์„ ์„ค์น˜ํ•ด์•ผ ํ•จ https://play.google.com/store/apps/details?id=com.ext.ui APK Extractor - Google Play ์•ฑ ์—ฌ๋Ÿฌ๋ถ„์˜ ๊ธฐ๊ธฐ์— ์„ค์น˜๋œ ์•ฑ์„ SD์นด๋“œ๋กœ ์ถ”์ถœํ•ฉ๋‹ˆ๋‹ค. play.google.com ๊ทธ๋ฆฌ๊ณ  APK๋ฅผ ์–ธํŒจํ‚ค์ง• ํ•ด์ฃผ๋Š” ๋„๊ตฌ์ธ apktool๋ฅผ ์„ค์น˜ํ•œ๋‹ค. https://ibotpeaches.github.io/Apktool/ Apktool - A tool for reverse engineering 3rd party, closed, binary Android apps. A tool for reverse engineering 3rd party, closed, binary Android apps. It can.. 2021. 12. 11.
์›น ํ•ดํ‚น - ์›น ํŒจํ‚ท ์ „์†ก ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ https://chrome.google.com/webstore/detail/talend-api-tester-free-ed/aejoelaoggembcahagimdiliamlcdmfm Talend API Tester - Free Edition Visually interact with REST, SOAP and HTTP APIs. chrome.google.com ์›น ์„œ๋ฒ„ API๋ฅผ ํ…Œ์ŠคํŠธํ•  ๋•Œ ๋„์›€์ด ๋˜๋Š” ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์ž…๋‹ˆ๋‹ค. ์ด์ „๊นŒ์ง€๋Š” POSTMAN์„ ์ฃผ๋กœ ์‚ฌ์šฉํ–ˆ๋Š”๋ฐ ์ด ๋…€์„์€ ๋ธŒ๋ผ์šฐ์ €์—์„œ ์กฐ์ž‘์ด ๊ฐ€๋Šฅํ•˜๋ฉฐ, ์‹ฌ์ง€์–ด ๋ธŒ๋ผ์šฐ์ €๊ฐ€ ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ์ฟ ํ‚ค ๊ฐ’๋„ ํ•จ๊ป˜ ์ „๋‹ฌ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ํŽ˜์ด์ง€์— ๋กœ๊ทธ์ธ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ์— ์•„์ฃผ ํŽธ๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ์ž‘์„ฑํ•œ ์š”์ฒญ ์ •๋ณด๋“ค์„ ๋ธŒ๋ผ์šฐ์ €์— ์ €์žฅ๋„ ํ•  ์ˆ˜ ์žˆ์Œ. ๋‹จ์ : ์‹œํฌ๋ฆฟ ๋ชจ๋“œ์—์„œ ์‚ฌ์šฉ.. 2021. 12. 9.
์›น ํ•ดํ‚น - NoSQL Injection ์กฐ๊ฑด ํ‘œํ˜„์‹ https://book.hacktricks.xyz/pentesting-web/nosql-injection NoSQL injection - HackTricks Brute-force login usernames and passwords from POST login book.hacktricks.xyz [$ne] : ๊ฐ™์ง€ ์•Š์„ ๊ฒฝ์šฐ(not equals) [$regex] : ์ •๊ทœํ‘œํ˜„์‹ [$eq] : ๊ฐ™๋‹ค(=) [$lt] : ์ž‘๋‹ค() [$lte] : ์ž‘๊ฑฐ๋‚˜ ๊ฐ™๋‹ค() $regex๋กœ ํŒจ์Šค์›Œ๋“œ ๊ธธ์ด ์•Œ์•„๋‚ด๊ธฐ "password": {"$regex":".{1}"} => admin "password": {"$regex":".{2}"} => admin ... "password": {"$regex":".{5}"} => admin.. 2021. 12. 9.
728x90