summaryrefslogtreecommitdiffstats
path: root/people
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-06-30 23:06:27 +0200
committerFelix Richter <github@syntax-fehler.de>2011-06-30 23:06:27 +0200
commitdf04c27a35814c115690b96b94368ec08e54f796 (patch)
tree95cc1b93005d4dcb71d605e7b8559eac25ef2894 /people
parenta60b064f38209d8f41b67717b8c80cd214f9c2b9 (diff)
parentd303e6041410abb7282ccfc26017d9d32bd2908d (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'people')
-rwxr-xr-xpeople/arping_users.py6
-rw-r--r--people/mac_names.lst6
2 files changed, 8 insertions, 4 deletions
diff --git a/people/arping_users.py b/people/arping_users.py
index c576e4f3..008fe337 100755
--- a/people/arping_users.py
+++ b/people/arping_users.py
@@ -21,7 +21,7 @@ def load_names(MAC_NAMES):
names = {}
f = open(MAC_NAMES)
for l in f:
- mac,name = l.split()
+ mac,name = l.split(' ',1)
names[mac] = name.replace('\n','')
f.close()
return names
@@ -29,7 +29,7 @@ def load_names(MAC_NAMES):
def arping_helper(dic):
return arpingy(**dic)
-for first in range(4):
+for first in range(1,3):
for second in range(255):
data.append({'iprange':'10.42.'+str(first)+'.'+str(second),'iface':DEV})
@@ -50,5 +50,3 @@ for p in ret:
print p[0] + " => " + p[1]
if p[1] in names:
print names[p[1]]+ " is online"
-
-
diff --git a/people/mac_names.lst b/people/mac_names.lst
index dcd3c2b0..ae58b539 100644
--- a/people/mac_names.lst
+++ b/people/mac_names.lst
@@ -1 +1,7 @@
00:40:63:c8:b5:a0 krebs
+00:23:54:29:1d:3e hadez
+00:26:c7:bd:a7:1a Martin
+04:1e:64:05:39:28 Stephan
+5c:59:48:22:2d:d2 Phil
+00:21:00:fb:5c:b6 Kah Hah
+00:1e:64:27:3b:72 Felix