PDA

View Full Version : Here Is The Leaked Windows Source Code



I.am
02-14-2004, 04:33 PM
Ladies & Gentlemen,
This is all you've been waiting for!!!!!!!!

Getting all my resources together I finally got hold of this so called Microsoft's Treasure.

Many of you might be knowing that linux programmers and other programmers have refused to see the leaked code. According to them,if they see that source they will forget how to program well. I dont know if its true. This code sure is a work of art, aint it?

Here is the source code:




/* Source Code Windows 2000 */

#include "DOS.h"
#include "win31.h"
#include "win95.h"
#include "win98.h"
#include "winME.h"
#include "win2k.h"
#include "workst~1.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#include "backdoor.h"
#include "blockOS/2.h"
#include "blocklinux.h"
#include "blockapple.h"
#include "reportactivity.h"
#define INSTALL = HARD
#define INSTALL = IMPOSSIBLE

char make_prog_look_big(16000000);
void main()
{
while(!CRASHED)
{
  display_copyright_message();
  display_bill_rules_message();
  do_nothing_loop();

  if (first_time_installation)
    {
    make_100_megabyte_swapfile();
    do_nothing_loop();
    totally_screw_up_HPFS_file_system();
    search_and_destroy_the_rest_of-OS2();
    make_futile_attempt_to_damage_Linux();
    disable_Netscape();
!       disable_RealPlayer();
    disable_Lotus_Products();
    screwup_other_InternetBrowsers();
    open_tcpports(1,64767);
    open_udpports(1,64767);
    hang_system();
    } //if
  write_something(anything);
  display_copyright_message();
  do_nothing_loop();
  do_some_stuff();

  if (still_not_crashed)
  {
  display_copyright_message();
  do_nothing_loop();
  basically_run_windows_31();
  report_all_fileinfo();
  do_nothing_loop();
  } // if
} //while

if (detect_cache())
  disable_cache();

if (fast_cpu())
  {
  set_wait_states(lots);
  set_mouse(speed,very_slow);
  set_mouse(action,jumpy);
  set_mouse(reaction,sometimes);
  } //if

/* printf("Welcome to Windows 3.1");    */
/* printf("Welcome to Windows 3.11");   */
/* printf("Welcome to Windows 95");     */
/* printf("Welcome to Windows NT 3.0"); */
/* printf("Welcome to Windows 98");     */
/* printf("Welcome to Windows NT 4.0"); */
printf("Welcome to Windows 2000");  

if (system_ok())
  crash(to_dos_prompt)
else
  system_memory = open("a:\swp0001.swp",O_CREATE);

while(something)
  {
  sleep(5);
  get_user_input();
  sleep(5);
  act_on_user_input();
  sleep(5);
  } // while
create_general_protection_fault();

} // main



May the source be with you!

muchspl2
02-14-2004, 05:02 PM
damn its in c !!!
who would have knowed :o

DivineBeingX
02-14-2004, 05:09 PM
wtf does this mean? :blink: :blink: :blink: :blink: :blink: :blink: :blink: :blink: :blink: :blink: :blink: :blink: :blink:

Skweeky
02-14-2004, 05:10 PM
:lol: :lol:


Brilliant

Rat Faced
02-14-2004, 05:32 PM
:lol: :lol: :lol: :lol:

atiVidia
02-14-2004, 06:12 PM
i need to find the real code!


geez ppls <_<





btw this is old

Kazaa Lite freak
02-14-2004, 06:13 PM
you guys get it from IRC like almost 2 days ago ?

Lamsey
02-14-2004, 06:45 PM
It&#39;s actually a simple Java program.

while (user.doesAnything() == true)
{kernel.hang("bluescreen");
kernel.reboot();}

h4mx0r
02-14-2004, 06:47 PM
make_100_megabyte_swapfile();
&nbsp; &nbsp; do_nothing_loop();
&nbsp; &nbsp; totally_screw_up_HPFS_file_system();
&nbsp; &nbsp; search_and_destroy_the_rest_of-OS2();
&nbsp; &nbsp; make_futile_attempt_to_damage_Linux();
&nbsp; &nbsp; disable_Netscape();
&#33;&nbsp; &nbsp; &nbsp; disable_RealPlayer();
&nbsp; &nbsp; disable_Lotus_Products();
&nbsp; &nbsp; screwup_other_InternetBrowsers();
&nbsp; &nbsp; open_tcpports(1,64767);
&nbsp; &nbsp; open_udpports(1,64767);
&nbsp; &nbsp; hang_system();
&nbsp; &nbsp; } //if
&nbsp; write_something(anything);
&nbsp; display_copyright_message();
&nbsp; do_nothing_loop();
&nbsp; do_some_stuff();

&nbsp; if (still_not_crashed)
&nbsp; {
&nbsp; display_copyright_message();
&nbsp; do_nothing_loop();
&nbsp; basically_run_windows_31();
&nbsp; report_all_fileinfo();
&nbsp; do_nothing_loop();


:lol:

h1
02-14-2004, 07:09 PM
Try this on a Windows 2000 / XP machine. Make sure to save all work first&#33;

#include &#60;stdio.h&#62;
int main &#40;void&#41;
{
&nbsp; while &#40;1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf &#40;&#34;&#092;t&#092;t&#092;b&#092;b&#092;b&#092;b&#092;b&#092;b&#34;&#41;;
&nbsp; }
&nbsp; return 0;
}

If you&#39;re on Windows 95 / 98 / 98SE, just browse on over to file:///c:/nul/nul and laugh. :D

4th gen
02-14-2004, 07:11 PM
Originally posted by haxor41789@14 February 2004 - 18:09
Try this on a Windows 2000 / XP machine. Make sure to save all work first&#33;


#include &#60;stdio.h&#62;
int main &#40;void&#41;
{
while &#40;1&#41;
{
&nbsp;printf &#40;&#34;&#092;t&#092;t&#092;b&#092;b&#092;b&#092;b&#092;b&#092;b&#34;&#41;;
}
return 0;
}


If you&#39;re on Windows 95 / 98 / 98SE, just browse on over to file:///c:/nul/nul and laugh. :D
When you post up code, can you stick up an explanation along with it for those who don&#39;t know what it does (like myself), please?

h1
02-14-2004, 07:14 PM
The first one seems rather innocent, but will restart a 2000 / XP comp.

In Windows 95 / 98, nul is a reserved character and trying to use it will crash the OS. Try renaming a file to "con" or "nul" and you&#39;ll see what I mean.

4th gen
02-14-2004, 07:16 PM
Originally posted by haxor41789@14 February 2004 - 18:14
The first one seems rather innocent, but will restart a 2000 / XP comp.

In Windows 95 / 98, nul is a reserved character and trying to use it will crash the OS. Try renaming a file to "con" or "nul" and you&#39;ll see what I mean.
Thanks

bujub22
02-14-2004, 08:25 PM
i have no idea about this stuff :blink:

atiVidia
02-14-2004, 08:43 PM
Originally posted by Lamsey@14 February 2004 - 13:45
It&#39;s actually a simple Java program.

while (user.doesAnything() == true)
{kernel.hang("bluescreen");
kernel.reboot();}
lamsey congrats on becoming a forum star w00t&#33;&#33;&#33;

testos
02-14-2004, 09:16 PM
what can u do with such a source code? :helpsmile:

4th gen
02-14-2004, 09:21 PM
Originally posted by testos@14 February 2004 - 20:16
what can u do with such a source code? :helpsmile:
build it back up to the original program

h1
02-14-2004, 10:11 PM
Compile it into the binary, but with the leaked source you can&#39;t do jack shit because it&#39;s only part of the shell and kernel, making up less than 1.5% of the total source. ;)