{"action":"opened","issue":{"url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/423","repository_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII","labels_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/423/comments","events_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/423/events","html_url":"https://github.com/pepper-jk/ID2T-toolkitIII/issues/423","id":382857450,"node_id":"MDU6SXNzdWUzODI4NTc0NTA=","number":423,"title":"Tests fail on Debian","user":{"login":"pepper-jk","id":19859589,"node_id":"MDQ6VXNlcjE5ODU5NTg5","avatar_url":"https://avatars1.githubusercontent.com/u/19859589?v=4","gravatar_id":"","url":"https://api.github.com/users/pepper-jk","html_url":"https://github.com/pepper-jk","followers_url":"https://api.github.com/users/pepper-jk/followers","following_url":"https://api.github.com/users/pepper-jk/following{/other_user}","gists_url":"https://api.github.com/users/pepper-jk/gists{/gist_id}","starred_url":"https://api.github.com/users/pepper-jk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepper-jk/subscriptions","organizations_url":"https://api.github.com/users/pepper-jk/orgs","repos_url":"https://api.github.com/users/pepper-jk/repos","events_url":"https://api.github.com/users/pepper-jk/events{/privacy}","received_events_url":"https://api.github.com/users/pepper-jk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T21:35:03Z","updated_at":"2018-11-20T21:35:03Z","closed_at":null,"author_association":"OWNER","body":"**Issue by [jens.klein](https://git.tk.informatik.tu-darmstadt.de/jens.klein)**\n_Thursday Oct 11, 2018 at 12:54 GMT_\n_Originally opened as https://git.tk.informatik.tu-darmstadt.de/SPIN/ID2T-toolkit/issues/169_\n\n----\n\nAnother error within the Labelmanager:\r\n\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n\r\ncomplete log:\r\n\r\n    $ ./run_tests \r\n    WARNING: Failed to execute tcpdump. Check it is installed and in the PATH\r\n    /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88\r\n      return f(*args, **kwds)\r\n    WARNING: Failed to execute tcpdump. Check it is installed and in the PATH\r\n    Exception in statistics_db::writeStatisticsInterval: No row to get a column from. executeStep() was not called, or returned false.\r\n    Exception in statistics_db::writeStatisticsInterval: No row to get a column from. executeStep() was not called, or returned false.\r\n    Exception in statistics_db::writeStatisticsInterval: No row to get a column from. executeStep() was not called, or returned false.\r\n    Exception in statistics_db::writeStatisticsInterval: No row to get a column from. executeStep() was not called, or returned false.\r\n    ......................................................................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE..................................EEEEEE...E......EEEE.EEE..EEEEEEE.....EEEEEE.........................................................................................\r\n    ======================================================================\r\n    ERROR: test_ddos_basic (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 19, in test_ddos_basic\r\n        sha_basic_ddos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ddos_dest_mac_length_zero (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 29, in test_ddos_dest_mac_length_zero\r\n        self.checksum_test([['DDoSAttack']], sha_dest_mac_length_zero_ddos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ddos_ip_range (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 44, in test_ddos_ip_range\r\n        sha_ip_range_ddos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ddos_mss_none (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 34, in test_ddos_mss_none\r\n        self.checksum_test([['DDoSAttack']], sha_mss_none_ddos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ddos_num_attackers (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 24, in test_ddos_num_attackers\r\n        sha_num_attackers_ddos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ddos_one_attacker (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 39, in test_ddos_one_attacker\r\n        sha_one_attacker_ddos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ddos_order (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 52, in test_ddos_order\r\n        self.order_test([['DDoSAttack', 'attackers.count=5']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ddos_port_range (test_DDoSAttack.UnitTestDDoS)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_DDoSAttack.py\", line 49, in test_ddos_port_range\r\n        sha_port_range_ddos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_eternalblue_default (test_EternalBlueExploit.UnitTestEternalBlue)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_EternalBlueExploit.py\", line 13, in test_eternalblue_default\r\n        self.checksum_test([['EternalBlueExploit']], sha_default)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_eternalblue_ips_not_in_pcap (test_EternalBlueExploit.UnitTestEternalBlue)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_EternalBlueExploit.py\", line 16, in test_eternalblue_ips_not_in_pcap\r\n        self.checksum_test([['EternalBlueExploit', 'ip.src=1.1.1.1', 'ip.dst=2.2.2.2']], sha_ips_not_in_pcap)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_eternalblue_multiple_params (test_EternalBlueExploit.UnitTestEternalBlue)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_EternalBlueExploit.py\", line 22, in test_eternalblue_multiple_params\r\n        'mac.dst=04:0C:32:2C:63:62', 'port.src=1337', 'port.dst=42']], sha_multiple_params)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_eternalblue_order (test_EternalBlueExploit.UnitTestEternalBlue)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_EternalBlueExploit.py\", line 25, in test_eternalblue_order\r\n        self.order_test([['EternalBlueExploit']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ftp_basic (test_FTPWinaXeExploit.UnitTestFTPWinaXeExploit)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_FTPWinaXeExploit.py\", line 20, in test_ftp_basic\r\n        self.checksum_test([['FTPWinaXeExploit']], sha_ftp_basic)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ftp_empty_custom_payload_not_empty_file (test_FTPWinaXeExploit.UnitTestFTPWinaXeExploit)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_FTPWinaXeExploit.py\", line 45, in test_ftp_empty_custom_payload_not_empty_file\r\n        self.checksum_test([['FTPWinaXeExploit', 'custom.payload.file=1']], sha_empty_custom_payload_not_empty_file)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ftp_invalid_ip (test_FTPWinaXeExploit.UnitTestFTPWinaXeExploit)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_FTPWinaXeExploit.py\", line 51, in test_ftp_invalid_ip\r\n        self.checksum_test([['FTPWinaXeExploit']], sha_valid_ip)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ftp_mac (test_FTPWinaXeExploit.UnitTestFTPWinaXeExploit)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_FTPWinaXeExploit.py\", line 27, in test_ftp_mac\r\n        self.checksum_test([['FTPWinaXeExploit']], sha_ftp_mac)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ftp_not_empty_custom_payload_empty_file (test_FTPWinaXeExploit.UnitTestFTPWinaXeExploit)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_FTPWinaXeExploit.py\", line 37, in test_ftp_not_empty_custom_payload_empty_file\r\n        self.checksum_test([['FTPWinaXeExploit', 'custom.payload=1']], sha_not_empty_custom_payload_empty_file)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ftp_order (test_FTPWinaXeExploit.UnitTestFTPWinaXeExploit)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_FTPWinaXeExploit.py\", line 54, in test_ftp_order\r\n        self.order_test([['FTPWinaXeExploit']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_ftp_random_ip_src (test_FTPWinaXeExploit.UnitTestFTPWinaXeExploit)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.5/unittest/mock.py\", line 1159, in patched\r\n        return func(*args, **keywargs)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_FTPWinaXeExploit.py\", line 32, in test_ftp_random_ip_src\r\n        self.checksum_test([['FTPWinaXeExploit', 'ip.src.shuffle=1']], sha_ftp_random_ip_src)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_joomla_default (test_JoomlaRegPrivExploit.UnitTestJoomla)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_JoomlaRegPrivExploit.py\", line 13, in test_joomla_default\r\n        self.checksum_test([['JoomlaRegPrivExploit']], sha_default)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_joomla_ips_not_in_pcap (test_JoomlaRegPrivExploit.UnitTestJoomla)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_JoomlaRegPrivExploit.py\", line 16, in test_joomla_ips_not_in_pcap\r\n        self.checksum_test([['JoomlaRegPrivExploit', 'ip.src=1.1.1.1', 'ip.dst=2.2.2.2']], sha_ips_not_in_pcap)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_joomla_multiple_params (test_JoomlaRegPrivExploit.UnitTestJoomla)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_JoomlaRegPrivExploit.py\", line 23, in test_joomla_multiple_params\r\n        'target.host=www.ihopethisisnotarealwebsite.com']], sha_multiple_params)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_joomla_order (test_JoomlaRegPrivExploit.UnitTestJoomla)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_JoomlaRegPrivExploit.py\", line 26, in test_joomla_order\r\n        self.order_test([['JoomlaRegPrivExploit']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_MS17Scan_default (test_MS17ScanAttack.UnitTestMS17Scan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MS17ScanAttack.py\", line 11, in test_MS17Scan_default\r\n        self.checksum_test([['MS17ScanAttack']], sha_default)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_MS17Scan_ips_not_in_pcap (test_MS17ScanAttack.UnitTestMS17Scan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MS17ScanAttack.py\", line 14, in test_MS17Scan_ips_not_in_pcap\r\n        self.checksum_test([['MS17ScanAttack', 'ip.src=1.1.1.1', 'ip.dst=2.2.2.2']], sha_ips_not_in_pcap)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_MS17Scan_multiple_params (test_MS17ScanAttack.UnitTestMS17Scan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MS17ScanAttack.py\", line 20, in test_MS17Scan_multiple_params\r\n        'mac.dst=04:0C:32:2C:63:62', 'port.src=1337', 'port.dst=42']], sha_multiple_params)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_MS17Scan_order (test_MS17ScanAttack.UnitTestMS17Scan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MS17ScanAttack.py\", line 23, in test_MS17Scan_order\r\n        self.order_test([['MS17ScanAttack']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_regression (test_MembersMgmtCommAttack.UnitTestMembersMgmtCommAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MembersMgmtCommAttack.py\", line 10, in test_regression\r\n        pcap=Util.TEST_DIR + \"reference_telnet.pcap\")\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_memcrashed_spoofer_default (test_MemcrashedSpooferAttack.UnitTestMemcrashedSpooferAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MemcrashedSpooferAttack.py\", line 9, in test_memcrashed_spoofer_default\r\n        self.checksum_test([['MemcrashedSpooferAttack']], sha_default)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_memcrashed_spoofer_ips_not_in_pcap (test_MemcrashedSpooferAttack.UnitTestMemcrashedSpooferAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MemcrashedSpooferAttack.py\", line 12, in test_memcrashed_spoofer_ips_not_in_pcap\r\n        self.checksum_test([['MemcrashedSpooferAttack', 'ip.src=1.1.1.1', 'ip.dst=2.2.2.2']], sha_ips_not_in_pcap)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_memcrashed_spoofer_order (test_MemcrashedSpooferAttack.UnitTestMemcrashedSpooferAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_MemcrashedSpooferAttack.py\", line 15, in test_memcrashed_spoofer_order\r\n        self.order_test([['MemcrashedSpooferAttack']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_portscan_default (test_PortscanAttack.UnitTestPortscanAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_PortscanAttack.py\", line 15, in test_portscan_default\r\n        self.checksum_test([['PortscanAttack']], sha_portscan_default)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_portscan_ips_not_in_pcap (test_PortscanAttack.UnitTestPortscanAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_PortscanAttack.py\", line 27, in test_portscan_ips_not_in_pcap\r\n        self.checksum_test([['PortscanAttack', 'ip.src=1.1.1.1', 'ip.dst=2.2.2.2']], sha_portscan_ips_not_in_pcap)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_portscan_order (test_PortscanAttack.UnitTestPortscanAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_PortscanAttack.py\", line 30, in test_portscan_order\r\n        self.order_test([['PortscanAttack']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_portscan_reverse_ports (test_PortscanAttack.UnitTestPortscanAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_PortscanAttack.py\", line 18, in test_portscan_reverse_ports\r\n        self.checksum_test([['PortscanAttack', 'port.dst.order-desc=1']], sha_portscan_reverse_ports)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_portscan_shuffle_dst_ports (test_PortscanAttack.UnitTestPortscanAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_PortscanAttack.py\", line 21, in test_portscan_shuffle_dst_ports\r\n        self.checksum_test([['PortscanAttack', 'port.dst.shuffle=1']], sha_portscan_shuffle_dst_ports)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_portscan_shuffle_src_ports (test_PortscanAttack.UnitTestPortscanAttack)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_PortscanAttack.py\", line 24, in test_portscan_shuffle_src_ports\r\n        self.checksum_test([['PortscanAttack', 'port.src.shuffle=1']], sha_portscan_shuffle_src_ports)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_get_smb_platform_data_win (test_SMBLib.TestSMBLib)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBLib.py\", line 46, in test_get_smb_platform_data_win\r\n        guid, blob, cap, d_size, time = SMBLib.get_smb_platform_data(\"win7\", 100)\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/SMBLib.py\", line 96, in get_smb_platform_data\r\n        server_start_time = Util.get_filetime_format(Util.get_rnd_boot_time(timestamp))\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/Utility.py\", line 193, in get_filetime_format\r\n        boot_datetime = dt.datetime.fromtimestamp(timestamp).astimezone(pytz.timezone('UTC'))\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbloris_default (test_SMBLorisAttack.UnitTestSMBLoris)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBLorisAttack.py\", line 14, in test_smbloris_default\r\n        self.checksum_test([['SMBLorisAttack']], sha_default)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbloris_ips_in_pcap (test_SMBLorisAttack.UnitTestSMBLoris)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBLorisAttack.py\", line 22, in test_smbloris_ips_in_pcap\r\n        self.checksum_test([['SMBLorisAttack', ip_src, ip_dst]], sha_ips_in_pcap)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbloris_one_attacker (test_SMBLorisAttack.UnitTestSMBLoris)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBLorisAttack.py\", line 17, in test_smbloris_one_attacker\r\n        self.checksum_test([['SMBLorisAttack', 'ip.src=192.168.1.240', 'ip.dst=192.168.1.210']], sha_one_attacker)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbloris_order (test_SMBLorisAttack.UnitTestSMBLoris)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBLorisAttack.py\", line 32, in test_smbloris_order\r\n        self.order_test([['SMBLorisAttack', 'attackers.count=1']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbloris_sixteen_attackers (test_SMBLorisAttack.UnitTestSMBLoris)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBLorisAttack.py\", line 25, in test_smbloris_sixteen_attackers\r\n        self.checksum_test([['SMBLorisAttack', 'ip.dst=192.168.1.210', 'attackers.count=16']], sha_sixteen_attackers)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 169, in process_attacks\r\n        self.label_manager.write_label_file(self.pcap_dest_path)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 161, in write_label_file\r\n        xml_tree.appendChild(get_subtree_timestamp(self.TAG_TIMESTAMP_START, label.timestamp_start))\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/LabelManager.py\", line 110, in get_subtree_timestamp\r\n        timestamp_hr_text = dt.datetime.fromtimestamp(timestamp_entry).astimezone(pytz.timezone('UTC')).strftime('%Y-%m-%d %H:%M:%S.%f')\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbscan_default (test_SMBScanAttack.UnitTestSMBScan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBScanAttack.py\", line 20, in test_smbscan_default\r\n        self.checksum_test([['SMBScanAttack']], sha_default)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 100, in process_attacks\r\n        temp_attack_pcap, duration = self.attack_controller.process_attack(attack[0], attack[1:], measure_time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/AttackController.py\", line 176, in process_attack\r\n        self.current_attack.generate_attack_packets()\r\n      File \"/home/jkeim/ID2T-toolkit/code/Attack/SMBScanAttack.py\", line 337, in generate_attack_packets\r\n        SMBLib.get_smb_platform_data(self.host_os, first_timestamp)\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/SMBLib.py\", line 96, in get_smb_platform_data\r\n        server_start_time = Util.get_filetime_format(Util.get_rnd_boot_time(timestamp))\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/Utility.py\", line 193, in get_filetime_format\r\n        boot_datetime = dt.datetime.fromtimestamp(timestamp).astimezone(pytz.timezone('UTC'))\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbscan_dest_mac_only (test_SMBScanAttack.UnitTestSMBScan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBScanAttack.py\", line 54, in test_smbscan_dest_mac_only\r\n        sha_dest_mac_only)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 100, in process_attacks\r\n        temp_attack_pcap, duration = self.attack_controller.process_attack(attack[0], attack[1:], measure_time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/AttackController.py\", line 176, in process_attack\r\n        self.current_attack.generate_attack_packets()\r\n      File \"/home/jkeim/ID2T-toolkit/code/Attack/SMBScanAttack.py\", line 337, in generate_attack_packets\r\n        SMBLib.get_smb_platform_data(self.host_os, first_timestamp)\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/SMBLib.py\", line 96, in get_smb_platform_data\r\n        server_start_time = Util.get_filetime_format(Util.get_rnd_boot_time(timestamp))\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/Utility.py\", line 193, in get_filetime_format\r\n        boot_datetime = dt.datetime.fromtimestamp(timestamp).astimezone(pytz.timezone('UTC'))\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbscan_multiple_victims_macos (test_SMBScanAttack.UnitTestSMBScan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBScanAttack.py\", line 36, in test_smbscan_multiple_victims_macos\r\n        'hosting.ip=192.168.178.15,192.168.178.20']], sha_multiple_victims_macos)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 100, in process_attacks\r\n        temp_attack_pcap, duration = self.attack_controller.process_attack(attack[0], attack[1:], measure_time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/AttackController.py\", line 176, in process_attack\r\n        self.current_attack.generate_attack_packets()\r\n      File \"/home/jkeim/ID2T-toolkit/code/Attack/SMBScanAttack.py\", line 341, in generate_attack_packets\r\n        begin = Util.get_filetime_format(timestamp_smb_req + diff * 0.1)\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/Utility.py\", line 193, in get_filetime_format\r\n        boot_datetime = dt.datetime.fromtimestamp(timestamp).astimezone(pytz.timezone('UTC'))\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbscan_one_victim_linux (test_SMBScanAttack.UnitTestSMBScan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBScanAttack.py\", line 25, in test_smbscan_one_victim_linux\r\n        sha_one_victim_linux)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 38, in checksum_test\r\n        controller.process_attacks(attack_args, [[seed]], time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 100, in process_attacks\r\n        temp_attack_pcap, duration = self.attack_controller.process_attack(attack[0], attack[1:], measure_time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/AttackController.py\", line 176, in process_attack\r\n        self.current_attack.generate_attack_packets()\r\n      File \"/home/jkeim/ID2T-toolkit/code/Attack/SMBScanAttack.py\", line 341, in generate_attack_packets\r\n        begin = Util.get_filetime_format(timestamp_smb_req + diff * 0.1)\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/Utility.py\", line 193, in get_filetime_format\r\n        boot_datetime = dt.datetime.fromtimestamp(timestamp).astimezone(pytz.timezone('UTC'))\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbscan_order (test_SMBScanAttack.UnitTestSMBScan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBScanAttack.py\", line 67, in test_smbscan_order\r\n        self.order_test([['SMBScanAttack']])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/ID2TAttackTest.py\", line 117, in order_test\r\n        controller.process_attacks(attack_args, [[seed]])\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/Controller.py\", line 100, in process_attacks\r\n        temp_attack_pcap, duration = self.attack_controller.process_attack(attack[0], attack[1:], measure_time)\r\n      File \"/home/jkeim/ID2T-toolkit/code/Core/AttackController.py\", line 176, in process_attack\r\n        self.current_attack.generate_attack_packets()\r\n      File \"/home/jkeim/ID2T-toolkit/code/Attack/SMBScanAttack.py\", line 337, in generate_attack_packets\r\n        SMBLib.get_smb_platform_data(self.host_os, first_timestamp)\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/SMBLib.py\", line 96, in get_smb_platform_data\r\n        server_start_time = Util.get_filetime_format(Util.get_rnd_boot_time(timestamp))\r\n      File \"/home/jkeim/ID2T-toolkit/code/ID2TLib/Utility.py\", line 193, in get_filetime_format\r\n        boot_datetime = dt.datetime.fromtimestamp(timestamp).astimezone(pytz.timezone('UTC'))\r\n    ValueError: astimezone() cannot be applied to a naive datetime\r\n\r\n    ======================================================================\r\n    ERROR: test_smbscan_port_shuffle (test_SMBScanAttack.UnitTestSMBScan)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"/home/jkeim/ID2T-toolkit/code/Test/test_SMBScanAttack.py\", line 49, in test_smbscan_port_shuffle\r\n        'hosting.ip=192.168.178.5', 'port.src.shuffle=false']], sha_port_shuffle)\r\n      File \"/home/jkeim/ID2T\n"}}
{"actor":{"display_login":"pepper-jk"}}