728x90 ⚙️백엔드50 Oracle DB - 사용자 권한 및 테이블 확인 쿼리문 --현재 사용자 확인 SQL: SELECT USER FROM DUAL;-- 세션 사용자 확인:SELECT SYS_CONTEXT('USERENV','SESSION_USER') FROM DUAL;-- 권한 확인:SELECT * FROM SESSION_PRIVS;-- DBA 여부 확인:SELECT * FROM USER_ROLE_PRIVS;-- 테이블 목록 확인SELECT table_name FROM user_tables; 2025. 7. 17. Oracle DB - 데이터베이스 서버 접속 클라이언트 모음 DBeaver(GUI)https://dbeaver.io/ DBeaver Community | Free Universal Database ToolDBeaver Universal Database Tool DBeaver Community is a free cross-platform database tool for developers, database administrators, analysts, and everyone working with data. It supports all popular SQL databases like MySQL, MariaDB, PostgreSQL, SQLite, Apachdbeaver.io SQLPLUS(CLI)https://www.oracle.com/database/technol.. 2025. 7. 17. Node.js - WSL nodejs 버전 업그레이드 nodejs 삭제sudo apt-get remove -y nodejssudo rm -rf /usr/local/lib/node_modules nodejs 설치curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -sudo apt-get install -y nodejs 2025. 7. 9. Docker - WSL, Docker 구글 크롬 설치 WSL Ubuntu에서 Chrome을 설치하는 과정은 다음과 같습니다: 1. 먼저 필요한 패키지를 업데이트합니다 sudo apt update && sudo apt upgrade -y 2. Chrome의 설치에 필요한 의존성 패키지를 설치합니다 sudo apt install wget gpg 3. Google Chrome의 공식 GPG 키를 다운로드하고 추가합니다 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 4. Google Chrome 리포지토리를 시스템에 추가합니다 sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ s.. 2024. 7. 3. MySQL - ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: 지정된 모듈을 찾을 수 없습니다. Library path is 'caching_sha2_password.dll' 해결 방법 1. WITH mysql_native_password 변경 ALTER USER '계정ID'@'localhost' IDENTIFIED WITH mysql_native_password BY '계정PW'; 해결 방법 2. my.cnf 파일 수정 [mysqld]default_authentication_plugin=mysql_native_password 해결 방법 3. 명령어 인수 추가 --default_authentication_plugin=mysql_native_password 출처: https://ynzu-dev.tistory.com/entry/MySQL-Authentication-plugin-cachingsha2password-cannot-be-loaded [MySQL] Authenticat.. 2024. 5. 5. PHP - 온라인 코드 난독화 사이트(PHP Obfuscator) https://php-minify.com/php-obfuscator/ PHP Obfuscator php-minify.com 2024. 5. 3. Docker - Docker Engine Failed to Start 해결 방법 1. Windows 기능 설정 2. wsl --unregister wsl --unregister Ubuntuwsl --unregister docker-desktopwsl --unregister docker-desktop-data 3. 재부팅 출처: https://github.com/docker/for-win/issues/13638 Docker Engine Failed to Start : Getting Error "waiting for docker daemon: running wsl-bootstrap: WSL engine terminated abruptly"Description Using Windows 10 Enterprise. .. 2024. 4. 24. Docker - 컨테이너 시작시 명령어 자동 실행하기 1. root의 bash 환경 설정 파일 에디터 열기 nano /root/.bashrc 2. 맨 하단에 자동 실행하고 싶은 명령어 입력 service ssh start 출처: https://dttmmit.tistory.com/81 NAS Docker 컨테이너 시작시 자동 실행할 명령 설정하기 /root 디렉토리로 이동한다 vim 으로 .bashrc 파일 열어준다 G를 눌러 파일의 맨 끝으로 이동해 준다 o를 눌러 커서 위치를 바로 다음 줄로 옮기고 입력 모드를 시작한다 이제 컨테이너가 시작하면 자 dttmmit.tistory.com 2023. 10. 21. MySQL - 뷰(View) 테이블 생성 원본 테이블(members) mysql> desc members; +-------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | username | varchar(50) | NO | | NULL | | | password | varchar(255) | NO | | NULL | | 가상 테이블(members_v) 생성.. 2023. 10. 11. MySQL - 데이터베이스 정보(host, user, db, table, column) 확인 컬럼 정보 가져오기(desc | mysql.user, mysql.db, information_schema.tables, information_schema.columns) mysql> desc mysql.user; +------------------------+-----------------------------------+------+-----+-----------------------+-------+ | Field | Type | Null | Key | Default | Extra | +------------------------+-----------------------------------+------+-----+-----------------------+-------+ | Host | char(6.. 2023. 10. 11. 아파치 - 구글 캡챠(reCAPTCHA) 적용하기(PHP) /etc/php/{본인 php 버전}/apache2/php.ini (curl 기능 주석 해제) extension=curl 참고: https://developers.google.com/recaptcha/docs/display?hl=ko reCAPTCHA v2 | Google for Developers 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English reCAPTCHA v2 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. 이 페이지에서는 웹페이지에서 developers.google.com https://wonpaper.tistory.com/374 [PHP] 구글 캡차(Captcha) 달기 - V3, V2 버전 [자동입력방.. 2023. 9. 2. 아파치 - 클라우드플레어 IP Ranges 화이트리스트 설정 https://www.cloudflare.com/ko-kr/ips/ IP Ranges This page is intended to be the definitive source of Cloudflare’s current IP ranges. www.cloudflare.com 위에 클라우드플레어의 IP Ranges 페이지에 들어가 클라우드플레어의 아이피 대역만 아파치 서버에 접속이 가능하도록 설정한다. 이는 공격자가 클라우드플레어를 거치지 않고 직접 실제 서버 아이피를 알아내서 DDoS 공격의 피해력을 줄이기 위해서다. .htaccess #path to your website #ipv4 Require ip 173.245.48.0/20 Require ip 103.21.244.0/22 Require ip 103... 2023. 4. 14. 이전 1 2 3 4 5 다음 728x90