12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- /**
- * <https://y.st./>
- * Copyright © 2016 Alex Yst <mailto:copyright@y.st>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org./licenses/>.
- **/
- $xhtml = array(
- 'title' => 'Session identifiers',
- 'body' => <<<END
- <p>
- I have run into another issue with the spider.
- This time, it is indexing $a[URI]s that are identical aside from session $a[ID]s as separate pages, then requesting each of these pages to search for hyperlinks on.
- Technically, this is the correct behavior, but in practice, this is both a waste of my disk space and the other server's resources.
- I kind of wonder if the logs will be read and the server administrator will think that it was some sort of attempted $a[DDoS] attack.
- After all, the spider did just request the same page potentially hundreds of times.
- I need to add a feature that reads and parses the query string of $a[URI]s that it finds.
- I can then tell it to strip out certain variables, such as <code>sid</code>.
- </p>
- <p>
- I found a function that is impossible for me to map correctly to an object method: <a href="https://secure.php.net/manual/en/function.fscanf.php"><code>\\fscanf()</code></a>.
- The problem is that it takes an unlimited number of arguments that are passed be reference.
- I ended up having to include only the minimal functionality.
- </p>
- <p>
- Cyrus looked into another option for his Boy Scout project, this time, work at a cat shelter.
- However, it turns out that the work that they want done is illegal.
- They want a wall torn down so that a door can be installed, which is all well and good, but they want to do it on the down low so that they can avoid getting a permit for it.
- Even if Cyrus wanted to help them out, he would never get it approved as his project.
- The project needs to be completely legal.
- </p>
- <p>
- My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
- </p>
- END
- );
|