Ticket #332 (new defect)

Opened 8 months ago

Old way of Windows console redirection in sniff() causes exception

Reported by: Dirk Loss Owned by: pbi
Priority: minor Milestone:
Component: Scapy Version:
Keywords: windows Cc:

Description

Traceback (most recent call last):
  File "arp_monitor.py", line 8, in <module>
    sniff(prn=arp_monitor_callback, filter="arp", store=0)
  File "c:\Python25\Lib\site-packages\scapy\arch\windows\__init__.py", line 521,
 in sniff
    print >> console, r
NameError: global name 'console' is not defined

Fixed in  http://hg.secdev.org/scapy-com/rev/f263168cfb0e

Attachments

Add/Change #332 (Old way of Windows console redirection in sniff() causes exception)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from pbi. Next status will be 'new'
The owner will change from pbi to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.