projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated features for two different types of sniffing. fixed and scrolling. This can...
[goodfet]
/
client
/
goodfet.maxusbhost
diff --git
a/client/goodfet.maxusbhost
b/client/goodfet.maxusbhost
index
4cfaece
..
074d931
100755
(executable)
--- a/
client/goodfet.maxusbhost
+++ b/
client/goodfet.maxusbhost
@@
-34,8
+34,9
@@
if(sys.argv[1]=="allstrings"):
client.detect_device();
time.sleep(0.2);
client.enumerate_device();
client.detect_device();
time.sleep(0.2);
client.enumerate_device();
- for foo in range(1,
40
):
+ for foo in range(1,
255
):
print "Grabbing string at index=%i" % foo;
string=client.getDescriptorString(foo);
print "Grabbing string at index=%i" % foo;
string=client.getDescriptorString(foo);
- print "Strings[%i]=%s" % (foo,string);
+ if string!=None:
+ print "Strings[%i]=%s" % (foo,string);
sys.stdout.flush();
sys.stdout.flush();