projects
/
pwnitter
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7175881
)
Fixed a "device not find" name error
author
Tobias Mueller
<tobiasmue@gnome.org>
Thu, 13 Jan 2011 15:48:36 +0000
(16:48 +0100)
committer
Tobias Mueller
<tobiasmue@gnome.org>
Thu, 13 Jan 2011 15:48:36 +0000
(16:48 +0100)
pwnitter.py
patch
|
blob
|
history
diff --git
a/pwnitter.py
b/pwnitter.py
index
faca125
..
6995b0a
100755
(executable)
--- a/
pwnitter.py
+++ b/
pwnitter.py
@@
-41,8
+41,9
@@
class Pwnitter(dbus.service.Object):
in_signature='', out_signature='')
def Start(self, filename=None):
# FIXME: Prevent double Start()
+ device = self.device
if filename is None: # Then we do *not* want to read from a PCap file but rather a monitor device
- self.setup_monitor(self.device)
+ self.setup_monitor(device)
self.is_running = True
try:
self.cap = pcap.pcap(device)