Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

HTTP Server in FASM

Name: Anonymous 2015-06-28 14:48

Name: Anonymous 2015-06-28 14:55

The MenuetOS project has many gems like that one.
Even a fully working web-browser in FASM (Cudder's dream). http://www.menuetos.net/net02.jpg
http://www.menuetos.net/098b3.png

Too bad the source code of the web-browser isn't publicly available, so we can't port it to other operating systems.

Name: Anonymous 2015-06-28 15:06

>>2
There actually is a (very) old version available.
http://mermaja.act.uji.es/docencia/is37/data/MenuetOS32/apps_dev/HTTPC.ASM

But it's pretty lame. The current version is great, but indeed not publicly available.

Name: Anonymous 2015-06-28 15:33

Name: Anonymous 2015-06-28 15:58

>>2
If it is assembly, you can just disassemble it. No crazy compiler optimizations to impeding reading.

Name: Cudder !cXCudderUE 2015-06-28 17:14

>>2
Does it pass Acid2?

>>3
This version definitely doesn't.

no_com2_end:
mov eax,[esi+0x10000] ; <script
cmp eax,'<scr'
jne no_script_start
mov [script],1


WTF. It doesn't even tokenise correctly, it's just assuming any tag starting with "scr" is a script tag! I'm not even sure if it can handle pages > 64KB... *facepalm*

It's certainly hand-written Asm, but it's not really good hand-written Asm.

Name: Anonymous 2015-06-28 20:14

>>6
This version definitely doesn't.
Yeah, that version was from 2003.

Name: Anonymous 2015-06-29 4:06

>>7
Does it pass Acid1?

Don't change these.
Name: Email:
Entire Thread Thread List