Javascript files missing

Bug #1906934 reported by Michael Klemme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wapiti (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The directory /usr/lib/python3/dist-packages/wapitiCore/report_template/js is not installed.
This leads to a crash when creating HTML output

[*] Launching module permanentxss
Traceback (most recent call last):
  File "/home/klemme/Programme/wapiti3-3.0.3/bin/wapiti", line 33, in <module>
    wapiti_main()
  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.8/shutil.py", line 552, in copytree
    with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/wapitiCore/report_template/js'

Revision history for this message
Michael Klemme (michael-k2) wrote :

I copied the JS files from the latest release at https://wapiti.sourceforge.io/
It contains a jquery-2.1.4.min.js which has security problems.

Revision history for this message
Michael Klemme (michael-k2) wrote :

I wrote the original author informing him of the old JS file versions.
See also https://sourceforge.net/p/wapiti/bugs/63/

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hello, this might be fixed in 3.0.4 and will be syncd in 12h or so

Changed in wapiti (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for wapiti (Ubuntu) because there has been no activity for 60 days.]

Changed in wapiti (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.