The wildcat of a wilderness

Wildcat blosxom

Click here to visit our sponsor.

blosxomËÜÂΤÎhack

   Categories [] [2004 02 09(Mon) posted at 16:21]
¤¤¤­¤Ê¤êÂÌ¥¹¥ì¡© blosxom ¥æ¡¼¥¶¡¼¤«¤éžºÜ¡£
ÀÅŪÀ¸À®¥â¡¼¥É¤ÇÆüÊ̤Υ¤¥ó¥Ç¥Ã¥¯¥¹YYYY/MM/DD/index.html¤¬¤¦¤¶¤¤¤Î¤Ç¥Ï¥Ã¥¯
--- entries_index.orig Mon Feb 9 15:59:09 2004
+++ entries_index Mon Feb 9 15:59:27 2004 @@ -56,7 +56,7 @@
or stat("$blosxom::static_dir/$1/index." . $blosxom::static_flavours[0])->mtime< stat($Fi le::Find::name)->mtime
)
and $indexes{$1} = 1
- and $d = join('/', (blosxom::nice_date($files{$File::Find::name}))[5,2,3])
+ and $d = join('/', (blosxom::nice_date($files{$File::Find::name}))[5,2])
and $indexes{$d} = $d
and $blosxom::static_entries and $indexes{ ($1 ? "$1/" : '') . "$2.$blosxom::file_extensio n" } = 1;
}, $blosxom::datadir


¤Ä¤¤¤Ç¤Ëblosxom of blosxom.¤µ¤ó¤ËºÜ¤Ã¤Æ¤¤¤¿blosxom¤Î½¤Àµ¤âžµ­

182¹ÔÌÜ¡£
and $2 ne 'index' and $2 !~ /^\./ and (-r $node)

188¹ÔÌÜ¡£
or stat($node)->mtime< time

192¹ÔÌÜ¡£
and $files{$File::Find::name} = stat($node)->mtime

198¹ÔÌÜ¡£
or stat("$static_dir/$1/index." . $static_flavours[0])->mtime< stat($node)->mtime

208¹ÔÌÜ¡£
!-d $node and -r $node and $others{$File::Find::name} = stat($node)->mtime

¤½¤Î¸å¤Ç¡¢174¹ÔÌܤ˰ʲ¼¤Î1¹Ô¤òÄɲá£
my $node = $_;

¤³¤ì¤Ï¤Á¤ç¤Ã¤È¥¤¥ì¥®¥å¥é¡¼¤Ê¼ê½ç¤Ç¤¹¤·¡¢¤·¤Ê¤¯¤Æ¤âÆ°¤¯¤³¤È¤â¤¢¤ë¤è¤¦¤Ç¤¹¡£
ɬ¿Ü¤Ê¤Î¤«¤¤¤Þ¤¤¤Á³Î¿®¤¬¤â¤Æ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¤É¤¦¤âFile::Find::find¥ë¡¼¥Á¥ó¤Î»È¤¤Êý¤«¤é¤¹¤ì¤Ð¤³¤Á¤é¤¬Àµ¤·¤¤¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¡£
¤¯¤ï¤¨¤Æ¡¢¼ê¸µ¤ÎWindows¥Ñ¥½¥³¥ó¤È¡¢¤³¤ÎQUE::NETWORK¤Ç¤Ï¤³¤Î½¤Àµ¤¬¤Ê¤¤¤È¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢°ì±þ¼ê½ç¤ËÁȤ߹þ¤ó¤Ç¤ª¤­¤Þ¤¹¡£


hail2u.net¡§blosxom¤È404¤«¤éžºÜ¡£
¥µ¥¤¥È¤Î404¤ÈƱ¤¸¤ÎÊý¤¬µ¤Ê¬¤¬Îɤ¤¤Î¤Ç¡¢¤³¤¦¤·¤Æ¤ß¤Þ¤·¤¿¡£
if ($ne eq $num_entries) {
  print("Location: /404.html\r\n\r\n");
  exit;
}


hail2u.net¡§blosxom¤È404 #2¤«¤éžºÜ¡£
²þ¤¤¹¤ë¤È¤³¤í¤Ïblosxom¤È404¤Ç²þ¤¤·¤¿¤È¤³¤í¤ÈƱ¤¸¤Ç¡¢¥ª¥ê¥¸¥Ê¥ë¤Î¤Þ¤Þ¤À¤È394¹ÔÌÜÊդꡣ¤½¤³¤Ë°Ê²¼¤Î¥³¡¼¥É¤òÁÞÆþ¤·¤Þ¤¹¡£

# No matching entries treated as a 404 Not Found
if ($ne eq $num_entries) {
  if (open(FH, "/www_root/john/public_html/404.html")) {
    print header(
      -type    => 'text/html',
      -charset => 'UTF-8',
      -status  => '404 Not Found',
    );
foreach (<FH>) { print $_; }
close(FH); } else { print redirect("http://example.com/john/404.html"); }
exit; }

Calendar
Categories
Guest Book
https://poppers51.ru[24-11-26(²Ð) 10:01]
https://simka51.ru[24-11-25(·î) 19:13]
JamesReope[24-11-25(·î) 01:41]
JamesReope[24-11-24(Æü) 15:03]
leifwoolFamup[24-11-22(¶â) 19:54]
EdwardLiego[24-11-22(¶â) 09:03]
EdwardLiego[24-11-21(ÌÚ) 21:39]
EdwardLiego[24-11-21(ÌÚ) 09:52]
EdwardLiego[24-11-20(¿å) 22:26]
EdwardLiego[24-11-20(¿å) 10:52]
[<< prev] [next >>]


Counter
Syndicate this site (XML)
Banner
browser
browser for Mac
Powered by blosxom
link

browser
MP3
About
Nyamazon
Recent
Comment & TrackBack
¿Þ½ñ´ÛÀïÁè
¡Ø¿Þ½ñ´ÛÀïÁè¡Ù¸ø¼°¥µ¥¤¥È
Åì¤Î¥¨¥Ç¥ó
Åì¤Î¥¨¥Ç¥ó¸ø¼°¥µ¥¤¥È Åì¤Î¥¨¥Ç¥ó¸ø¼°¥µ¥¤¥È
SAO¥¢¥Ë¥á²½
¥½¡¼¥É¥¢¡¼¥È¡¦¥ª¥ó¥é¥¤¥ó