WordPress Ktai Style Ktai Entry 18 Mac 18

Similar documents
writing_plugins.ppt

第2回_416.ppt

SHOBI_Portal_Manual

Microsoft PowerPoint - widget.ppt

Windows2000 Edge Components V Edge Components V Java Edge Components

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web

untitled

25 About what prevent spoofing of misusing a session information


Copyright 2006 Mitsui Bussan Secure Directions, Inc. All Rights Reserved. 3 Copyright 2006 Mitsui Bussan Secure Directions, Inc. All Rights Reserved.

WebOS aplat WebOS WebOS 3 XML Yahoo!Pipes Popfry UNIX grep awk XML GUI WebOS GUI GUI 4 CUI

最新 Web トレンドレポート (06.04) ~ Exploit-DB( より公開されている内容に基づいたトレンド情報です サマリー ペンタセキュリティシステムズ株式会社 R&D センターデータセキュリティチーム 06 年 4

サマリー EDB-Report ペンタセキュリティシステムズ株式会社 R&D センターデータセキュリティチーム 06 年 8 月に公開された Exploit-DB の分析結果 Cross Site Scripting の攻撃に対する脆弱性報告件数が最も多かったです 発見された Cross Site

第3回_416.ppt

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ

untitled

untitled

最新 Web 脆弱性トレンドレポート (05.09) ~ Exploit-DB( より公開されている内容に基づいた脆弱性トレンド情報です サマリー ペンタセキュリティシステムズ株式会社 R&D センターデータセキュリティチーム

WordPress Web

FileMaker Instant Web Publishing Guide

2 Java 35 Java Java HTML/CSS/JavaScript Java Java JSP MySQL Java 9:00 17:30 12:00 13: 項目 日数 時間 習得目標スキル Java 2 15 Web Java Java J

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ

shio_ PDF


main.dvi

109 XSS (Cross Site Scripting 3 ) () 1. 3 XSS (Cross Site Scripting) XSSWeb HTML<form> POSTPOST <iframe> 4 SQL Injection XSS Web SQL SQLSQL INSERT INT

Web apache

平和教育の目標と主題(案)

~ ~ ~ ~ ~ ~ ~ ~

FileMaker Pro 8.5 Tutorial

最新 Web 脆弱性トレンドレポート (08.0) ~08.0. Exploit-DB( より公開されている内容に基づいた脆弱性トレンド情報です ペンタセキュリティシステムズ株式会社 R&D センターデータセキュリティチーム サマリー 08 年

PowerPoint プレゼンテーション

FileMaker Server Getting Started Guide

-2-


FileMaker Instant Web Publishing Guide

事例に見るSCORMの・・・

FileMaker Server Getting Started Guide

目次〜.indd

Java

FileMaker Instant Web Publishing Guide

地域と文化資産


FileMaker Server 9 Getting Started Guide

表紙

目次 * 本資料について * お問い合わせ * SecureAssist Enterprise Portal API 概要 APIについて API 通信の流れ * SecureAssist Enterprise Portal 各 API 説明認証プロジェクトのレポートの取得プロジェクトの一覧の取得ア

FileMaker Pro Tutorial

宅建練馬表478号1_4ol [更新済み].eps

サマリー EDB-Report 最新 Web 脆弱性トレンドレポート (05.07) ~ Exploit-DB( より公開されている内容に基づいた脆弱性トレンド情報です ペンタセキュリティシステムズ株式会社 R&D センターデー

Flash Player ローカル設定マネージャー

3 no.

EDB-Report 最新 Web トレンドレポート (05.) 05..0~05.. Exploit-DB( より公開されている内容に基づいたトレンド情報です ペンタセキュリティシステムズ株式会社 R&D センターデータセキュリティチーム サマリー 05

FileMaker Pro Tutorial

KLCシリーズ インストール/セットアップ・ガイド

Taro php.jtdc

QW-3414

01_06.indd


橡Taro9-生徒の活動.PDF

2

11 Windows XP IP WEP (Web )

slice00_install.dvi

([ ],), : [Name], name1 name2 name10 4, 2 SuperSQL, ([ ]!), name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =,


¥ƥ­¥¹¥ȥ¨¥ǥ£¥¿¤λȤ¤˽

3 3.1 SSedit ua012345% ssedit SuperSQL config.ssql log.txt( logs.txt) SSedit SSedit 3.2 ssql Putty SSedit ua012345% ssql HTML /public html/ssql.ssql 4

情報システム設計論II ユーザインタフェース(1)

PowerPoint プレゼンテーション

FileMaker Server 9 Getting Started Guide

5-5_arai_JPNICSecSemi_XssCsrf_CM_ PDF

最新 Web 脆弱性トレンドレポート (06.0) ~ Exploit-DB( より公開されている内容に基づいた脆弱性トレンド情報です サマリー ペンタセキュリティシステムズ株式会社 R&D センターデータセキュリティチーム 06

RSS Dripper [1] Whazzup [2] Summ

untitled


Epson Print Admin

結婚生活を強める

HTML5無料セミナ.key


WIDE 1

UsersGuide_INR-HG5497c_.doc

FileMaker Instant Web Publishing Guide

/var/lib/sharelatex/data/compiles/5b35c6e168aeba3d a72a7acd11f6ba07fbbff68/output.dvi

worm hoihoi


C G I 入 門 講 座

WS-I Basic Profile 1.0 の概説

はじめに

コンバートスター15シリーズ 製品パンフレット

- 2 -

Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- AT

com.ibm.etools.egl.jsfsearch.tutorial.doc.ps


新築_PDF用

untitled

表紙a


表紙.PDF

untitled

AFASパンフ表.ai

.....w...j...[.X55..

Transcription:

WORDPRESS 2011 8 27 (8 31 ) WordBeach Nagoya WordBench

WordPress Ktai Style Ktai Entry 18 Mac 18 http://www.yuriko.net/ @lilyfanjp

PHP WordPress ( )

WordPress

function the_content($more_link_text=null,$stripteaser=0, $more_file='') { } $content = get_the_content($more_link_text, $stripteaser, $more_file); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; function strip_del($content) { } $content = preg_replace('#<del[^>]*>.*?</del>\\s*#s', '', $content); return $content; add_filter('the_content', 'strip_del');

Delete Del

Codex http://wpdocs.sourceforge.jp/ _API/ http://wpdocs.sourceforge.jp/ _API/ wp- includes/post.php wp- includes/post- template.php wp- includes/pluggable.php

PHP PHP UTF- 8 BOM LF (CRLF ) EmEditor, PSPad,,....app, Jedit, CotEditor, SubEthaEdit,... vi, Emacs OK

/*! Plugin Name: Plugin URI: Description: Version: (x.y.z) Author: Author URI: */!

/* Plugin Name: Delete Del Version: 0.7.0 Author: IKEDA Yuriko */ function strip_del($content) { } $content = preg_replace('#<del[^>]*>.*?</del>\\s*#s', '', $content); return $content; add_filter('the_content', 'strip_del');

( ) 1 WordPress wp-

http://wordpress.org/extend/plugins/ README Subversion

Developer Center

HTML Codex http://wpdocs.sourceforge.jp/data_validation XSS

XSS Cross Site Scripting

CSRF Cross Site Request Forgeries wp_nonce nonce_field(), check_admin_referer()

SQL SQL $wpdb->prepare()! $_GET, $_POST, $_SESSION addslashes()!

wp- config.php OS /etc/hosts../ validate_file()

HTTP HTTP CRLF header() (PHP 4.4.2+, 5.1.2+) wp_redirect(), wp_safe_redirect()

?? URL??? $count = intval($count);! if (!is_string($_post['fullname']) ) { wp_die(' '); }! $link= esc_url_raw($link);! if (!is_email($addr) ) { wp_die(' '); }! $path = validate_file($_post['path']);

XSS echo $_GET['fullname']! intval():! esc_html(): HTML! esc_attr():! esc_url(): URL! esc_js():!

HTML printf('<a href="%s" title="%s">%s</a>', esc_url($url), esc_attr($title), esc_html($link));!

SQL $sql = $wpdb->prepare("select * FROM `{$wpdb->prefix}ktaisession` WHERE sid = %s", $sid);! $result = $wpdb->get_row($sql);!

WordPress WordPress : the_content HTML default- filters.php the_content $_GET,$_SERVER

??? HTML SQL

0x17 HTML <s> </s>! <script>alert();</script>! URL javascript:alert(); SQL ' OR 1=1;! -_-.@example.com! "i,yuriko"@example.jp!

Windows UNIX Windows WebMatrix Mac Boot Camp Virtualbox

http://www.yuriko.net/tag/slides/ http://wordbeach.org/