How to Install and Uninstall libhtml-defang-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "libhtml-defang-perl" package

This guide covers the steps necessary to install libhtml-defang-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libhtml-defang-perl

2. Uninstall "libhtml-defang-perl" package

Here is a brief guide to show you how to uninstall libhtml-defang-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libhtml-defang-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libhtml-defang-perl package on Ubuntu 21.10 (Impish Indri)

Package: libhtml-defang-perl
Architecture: all
Version: 1.07-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 99
Depends: perl
Filename: pool/universe/libh/libhtml-defang-perl/libhtml-defang-perl_1.07-1_all.deb
Size: 32228
MD5sum: af18b2b06d22039fc1c19e95a38c1878
SHA1: e27c1637abf6e9499426e6fc645722e279e85e5e
SHA256: c6c00831e252bcd2d61aa13254bde89442a0a33b91405c80512489d9c910bb43
SHA512: 6d4bced6e3c075184de2d846c72915268423bfe9daa31ad6bedf0ee0e650b9689f837d21c136baaf6f94972d0de4f96b0462ff387f141960389c1510cfef8454
Homepage: https://metacpan.org/release/HTML-Defang
Description-en: cleans HTML and CSS of scripting, executable contents and XSS attacks
HTML::Defang accepts an input HTML and/or CSS string
and removes any executable code
including scripting, embedded objects, applets, etc.,
and neutralises any XSS attacks.
A whitelist based approach is used
which means only HTML known to be safe is allowed through.
.
HTML::Defang uses a custom html tag parser.
The parser has been designed and tested
to work with nasty real world html
and to try and emulate as close as possible
what browsers actually do with strange looking constructs.
The test suite has been built
based on examples from a range of sources
such as
and
to ensure that as many as possible XSS attack scenarios
have been dealt with.
Description-md5: f54f5b38c125f0f9595662276bdf2907