일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 로그인불가
- x-pack
- ansible
- Kibana server is not ready yet
- docker
- Proxy
- endpoint security
- 보안양파
- miniconda
- proxycfg
- pfsense
- application security
- centos 8
- Windows
- elastic stack
- freebsd
- Kibana
- Elasticsearch
- ssh key 배포
- XCP-ng
- G-suite
- PlayBook
- 한글가이드
- bash
- hardening
- macos
- ELASTIC
- xe guest utilities
- GitLab
- Today
- Total
목록전체 글 (677)
선 밖에 선 자유인
- DBMS의 utf-8 설정 my.cnf 에 아래 문구 추가[mysqld]character-set-server=utf8 mysql> status;Server characterset: utf8Db characterset: utf8Client characterset: utf8Conn. characterset: utf8 - 특정 Field 선택 및 데이터 입력 시 (UTF8 형식) LOAD DATA LOCAL INFILE ''INTO TABLE table_name character set utf8FIELDS TERMINATED BY ','ENCLOSED BY '"'LINES TERMINATED BY '\n'(column1, column2, column3, ... );
특정 테이블의 내용을 select 한 결과를 다른 테이블에 추가 시 - tableA 조회 결과 => tableB insert tableB (column1, column2, column3, column4) select * from tableA where columnA = ; * 중복 제거 하면서 insertINSERT INTO tableBSELECT * FROM tableA WHERE and column2 NOT IN (SELECT column2 FROM tableB)GROUP BY column1
이것 저것 써봤는데sqlyog community editon / workbench가 제일 나은 듯 https://www.webyog.com/https://dev.mysql.com/downloads/
xxx.xlsbbb.xls... 파일명과 확장자 split in bash LIST=`ls` # convert xls to csvfor i in $LISTdo IFS='. ' read -a array
mode 버튼 누른 상태로 전원 Onswitch: flash_initswitch: load_helperswitch: dir flash:Directory of flash:/ 2 -rwx 110 info3 -rwx 273 env_vars4 -rwx 660 vlan.dat5 -rwx 1324 config.text6 -rwx 5 private-config.text7 -rwx 3097898 c2950-i6q4l2-mz.121-22.EA4a.bin8 drwx 4032 html362 -rwx 110 info.ver 3078656 bytes available (4662784 bytes used)switch: rename e flash:config.text flash:config.oldusage: rename swswi..
# wget http://www.openwall.com/john/j/john-1.8.0.tar.gz# cd john-1.8.0/src# make linux-x86-64# cd ../run/# ./unshadow /etc/passwd /etc/shadow > passwd.1# ./john passwd.1 5-10분 정도 실행 시에도 아무런 반응이 없는 경우 취약한 패스워드가 없는 것으로 간주, Ctrl +C 로 종료.결과는 john.pot 파일에 암호화 되어 저장됨
- w, 혹은 who로 현재 접속된 세션 확인[root@localhost ~]# wUSER TTY FROM LOGIN@ IDLE JCPU PCPU WHATuser1 pts/0 192.168.2.10 14:45 0.00s 2.24s 0.60s sshd: user1 [priv]user2 pts/1 192.168.2.20 Wed18 4:55m 2.10s 4.54s sshd: user2 [priv] - 관련 계정의 모든 세션 끊기[root@localhost ~]# skill -KILL username - 특정 세션만 끊기[root@localhost ~]# skill -KILL -v pts/?