start block code
parent
bbb92d1fdb
commit
88b38d1492
@ -0,0 +1,16 @@
|
||||
from util import find_data_file
|
||||
from util import setup_child
|
||||
from util import fprint
|
||||
from util import run_cmd
|
||||
from util import win32
|
||||
from util import linux
|
||||
import util
|
||||
import time
|
||||
import csv
|
||||
import ssh
|
||||
|
||||
def get_blocklist(config):
|
||||
setup_child()
|
||||
fprint("Downloading deny list from server")
|
||||
data = check_for_file(config, "BadIPs.csv", "receive")
|
||||
fprint(data.stdout)
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue