<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.geeek.org/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Blog de Geeek, le blog geek par excellence par Ludovic Toinel ... - Balise - hack</title>
  <link>http://www.geeek.org/</link>
  <atom:link href="http://www.geeek.org/feed/tag/hack/rss2" rel="self" type="application/rss+xml"/>
  <description>Le blog d'un geek passionné par : l'informatique, le Web, Internet, les gadgets, la photo, la sécurité, Linux, le développement, la culture geek ...</description>
  <language>fr</language>
  <pubDate>Tue, 07 Oct 2008 07:47:08 +0200</pubDate>
  <copyright>Blog de geeek</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Un gamin de 14 ans a piraté le tramway de sa ville.</title>
    <link>http://www.geeek.org/post/2008/02/17/Un-gamin-de-14-ans-a-pirate-le-tramway-de-sa-ville</link>
    <guid isPermaLink="false">urn:md5:a91804483eaf3bc48c530f94ba620235</guid>
    <pubDate>Sun, 17 Feb 2008 00:34:00 +0100</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Sécurité</category>
        <category>accident;tramway</category><category>hack</category><category>sécurité</category>    
    <description>    &lt;p&gt;C'est étonnant, mais c'est ce que l'on peut y apprendre sur :&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.theregister.co.uk/2008/01/11/tram_hack/&quot;&gt;http://www.theregister.co.uk/2008/01/11/tram_hack/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Le gamin a utilisé une télécommande de TV paramétrée pour contrôler les
tramways de sa ville.&lt;/p&gt;
&lt;p&gt;Il a certainement dû utiliser un sniffer infrarouge pour connaître les
fréquences des signaux utilisés pour piloter les tramways. A son âge, c'est
tout simplement énorme. Il a eu de la chance de ne pas avoir tué des
passagers.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2008/02/17/Un-gamin-de-14-ans-a-pirate-le-tramway-de-sa-ville#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2008/02/17/Un-gamin-de-14-ans-a-pirate-le-tramway-de-sa-ville#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/1255</wfw:commentRss>
      </item>
    
  <item>
    <title>Sécurité : Le nouveau Boing 787 peut être piraté par un passager ?</title>
    <link>http://www.geeek.org/post/2008/02/02/Securite-%3A-Le-nouveau-Boing-787-peut-etre-pirate-par-un-passager</link>
    <guid isPermaLink="false">urn:md5:321c014188d3ca3584f6c907617786eb</guid>
    <pubDate>Sat, 02 Feb 2008 14:03:00 +0100</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Sécurité</category>
        <category>boeing</category><category>hack</category><category>security</category>    
    <description>    &lt;blockquote&gt;
&lt;p&gt;Boeing's new 787 Dreamliner passenger jet may have a serious security
vulnerability in its onboard computer networks that could allow passengers to
access the plane's control systems, according to the U.S. Federal Aviation
Administration.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;http://www.wired.com/politics/security/news/2008/01/dreamliner_security&quot;&gt;http://www.wired.com/politics/security/news/2008/01/dreamliner_security&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2008/02/02/Securite-%3A-Le-nouveau-Boing-787-peut-etre-pirate-par-un-passager#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2008/02/02/Securite-%3A-Le-nouveau-Boing-787-peut-etre-pirate-par-un-passager#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/1233</wfw:commentRss>
      </item>
    
  <item>
    <title>Wii et réalité virtuelle: La bidouille avant tout</title>
    <link>http://www.geeek.org/post/2007/12/30/Wii-et-realite-virtuelle%3A-La-bidouille-avant-tout</link>
    <guid isPermaLink="false">urn:md5:fad563df5ae2cbb853b65183253554c7</guid>
    <pubDate>Sun, 30 Dec 2007 22:46:00 +0100</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Nintendo</category>
        <category>3D</category><category>hack</category><category>virtuel</category><category>wii</category>    
    <description>    &lt;div class=&quot;external-media&quot;&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.youtube.com/v/Jd3-eiid-Uw&amp;amp;rel=1&quot; width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/Jd3-eiid-Uw&amp;amp;rel=1&quot; /&gt;
&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;&lt;/object&gt;&lt;/div&gt;
&lt;p&gt;Il suffisait simplement d'inverser manette et émetteur IR ... &lt;img src=&quot;/themes/geeek.org/smilies/wink.png&quot; alt=&quot;;-)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/12/30/Wii-et-realite-virtuelle%3A-La-bidouille-avant-tout#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/12/30/Wii-et-realite-virtuelle%3A-La-bidouille-avant-tout#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/1173</wfw:commentRss>
      </item>
    
  <item>
    <title>Optimisation de Dotclear 2 Beta 7 :  La face cachée de la base de données</title>
    <link>http://www.geeek.org/post/2007/11/18/Optimisation-de-Dotclear-2-Beta-7-%3A-La-face-cachee-de-la-base-de-donnees</link>
    <guid isPermaLink="false">urn:md5:0657d7402a0008d18dd084540117856d</guid>
    <pubDate>Sun, 18 Nov 2007 18:39:00 +0100</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>DotClear</category>
        <category>base de données</category><category>dotclear2</category><category>hack</category><category>performance</category><category>sql</category>    
    <description>    &lt;p&gt;&lt;img src=&quot;http://www.geeek.org/public/images/dotclear.png&quot; alt=&quot;dotclear2,sql,performance&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Après &lt;a href=&quot;http://www.geeek.org/post/2007/08/08/Tuning-Dotclear2-et-Apache&quot; hreflang=&quot;fr&quot;&gt;mon précédent article concernant quelques pistes d'optimisations de
Dotclear 2&lt;/a&gt;, voici un nouvel article qui liste quelques pistes
d'optimisations pour la base de données de Dotclear2 beta 7.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Remarque : Je tiens à mettre l'accent sur le &amp;quot;beta 7&amp;quot; car ces
optimisations ne seront pas forcément applicables à la beta 8 ...&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;1) Tracker les requêtes SQL les plus lentes&lt;/h3&gt;
&lt;p&gt;Dotclear2 étant développé très proprement (merci à l'équipe de développement
de Dotclear2), toutes les requêtes SQL passent par un composant qui se nomme
&amp;quot;dblayer&amp;quot;, qui est une couche d'abstraction à l'accès de la base de
données.&lt;/p&gt;
&lt;pre&gt;
inc/clearbricks/dblayer/
&lt;/pre&gt;
&lt;p&gt;Cette couche permet à Dotclear2 de communiquer proprement avec sa base de
données, celle-ci est composée d'une classe php &amp;quot;dblayer.php&amp;quot; et de plusieurs
autres classes spécifiques aux bases de données que Dotclear 2 supporte.&lt;/p&gt;
&lt;p&gt;Après une étude rapide du fichier dblayer.php, on se rend très vite compte
que les requêtes de consultation &amp;quot;select&amp;quot; passent par la méthode &amp;quot;select()&amp;quot; de
la classe dbLayer présent dans le fichier.&lt;/p&gt;
&lt;p&gt;Pour connaitre la liste des requêtes SQL les plus longue, il suffit donc de
tracer les requêtes depuis cette méthode &lt;img src=&quot;/themes/geeek.org/smilies/wink.png&quot; alt=&quot;;-)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Voici la méthode &amp;quot;select()&amp;quot; avant patch:&lt;/strong&gt;&lt;/p&gt;
&lt;code class=&quot;php&quot;&gt;public &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; select&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_query&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;__link,&lt;span style=&quot;color: #0000ff;&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;__last_result =&amp;amp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'con'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; =&amp;amp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'cols'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_num_fields&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'rows'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_num_rows&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'info'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;=&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;; &lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'cols'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;++&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'info'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'name'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_field_name&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;,&lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'info'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'type'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_field_type&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;,&lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; record&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;,&lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/code&gt;
&lt;p&gt;Et la voici après patch :&lt;/p&gt;
&lt;code class=&quot;php&quot;&gt;public &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; select&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$starttime&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/microtime&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;microtime&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_query&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;__link,&lt;span style=&quot;color: #0000ff;&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$endtime&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/microtime&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;microtime&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$tracesql&lt;/span&gt; = &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$totaltime&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$endtime&lt;/span&gt; - &lt;span style=&quot;color: #0000ff;&quot;&gt;$starttime&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Si la requête est plus longue que 0.5 secondes&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$totaltime&lt;/span&gt; &amp;gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0.5&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$tracesql&lt;/span&gt; = &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;true&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// On trace la requête SQL&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$tracesql&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$fp&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/fopen&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;fopen&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/tmp/db.log&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;a&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$totaltime&lt;/span&gt; . &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt; . &lt;span style=&quot;color: #0000ff;&quot;&gt;$sql&lt;/span&gt; . &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Write the data to the file&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.php.net/fwrite&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;fwrite&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$fp&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$data&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Close the file&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.php.net/fclose&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;fclose&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$fp&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;__last_result =&amp;amp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'con'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; =&amp;amp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'cols'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_num_fields&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'rows'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_num_rows&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'info'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;=&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;; &lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'cols'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;++&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'info'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'name'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_field_name&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;,&lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'info'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'type'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;db_field_type&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;,&lt;span style=&quot;color: #0000ff;&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; record&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$result&lt;/span&gt;,&lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/code&gt;
&lt;p&gt;Cette modification devrait nous permettre de tracer les requêtes select qui
répondent en plus de 0.5 secondes dans un fichier qui se nomme &amp;quot;db.log&amp;quot; et qui
sera créé dans le répertoire temporaire &amp;quot;/tmp&amp;quot;.&lt;/p&gt;
&lt;h3&gt;2) Analyse de requêtes SQL&lt;/h3&gt;
&lt;p&gt;Après un peu de trafic le blog, vous devriez obtenir des requêtes SQL dans
le fichier &amp;quot;/tmp/db.log&amp;quot;. Si ce n'est pas le cas, soit votre blog ne contient
pas beaucoup d'articles, soit vous avez un serveur avec pas mal de CPU &lt;img src=&quot;/themes/geeek.org/smilies/wink.png&quot; alt=&quot;;-)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Note: Le premier chiffre qui se trouve devant la requête est le temps
d'exécution de celle-ci.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Voici les trois requêtes SQL les plus redondantes qui ont été
tracées sur mon blog. Les requêtes tracées dépendent énormément de la
configuration de votre blog, de la quantité d'articles que contient votre blog,
et de la qualité de votre hébergement Web :&lt;/strong&gt;&lt;/p&gt;
&lt;code class=&quot;sql&quot;&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; meta_id, meta_type, COUNT&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;M.post_id&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AS&lt;/span&gt; count &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; dc_meta M &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LEFT&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; dc_post P &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; M.post_id = P.post_id &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; P.blog_id = &lt;span style=&quot;color: #ff0000;&quot;&gt;'default'&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; meta_type = &lt;span style=&quot;color: #ff0000;&quot;&gt;'tag'&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;post_status = &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; post_password &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IS&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;NULL&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;GROUP&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;BY&lt;/span&gt; meta_id,meta_type,P.blog_id &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ORDER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;BY&lt;/span&gt; count &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;DESC&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LIMIT&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;50&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; P.post_id, P.blog_id, P.user_id, P.cat_id, post_dt, post_tz, post_creadt, post_upddt, post_format, post_password, post_url, post_lang, post_title, post_excerpt, post_excerpt_xhtml, post_content, post_content_xhtml, post_notes, post_type, post_meta, post_status, post_selected, post_open_comment, post_open_tb, nb_comment, nb_trackback, U.user_name, U.user_firstname, U.user_displayname, U.user_email, U.user_url, C.cat_title, C.cat_url &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; dc_post P &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INNER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; dc_user U &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; U.user_id = P.user_id &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LEFT&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;OUTER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; dc_category C &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; P.cat_id = C.cat_id &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; P.blog_id = &lt;span style=&quot;color: #ff0000;&quot;&gt;'default'&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;post_status = &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; post_password &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IS&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;NULL&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; post_type = &lt;span style=&quot;color: #ff0000;&quot;&gt;'post'&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;post_dt = &lt;span style=&quot;color: #ff0000;&quot;&gt;'2006-03-29 22:49:37'&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; P.post_id &amp;lt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;315&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;OR&lt;/span&gt; post_dt &amp;lt; &lt;span style=&quot;color: #ff0000;&quot;&gt;'2006-03-29 22:49:37'&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ORDER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;BY&lt;/span&gt; post_dt &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;DESC&lt;/span&gt;, P.post_id &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;DESC&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LIMIT&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; C.comment_id, comment_dt, comment_tz, comment_upddt, comment_author, comment_email, comment_site, comment_content,&amp;nbsp; comment_trackback, comment_status, comment_spam_status, comment_spam_filter, comment_ip, P.post_title, P.post_url, P.post_id, P.post_password, P.post_dt, P.user_id, U.user_email, U.user_url &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; dc_comment C &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INNER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; dc_post P &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; C.post_id = P.post_id &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INNER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; dc_user U &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; P.user_id = U.user_id &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; P.blog_id = &lt;span style=&quot;color: #ff0000;&quot;&gt;'default'&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;comment_status = &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; P.post_status = &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; post_password &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IS&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;NULL&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ORDER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;BY&lt;/span&gt; comment_dt &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;DESC&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LIMIT&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;10&lt;/span&gt;&lt;/code&gt;
&lt;p&gt;La première chose à vérifier est que les éléments présents après le &amp;quot;WHERE&amp;quot;
des requêtes possèdent bien un index en base :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sur la première requête, il manque des index sur
&lt;strong&gt;meta_type&lt;/strong&gt;, &lt;strong&gt;post_status&lt;/strong&gt; et
&lt;strong&gt;post_password&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Sur la deuxième requête, il manque un index sur
&lt;strong&gt;post_type&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Sur la dernière requête, il manque un index sur
&lt;strong&gt;comment_status&lt;/strong&gt; et &lt;strong&gt;comment_dt&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Voici les requêtes SQL pour créer ces index en base :&lt;/strong&gt;&lt;/p&gt;
&lt;code class=&quot;sql&quot;&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ALTER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`dc_post`&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ADD&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INDEX&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`post_status`&lt;/span&gt; , &lt;span style=&quot;color: #ff0000;&quot;&gt;`post_password`&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&amp;nbsp; ;&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ALTER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`dc_post`&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ADD&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INDEX&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`post_type`&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&amp;nbsp; ;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ALTER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`dc_meta`&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ADD&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INDEX&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`meta_type`&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&amp;nbsp; ;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ALTER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`dc_comment`&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ADD&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INDEX&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`comment_status`&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&amp;nbsp; ;&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ALTER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`dc_comment`&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ADD&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INDEX&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;`comment_dt`&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&amp;nbsp; ;&lt;/code&gt;
&lt;p&gt;Après ces modifications, les requêtes que vous trouverez dans votre fichier
db.log devraient être moins nombreuses. &lt;a href=&quot;http://www.dotclear.net/forum/viewtopic.php?id=30748&quot; hreflang=&quot;fr&quot;&gt;J'ai
ouvert un post sur le forum de Dotclear2, mais je n'ai pas encore de réponse
quand à mes optimisations.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Je souhaite remercier l'équipe Dotclear2 pour leur travail et les
féliciter de cet merveilleux outil qu'est Dotclear2 !&lt;/strong&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/11/18/Optimisation-de-Dotclear-2-Beta-7-%3A-La-face-cachee-de-la-base-de-donnees#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/11/18/Optimisation-de-Dotclear-2-Beta-7-%3A-La-face-cachee-de-la-base-de-donnees#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/1080</wfw:commentRss>
      </item>
    
  <item>
    <title>OpenFreebox : Un Linux embarqué sur la Freebox ?</title>
    <link>http://www.geeek.org/post/2007/08/24/OpenFreebox-%3A-Un-Linux-embarque-sur-la-Freebox</link>
    <guid isPermaLink="false">urn:md5:8f06f5e1adca1b1c315bcc5b04914243</guid>
    <pubDate>Fri, 24 Aug 2007 23:56:00 +0200</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Free</category>
        <category>freebox</category><category>hack</category>    
    <description>    &lt;p&gt;C'est le projet d'OpenFreebox :&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.f-x.fr/&quot; hreflang=&quot;fr&quot;&gt;&lt;img src=&quot;http://www.geeek.org/public/linux/ofbx.gif&quot; alt=&quot;freebox,hack,linux&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.f-x.fr/&quot; hreflang=&quot;fr&quot;&gt;http://www.f-x.fr/&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Le Wiki contient pas mal de ressources intéressantes.
Lisez bien le Disclamer par contre !&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/08/24/OpenFreebox-%3A-Un-Linux-embarque-sur-la-Freebox#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/08/24/OpenFreebox-%3A-Un-Linux-embarque-sur-la-Freebox#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/967</wfw:commentRss>
      </item>
    
  <item>
    <title>Hack des hotspots payants : Encapsulation ICMP/DNS</title>
    <link>http://www.geeek.org/post/2007/08/24/Hack-des-hotspots-payants-%3A-Encapsulation-ICMP/DNS</link>
    <guid isPermaLink="false">urn:md5:377d3fd43c5c992da74d5c9069679c2f</guid>
    <pubDate>Fri, 24 Aug 2007 23:35:00 +0200</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Sécurité</category>
        <category>dns</category><category>hack</category><category>hotspot</category><category>icmp</category><category>wifi</category>    
    <description>    &lt;p&gt;Voici un hack pour utiliser des hotspots Wifi payants gratuitement.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://thomer.com/howtos/nstx.html&quot; hreflang=&quot;fr&quot;&gt;http://thomer.com/howtos/nstx.html&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Le TCP over DNS .. Voir même le TCP over ICMP &lt;img src=&quot;/themes/geeek.org/smilies/smile.png&quot; alt=&quot;:-)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;


&lt;p&gt;C'est de l'encapsulation de données, mais ça marche sur certains de Hotspots qui laissent ce type de flux passer sans aucune authentification.&lt;/p&gt;


&lt;p&gt;Il faut cependant avoir un serveur connecté à Internet qui puisse désencapsuler les paquets et les forwarder sur Internet.&lt;/p&gt;


&lt;p&gt;Merci à Valentin pour la news.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/08/24/Hack-des-hotspots-payants-%3A-Encapsulation-ICMP/DNS#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/08/24/Hack-des-hotspots-payants-%3A-Encapsulation-ICMP/DNS#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/964</wfw:commentRss>
      </item>
    
  <item>
    <title>Virus MSN photos.zip : Le virus très vicieux !</title>
    <link>http://www.geeek.org/post/2007/06/19/Virus-MSN-photoszip-%3A-Le-virus-tres-vicieux</link>
    <guid isPermaLink="false">urn:md5:07f60ff2d66d8744ce143bcdf41fe78f</guid>
    <pubDate>Tue, 19 Jun 2007 23:07:00 +0200</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Sécurité</category>
        <category>hack</category><category>messenger</category><category>MSN</category><category>photos</category><category>virus</category><category>windows</category><category>zip</category>    
    <description>    &lt;p&gt;Attention à ce type de Virus, il envoie à l'insu de l'utilisateur un fichier
portant le nom de &amp;quot;photos.zip&amp;quot; par MSN en prétextant qu'il s'agit de photos
chaudes :&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.geeek.org/public/securite/msn-virus.png&quot; alt=&quot;virus msn patch windows live messenger&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;La solution pour se débarrasser du Virus MSN :&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Le programme &lt;a href=&quot;http://sosvirus.changelog.fr/MSNFix.zip&quot; hreflang=&quot;fr&quot;&gt;MSN Fix disponible ici&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.webaide.net/Suppression-du-virus-MSN-Backdoor-Win32-IRCBot-aaq-aide-161.html&quot; hreflang=&quot;fr&quot;&gt;Voiciune page d'aide pour se débarrasser du virus via
l'utilisation de MSN Fix&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Enfin, &lt;a href=&quot;http://www.geeek.org/post/2008/08/24/MSN-Messpatch-%3A-Optimisez-MSN-a-votre-gout&quot;&gt;découvrez
comment optimiser MSN&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/06/19/Virus-MSN-photoszip-%3A-Le-virus-tres-vicieux#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/06/19/Virus-MSN-photoszip-%3A-Le-virus-tres-vicieux#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/904</wfw:commentRss>
      </item>
    
  <item>
    <title>Les faux hotspots Wi-Fi sèment le chaos ?</title>
    <link>http://www.geeek.org/post/2007/06/07/Les-faux-hotspots-Wi-Fi-sement-le-chaos</link>
    <guid isPermaLink="false">urn:md5:c088dc170ac6974cee59c6c9446c8db9</guid>
    <pubDate>Thu, 07 Jun 2007 23:36:00 +0200</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Wifi</category>
        <category>essid</category><category>flood</category><category>hack</category><category>wifi</category>    
    <description>    &lt;p&gt;&lt;img src=&quot;http://www.geeek.org/public/images/wifi.jpg&quot; alt=&quot;wifi.jpg&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; /&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.canardwifi.com/index.php?2007/06/07/1756-surcharge-a-la-gare-du-nord&quot; hreflang=&quot;fr&quot;&gt;A la gare du nord ..&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Ce flood est assez simple à réaliser, il faut juste :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Un PDA sous Linux (ex: Zaurus).&lt;/li&gt;
&lt;li&gt;Une carte Wifi supportant le mode Master sous Linux.&lt;/li&gt;
&lt;li&gt;Les librairies Perl d'installées.&lt;/li&gt;
&lt;li&gt;Le script FakeAP (&lt;a href=&quot;http://www.blackalchemy.to/project/fakeap/&quot; hreflang=&quot;fr&quot;&gt;http://www.blackalchemy.to/project/fakeap/&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Et c'est parti ...&lt;/p&gt;


&lt;p&gt;Vous pouvez envoyer des centaines de fausses &amp;quot;beacon frames&amp;quot; contenant un faux ESSID, une adresse MAC aléatoire avec une puissance d'émission aléatoire. Vous brouillez ainsi l'accès aux différents réseaux Wifi.&lt;/p&gt;


&lt;p&gt;C'est légal mais pas vraiment moral ....&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/06/07/Les-faux-hotspots-Wi-Fi-sement-le-chaos#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/06/07/Les-faux-hotspots-Wi-Fi-sement-le-chaos#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/883</wfw:commentRss>
      </item>
    
  <item>
    <title>WII Hack</title>
    <link>http://www.geeek.org/post/2007/05/26/WII-Hack</link>
    <guid isPermaLink="false">urn:md5:443383c6ef9ebefca867ab59c83dc4ec</guid>
    <pubDate>Sat, 26 May 2007 23:46:00 +0200</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>Nintendo</category>
        <category>hack</category><category>wii</category>    
    <description>    &lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://wiihacks.blogspot.com/&quot;&gt;http://wiihacks.blogspot.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://wiibrew.org&quot; hreflang=&quot;fr&quot;&gt;http://wiibrew.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wiili.org&quot; hreflang=&quot;fr&quot;&gt;http://www.wiili.org&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/05/26/WII-Hack#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/05/26/WII-Hack#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/879</wfw:commentRss>
      </item>
    
  <item>
    <title>HACK : Preview sur les URL du BlogRoll Dotclear2</title>
    <link>http://www.geeek.org/post/2007/03/05/HACK-%3A-Preview-sur-les-URL-du-BlogRoll-Dotclear3</link>
    <guid isPermaLink="false">urn:md5:06f17d8dd2049c9af9159446cce1d925</guid>
    <pubDate>Mon, 05 Mar 2007 23:05:00 +0000</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>DotClear</category>
        <category>blogroll</category><category>hack</category><category>javascript</category><category>preview</category>    
    <description>    &lt;p&gt;&lt;img src=&quot;http://www.geeek.org/public/images/dotclear.png&quot; alt=&quot;dotclear.png&quot; /&gt;&lt;/p&gt;


&lt;p&gt;Voici un petit Hack du plugin Blogroll de Dotclear2 pour y ajouter facilement une prévisualisation des sites qui se cachent derrière les URL.&lt;/p&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;h3&gt;Première Étape : Installer le Javascript dans votre thème&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Télécharger le Javascript &amp;quot;arc90_linkthumb.js&amp;quot; &lt;a href=&quot;http://www.geeek.org/themes/geeek.org/js/arc90_linkthumb.js&quot; hreflang=&quot;fr&quot;&gt;à cette adresse&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Copiez le dans le répertoire &amp;quot;js&amp;quot; de votre thème favoris dans Dotclear2&lt;/li&gt;
&lt;li&gt;Éditez le fichier &amp;quot;home.html&amp;quot; de votre thème&lt;/li&gt;
&lt;li&gt;Ajoutez entre les balises &amp;lt;head&amp;gt;&amp;lt;/head&amp;gt; le code HTML suivant :&lt;/li&gt;
&lt;/ul&gt;

&lt;pre&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;/themes/montheme/js/arc90_linkthumb.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


&lt;h3&gt;Deuxième Étape : Modification du plugin BlogRoll&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Allez dans le répertoire &amp;quot;/plugins/blogroll&amp;quot; de votre installation Dotclear2.&lt;/li&gt;
&lt;li&gt;Modifiez le fichier _public.php&lt;/li&gt;
&lt;li&gt;Trouvez la méthode &amp;quot;getLinksList&amp;quot;&lt;/li&gt;
&lt;li&gt;Ajoutez le tag : class=&amp;quot;linkthumb&amp;quot;  au lien (&amp;lt;a&amp;gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Voilà, le tour est joué, vous avez maintenant un blogroll avec une preview des sites internet.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/03/05/HACK-%3A-Preview-sur-les-URL-du-BlogRoll-Dotclear3#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/03/05/HACK-%3A-Preview-sur-les-URL-du-BlogRoll-Dotclear3#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/722</wfw:commentRss>
      </item>
    
</channel>
</rss>