Category Archives: [Dev]Wordpress

wordpress 설치 하기 명령어

정리전 499 sudo cat /etc/passwd 500 sudo cat /etc/group 501 sudo useradd -c testcom -d /var/www/testcom -s /usr/sbin/nologin -p pass001 userId sudo chsh -s /usr/sbin/nologin userIDd sudo chsh -s /bin/sh userIDd     (putty login인 용) 계정생성 추가 설명 : https://auctionpro.co.kr/?p=130 502 sudo usermod -a -G www-data userId 503 sudo cat /etc/group 511 sudo chown -R… Read More »

wordpress xmlrpc.php 취약점

아래와 같은 공격이 있는 경우 서버 및 사이트 멈춤 root@localhost:/var/log/apache2# cat access.log 62.204.144.62 – – [16/Jul/2014:18:59:45 +0900] “POST /xmlrpc.php HTTP/1.1” 404 530 “-” “Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)” 121.172.98.237 – – [16/Jul/2014:18:59:46 +0900] “POST /xmlrpc.php HTTP/1.1” 404 530 “-” “Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)” 127.0.0.1 – – [16/Jul/2014:18:59:48 +0900] “OPTIONS * HTTP/1.0” 200 126 “-” “Apache/2.2.22 (Ubuntu)… Read More »

Changing File Permissions « WordPress Codex

참조 : https://codex.wordpress.org/Changing_File_Permissions On computer filesystems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions. Permission Modes

The permission mode is computed by adding up the following values for… Read More »

[wordpress] ftp 포트가 다를때

wp-config.php 에 /*아래와 같이 추가해주시면 됩니다.*/ if(is_admin()) { add_filter(‘filesystem_method’, create_function(‘$a’, ‘return “direct”;’ )); define( ‘FS_CHMOD_DIR’, 0755 ); }

WordPress 사이트

서울시청 : http://www.seoul.go.kr 쇼설LG전자 : http://social.lge.co.kr/ Bloter : http://www.bloter.net/ http://www.tecmint.com/

소스분석

/** 디비명 */ define(‘DB_NAME‘, ‘wordpress525’); /** MySQL user */ define(‘DB_USER‘, ‘wordpressuser525’); /** MySQL password */ define(‘DB_PASSWORD‘, ‘z!U7]d2Fgt*L’); /** MySQL hostname */ define(‘DB_HOST‘, ‘localhost’); /** Database Charset */ define(‘DB_CHARSET‘, ‘utf8’); /** The Database Collate type. Don’t change this if in doubt. */ define(‘DB_COLLATE‘, ”); /** * WordPress Database Table prefix. * * You can have… Read More »