Update client.py
This commit is contained in:
1 parent
1771235d61
commit
b606caa688
1 file changed
+4
-2
+4
-2
@@ -68,8 +68,10 @@ def grep_all_ips(ips, cmd):
|
||||
|
||||
return match_count
|
||||
|
||||
while True:
|
||||
cmd = input(">> ").strip()
|
||||
#get all the argument of call
|
||||
import sys
|
||||
|
||||
cmd = " ".join(sys.argv[1:])
|
||||
match_count = grep_all_ips(ALL_IPS, cmd)
|
||||
|
||||
print("=========================== SUMMARY ===========================")
|
||||
|
||||
Reference in new issue
Block a user