Package: wapiti Version: 3.0.2+dfsg-1 Severity: normal
When executing wapiti and trying to generate an html report, I get the following error. Traceback (most recent call last): File "/usr/bin/wapiti", line 11, in <module> load_entry_point('wapiti3==3.0.2', 'console_scripts', 'wapiti')() File "/usr/lib/python3/dist-packages/wapitiCore/main/wapiti.py", line 1115, in wapiti_main wap.attack() File "/usr/lib/python3/dist-packages/wapitiCore/main/wapiti.py", line 459, in attack self.report_gen.generate_report(self.output_file) File "/usr/lib/python3/dist-packages/wapitiCore/report/htmlreportgenerator.py", line 57, in generate_report copytree(os.path.join(self.BASE_DIR, self.REPORT_DIR, subdir), os.path.join(output_path, subdir)) File "/usr/lib/python3.7/shutil.py", line 318, in copytree names = os.listdir(src) FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/wapitiCore/report_template/js' When I compare the list of files from jessie vs buster vs bullseye, looks like the "report_template/js" directory has disappeared from jessie to buster: https://packages.debian.org/buster/all/wapiti/filelist https://packages.debian.org/jessie/all/wapiti/filelist https://packages.debian.org/bullseye/all/wapiti/filelist Looking at the source repository master, the js directory is present: https://sourceforge.net/p/wapiti/git/ci/master/tree/wapitiCore/report_template/ -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages wapiti depends on: ii libjs-jquery 3.3.1~dfsg-3 ii python3 3.7.5-3 ii python3-bs4 4.8.2-1 ii python3-lxml 4.5.0-1 ii python3-mako 1.1.0+ds1-1 ii python3-requests 2.22.0-2 ii python3-socks 1.6.8+dfsg-1 ii python3-tld 0.9.1-1 ii python3-yaswfp 0.9.3-1 wapiti recommends no packages. wapiti suggests no packages. -- no debconf information