Source: recon-ng
Severity: normal

Hi,

"unicodecsv" is a remnant of the Python2 era.

It should eventualy be removed from Debian.

It is also holding off the removal
of other old module "unittest2".

Please consider this patch:


diff --git a/debian/control b/debian/control
index e3fccf0..c87f5f1 100644
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,6 @@ Depends:
  python3-flask,
  python3-lxml,
  python3-requests,
- python3-unicodecsv,
  python3-xlsxwriter,
  python3-yaml,
  python3-mechanize,
diff --git a/recon/core/web/exports.py b/recon/core/web/exports.py
index e17a907..77b774b 100644
--- a/recon/core/web/exports.py
+++ b/recon/core/web/exports.py
@@ -5,7 +5,7 @@ from io import BytesIO
 from recon.core.web.utils import add_worksheet, is_url
 import os
 import requests
-import unicodecsv as csv
+import csv
 import xlsxwriter
 
 def _jsonify(rows):


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to