Advertisement
Guest User

Untitled

a guest
Mar 14th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. #!/usr/local/bin/python3.7
  2. import socket
  3. import ctypes
  4. import sys
  5.  
  6. lib = ctypes.CDLL("/usr/lib/libblacklist.so")
  7. if lib == None :
  8.   print("Unable to load the blacklist library")
  9.   sys.exit(-1)
  10.  
  11. handle = lib.blacklist_open()
  12.  
  13. lib.blacklist_close(handle)
  14. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement