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.
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.
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.
How it got onto Wikipedie is another question (might have been on en, ru, or other wiki and translated).