일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Navigation
- Flutter
- intent
- scroll
- TEST
- 앱바
- 안드로이드
- activity
- Dialog
- 테스트
- ScrollView
- Button
- android
- tabbar
- 앱
- Kotlin
- 계측
- binding
- appbar
- Compose
- DART
- Coroutines
- data
- textfield
- viewmodel
- drift
- LifeCycle
- livedata
- CustomScrollView
- textview
- Today
- Total
목록분류 전체보기 (359)
Study Record
☞ 공격할 암호화된 파일 생성 - /test/file1.txt.gpg # cd /test # cp /etc/hosts file1.txt # gpg -c file1.txt 암호 : soldesk1. ☞ 사전파일 생성 - /python/dict/dict.txt - https://laustudy.tistory.com/99 # mkdir -p /python/dict # chmod -R 777 /python # tree -C /python # cd /python/dict # cat dict.txt user01 user02 admin soldesk1. administration EOF ☞ 공격 프로그램 (shell) # vi /python/attack_gpg.sh (# chmod +x /python/attack_g..
1. 인터넷 상에 구할 수 있는 사전 파일 * 이전에 크랙이 많이 되었던 ID/PASS 사전 파일 * 장비, 소프트웨어 등에서 사용되는 default ID/PASS 포함된 사전 파일 * 특정 소프트웨어에서 많이 사용되는 ID/PASS 사전 파일 2. 칼리리눅스 내에 내장된 사전 파일 사용 * cd /usr/share/wordlists 3. 직접 생성한 사전 파일(명령어 사용하는 경우) * crunch CMD 생성 * CeWL CMD 생성 * john CMD 생성 (예) CeWL 명령어는 특정한 웹사이트에 있는 단어를 크롤링하여 사전 파일 생성 # cewl http://www.soldesk.co.kr -d 1 -m 6 -w soldesk.txt (예) crunch 명령어를 사용하여 제작 # crunch 1..
#include #include #include using namespace std; int solution(vector board, vector moves) { int answer = 0; stack dollStack; for(int i=0; i< moves.size(); i++){ int index = moves[i] - 1; int doll = 0; for(int k=0; k
☞ 공격할 암호화된 파일 생성 - /test/file1.txt.cpt # cd /test # cp /etc/hosts file1.txt # ccrpyt -e file1.txt 암호 : soldesk1. ☞ 사전파일 생성 - /python/dict/dict.txt - https://laustudy.tistory.com/99 # mkdir -p /python/dict # chmod -R 777 /python # tree -C /python # cd /python/dict # cat dict.txt user01 user02 admin soldesk1. administration EOF ☞ 공격 프로그램 (shell) # vi /python/attack_ccrpyt.sh (# chmod +x /python/at..
1. 일회용 패드 전사 공격에서 키 공간을 모두 탐색하더라도 해독할 수 없는 암호이다. 절대 해킹할 수 없다. 암호화된 메시지와 정확하게 길이가 같아야 한다. 임의의 심볼로 구성되어야 한다. 한번 사용한 후에는 어떠한 메시지에서도 다시 사용해서는 안된다. 2. 스트림 암호 비트 단위로 암호화하고 속도는 빠르지만 보안에 있어서 취약하다. 스트림 암호(Stream Cipher)는 평문과 동일한 길이의 키 스트림(key stream) 수열을 생성하여, 평문과의 XOR연산을 통하여 암ㆍ복호화를 수행한다. 키스트림 수열을 생성할 때, 평문과 독립적으로 생성하는 경우를 동기식 스트림 암호라고 하며, 반대로 평문이 키스트림 수열에 영향을 미치는 경우를 비동기식(혹은 자기 동기)) 스트림 암호라고 한다. ..
#include #include #include using namespace std; string getUid(string str) { int start = 0, count = 0, end = 0; while (str[start] != ' ') start++; end = ++start; while (end < str.length() && str[end] != ' ') { end++; count++; } return str.substr(start, count); } string getNickname(string str) { int start = str.length() - 1; while (str[start] != ' ') start--; return str.substr(start + 1, str.lengt..
1. Cryptodome/Cryptodomex Package - https://pycryptodome.readthedocs.io/en/latest/src/introduction.html - pycrypto 라이브러리를 개선하여 저수준 암호화 primitive로 구성된 독립적인 python 패키지이다. - Python 2.6/2.7, Python 3.4 이상에서 지원한다. 설치 방법 (CMD) # pip3 install pycryptodome # pip3 install pycryptodomex (PyCharm) File > Settings > Project > Project Interpreter > '+' > 'pycryptodome' 검색 후 설치 2. 기본 사용 ☞ byte 표현 date = b'Hel..
#include #include using namespace std; int getDistance(int a, int b){ if(a == 0) a = 11; if(b == 0) b = 11; int distance = b - a; if(distance < 0) distance = a - b; return distance / 3 + distance % 3; } string solution(vector numbers, string hand) { string answer = ""; int nowLeft = 10; // * int nowRight = 12; // # for(int i=0; i rightDistance){ nowRight = number; answer += 'R'; } else if(leftDi..