I think this post sums up best the problem with the hacking exposed series and the direction pdp&#39;s book is going.&nbsp; Hacking exposed does not explain anything it only teaches tools and results.&nbsp; I much prefer books like &#39;hacking the art of exploitation&#39;, &#39;the art of software security assessment&#39;, and &#39;secrets of reverse engineering&#39; because they are tool agnostic and teach the low level concepts that are going on. If I was hiring people I would much rather someone who understand the details of how something worked then someone who can only rely on tools and scripts.&nbsp; <br>
<br>Publishing these books only hurts the &#39;community&#39; by breeding more kiddies who rely on tools to do everything for them.<br><br><br>On Wed, Mar 19, 2008 at 1:35 PM,  &lt;<a href="mailto:Valdis.Kletnieks@vt.edu">Valdis.Kletnieks@vt.edu</a>&gt; wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Wed, 19 Mar 2008 17:30:08 -0000, &quot;Petko D. Petkov&quot; said:<br>

<br>
&gt; moreover, the project is not a Phrack knock-off as you said. It is<br>
&gt; very different. As I said, it wont contain explanations but like hands<br>
&gt; on tips/tricks and techniques even the most knowledgeable can learn<br>
&gt; from or use as a base reference.<br>
<br>
</div>Without an explanation of *why* a given tip/trick works, it&#39;s hard to learn from.<br>
<br>
For example, consider the question of &quot;Tell me how many processes called<br>
&#39;xyzzy&#39; are running on a system. &nbsp;The naive answer is:<br>
<br>
% ps ax | grep xyzzy | wc -l<br>
<br>
However, that generates an off-by-one error because it catches the grep itself.<br>
<br>
% ps ax | grep &#39;[x]yzzy&#39; | wc -l<br>
<br>
Does what you wanted - but without an understanding of *why* that regexp<br>
doesn&#39;t match itself when the first example does, you can&#39;t apply the more<br>
general concept of regexps that do/don&#39;t match themselves to *other* uses.<br>
(The secret here - the second regexp is *effectively* identical to the first,<br>
but says &quot;look for an x next to a y&quot; in a way that doesn&#39;t itself have an<br>
x adjacent to a y).<br>
<br>
So you need an explanation.<br>
<br>
(The fact that a process can re-write its argv[0] and change the name displayed<br>
by ps is yet another &quot;teachable moment&quot; - does that mean that you really want<br>
the name it was invoked under and should add the &#39;ps&#39; flag that gives that, or<br>
do you really want the number of processes that have that modified argv value<br>
set? &nbsp;For instance, if you&#39;re using &#39;sendmail&#39;, there are a number of states<br>
a given copy can be in, and you can do a status summary by counting the number<br>
of &#39;accepting connections&#39;, &#39;rejecting connections&#39;, &#39;running queue&#39; and other<br>
similar indicators.<br>
<br>
But again, you need an explanation.<br>
<br>_______________________________________________<br>
Full-Disclosure - We believe in it.<br>
Charter: <a href="http://lists.grok.org.uk/full-disclosure-charter.html" target="_blank">http://lists.grok.org.uk/full-disclosure-charter.html</a><br>
Hosted and sponsored by Secunia - <a href="http://secunia.com/" target="_blank">http://secunia.com/</a><br></blockquote></div><br>