mirror of
https://github.com/hanzoui/custom-nodes-security-scan.git
synced 2026-10-30 20:56:54 +00:00
13 lines
411 B
Python
13 lines
411 B
Python
# Copyright (C) 2014-2016 Cuckoo Foundation.
|
|
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
|
|
# See the file 'docs/LICENSE' for copying permission.
|
|
# Originally contributed by Check Point Software Technologies, Ltd.
|
|
|
|
from lib.common.results import NetlogFile
|
|
|
|
def send_file(name, data):
|
|
"""Send file to result server"""
|
|
nf = NetlogFile(name)
|
|
nf.sock.sendall(data)
|
|
nf.close()
|