Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Český Wikipedia has the code as well. http://cs.wikipedia.org/wiki/Raw_socket

I'm not sure whence the code was lifted, but it would not surprise me if they just grabbed some code from Wikipedia and assumed it was freely usable.



The Wiki article lifted the code from Vivek's site (the author). This is how I solved the mystery:

http://cs.wikipedia.org/w/index.php?title=Raw_socket&dif...

Do you see they mention a reference: http://security-freak.net/raw-sockets/raw-sockets.html which was later removed as the site is now down. Both the code + the reference was added by the same author on wikipedia on the same day in 2011.

A whois on Security-Freak.net gives me that Vivek is still the owner of the domain: http://whois.domaintools.com/security-freak.net

This matches the whois person for securitytube.net (OP's site) http://whois.domaintools.com/securitytube.net

Proof 2: Wayback machine:

http://web.archive.org/web/20071217111629/http://www.securit...

Code: http://web.archive.org/web/20071219013022/http://www.securit...

The above C file is the exact same code posted in the Wiki article - in 2011 which was there on security-freak.net in 2007.


The code on Wiki doesnt seem to have the same comments.


No, but the key one is "/* A simple write on the socket ..thats all it takes ! */" which the author said was rather distinctive, and I would have to agree. (In fact, it was the search I used to find this example.)

How it got onto Wikipedie is another question (might have been on en, ru, or other wiki and translated).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: