본문 바로가기

분류 전체보기

(82)
pip ssl error 해결 방화벽과 프록시 등의 이슈로 pip를 이용하여 설치 등 진행 시 SSL Error가 발생하는 경우 아래와 같이 host를 신뢰하는 옵션을 주어 해결할 수 있다. 1 pip --trusted-host pypi.org --trusted-host files.pythonhosted.org install cs
Python requests InsecureRequestWarning 삭제 requests를 이용하여 SSL 요청 시 verify=False을 이용하는 경우 InsecureRequestWarning의 경고성 문구가 나타난다. 이런경우 다음과 같이 문구를 추가하면 나타나지 않는다. 예전부터 애용을 했지만, 매번 사용할 때 마다 검색하는데 이참에 블로그에 글도 남길겸 해당 내용을 작성해본다. 1 2 3 4 import requests from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) Colored by Color Scripter cs
[백준] 카드 역배치 10804 C++ https://www.acmicpc.net/problem/10804 12345678910111213141516171819202122232425262728293031323334353637#include #include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(NULL); vector v; int array1[21] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}; int A, B; int temp; for (int cnt = 0; cnt > A >> B; for (int i = A; i
visual studio 테마(visual studio theme) https://studiostyl.es/ Studio Styles - Visual Studio color schemes public class Snippet : IThemeable { static void Main() { if("hello".Length < (43 ^ 2)) new Uri("http://there.com"); } } studiostyl.es visual studio 테마 설정 파일 다운로드 받아 사용할 수 있는 곳
Visual Studio 이전 버전 다운로드 https://visualstudio.microsoft.com/ko/vs/older-downloads/ Visual Studio Older Downloads - 2017, 2015 & Previous Versions Download previous versions of Visual Studio Community, Professional, and Enterprise softwares. Sign into your Visual Studio (MSDN) subscription here. visualstudio.microsoft.com visual studio의 경우 최신버전은 다운로드 페이지에서 바로바로 다운로드 할 수 있는데, 새로 설치 및 세팅하는 환경에서 이전 버전을 설치할 때 위 경로에서 이전버전의 vi..
Android APP 진단 시 자주 사용되는 명령어(기본) 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849android app 진단 시 자주사용되는 명령어 [apktool, sign]java -jar apktool d -r [apk]java -jar apktool d [apk]java -jar apktool b [폴더] -o [만들이름.apk]java -jar signapk.jar testkey.x509.pem testkey.pk8 [서명할 APK 이름] [서명 후의 APK 명] [액티비티 호출]현재 액티비티nox_adb shell "dumpsys window windows" | grep -E "mCurrentFouce|mFocusedApp"adb s..
CrackerXI(Cydia Tweak) - iOS 11이상 복호화 IPA 추출 # AppStore에 업로드된 iOS APP의 경우 자체적으로 암호화됨 # APPStore에서 받은 iOS APP의 바이너리 역시 암호화되어있기에, 분석하기 위해 복호화를 해야함. # 설치된 APP의 복호화 및 IPA를 추출하여 바이너리 분석을 해야함. # iOS 11이상부터 Clutch를 사용할 수 없음. # fridump, bfinject(iOS 11버전용)을 통해 IPA를 추출이 가능한 것을 찾아서 알게 된 이후 실제 시도하여 IPA를 추출한 결과 바이너리의 복호화가 되어 분석은 가능하였으나, 바이너리 패치를 하여도 해당 바이너리를 정상적으로 사용할 수가 없었다.(위 툴들도 추출한 ipa 내 바이너리를 변경없이 실행권한을 준 이후 테스트를 하여 해당 바이너리를 정상적으로 사용할 수 있는지 없는지 알..
Python 한줄 for문 123456789101112131415161718192021222324252627282930313233343536373839404142# _*_ coding:utf-8 _*_ '''for i in [][] is iterable type data ==> string, list, tuple, dictionaryoneline for str, list, tuple, dictionary''' oneline_for_str = "".join((str(i) for i in range(5)))print(oneline_for_str) # expect result : "01234" oneline_for_list = list(i for i in range(5)) # oneline_for = [i for i in range(5..