{"id":79,"date":"2026-11-02T05:22:49","date_gmt":"2026-11-01T18:22:49","guid":{"rendered":"https:\/\/davidshoon.com\/?p=79"},"modified":"2026-11-02T05:22:49","modified_gmt":"2026-11-01T18:22:49","slug":"my-past-life-as-a-funny-guy","status":"publish","type":"post","link":"https:\/\/davidshoon.com\/?p=79","title":{"rendered":"My past life as a funny guy&#8230;"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">One of my mastery comments on top of an &#8220;example code&#8221; file from the draichess archives&#8230; back when I was teaching hackers in #hackers on yahoo.com&#8230;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n\/*\n        An example RAW socket program for Linux 2.4.xx - RELOADED\n\n        By j00n1x (c) 2003\n\n        Greetz: sk4zi cr3w for pr0v1d1ng fr13nd5h1p.\n\n        This program requires superuser (root). Spoofs a packet of the type:\n        TCP SYN, UDP, or ICMP echo reply. Contains checksum algorithm.\n\n        &lt;standard disclaimer>\n        NO WARRANTY ON THIS PROGRAM. THIS IS A TUTORIAL PROGRAM\n        AND SHOULD NOT BE USED FOR MALICIOUS PURPOSES! YOU HAVE\n        BEEN WARNED!\n\n        Ok, who am eye kidding... just d0nt j00se it to t4k3 d0wn y4h00 ok?\n        Just remember that Mafiab0y was r00ted by bubba in his 4x4 cell f0r\n        years bef0re h3 st4rt3d r0rt1ng the s3cur1ty industry and g0t p41d\n        t0 haxxor. Just as lame as Kevin M1tn1ck, but d1fferent...\n*\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Apparently the draichess geocities archives were useful for some people, as documented here:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.developpez.net\/forums\/images\/icons\/icon1.png\" alt=\"Par d\u00e9faut\" title=\"Par d\u00e9faut\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">[RESOLU] traffic sortant sans libpcap<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Bonjour, je cherche \u00e0 capter du traffic sortant dans un programmme.<br><br>POur l&#8217;instant j&#8217;arrive \u00e0 capter le traffic entrant avec recvfrom, mais je ne sais pas comment d\u00e9tecter le traffic sortant.<br><br>Est ce qu&#8217;il existe des options qui permettent de faire ca avec recvfrom (un man recvfrom n&#8217;a rien donn\u00e9, j&#8217;ai \u00e9ssayer de remplacer les flags dans la fonction par ceux MSG_OOB etc mais ca n&#8217;a rien donn\u00e9e).<br><br>Est ce qu&#8217;il existe une autre fonction qui permette de capter le traffic sortant.<br><br>PS: je ne veux pas utiliser la libpcap ,car elle stocke ces donn\u00e9es dans un buffer (ainsi quand on envoie un grand nombre de paquet seul une petite partie de ses paquets est stock\u00e9). Au passage, j&#8217;ai aussi essayer de voir comment \u00e9t\u00e9 recu les paquets dans la libpcap (fichier pcap-linux.c) mais ca ne m&#8217;a pas aider. Voila<br><br>Merci d&#8217;avance pour ceux qui m&#8217;aideront<\/p>\n<\/blockquote>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Followed by his post:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">merci je vais voir ca<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.developpez.net\/forums\/images\/smilies\/icon_wink.gif\" alt=\"\" title=\";)\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">c&#8217;est bon j&#8217;ai trouv\u00e9 en fait<br>http:\/\/64.233.183.104\/search?q=cache:oI9ifSf35u4J:www.geocities.com\/draichess\/example-sniffer3.c+struct+sockaddr_ll+%22%23include+%3Cstdio.h%3E%22&amp;hl=fr&amp;client=firefox-a<br><br>cette source m&#8217;adonn\u00e9e la solution<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">(If you&#8217;re an English reader, you&#8217;ll have to use a translator, not gonna translate it for you.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Original post link here: <a href=\"https:\/\/www.developpez.net\/forums\/d31177\/systemes\/reseaux\/developpement\/traffic-sortant-libpcap\/?utm_source=chatgpt.com\">https:\/\/www.developpez.net\/forums\/d31177\/systemes\/reseaux\/developpement\/traffic-sortant-libpcap\/?utm_source=chatgpt.com<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So apparently someone found my draichess geocities useful&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m thinking of reviving the mirror here, for the public, but not yet&#8230; actually most of the techniques are superceded or mitigated now, but would be good to archive it for historical purposes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of my mastery comments on top of an &#8220;example code&#8221; file from the draichess archives&#8230; back when I was teaching hackers in #hackers on yahoo.com&#8230; Apparently the draichess geocities archives were useful for some people, as documented here: Followed by his post: (If you&#8217;re an English reader, you&#8217;ll have to use a translator, not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/davidshoon.com\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidshoon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidshoon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidshoon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidshoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":1,"href":"https:\/\/davidshoon.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/davidshoon.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/davidshoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidshoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidshoon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}