How to Install and Uninstall ejabberd-mod-shcommands Package on Kali Linux

Last updated: May 18,2024

1. Install "ejabberd-mod-shcommands" package

This guide covers the steps necessary to install ejabberd-mod-shcommands on Kali Linux

$ sudo apt update $ sudo apt install ejabberd-mod-shcommands

2. Uninstall "ejabberd-mod-shcommands" package

This guide covers the steps necessary to uninstall ejabberd-mod-shcommands on Kali Linux:

$ sudo apt remove ejabberd-mod-shcommands $ sudo apt autoclean && sudo apt autoremove

3. Information about the ejabberd-mod-shcommands package on Kali Linux

Package: ejabberd-mod-shcommands
Source: ejabberd-contrib
Version: 0.2023.10.04~dfsg0-1
Installed-Size: 28
Maintainer: Ejabberd Packaging Team
Architecture: amd64
Depends: erlang-base (>= 1:25.3.2.8+dfsg), erlang-abi (= 17.0), ejabberd (= 23.10-1)
Size: 9316
SHA256: e8e23ea5eb15475467430cb46616121f20ddeb1f648905e3352ff6e28e7b9b77
SHA1: 26af21c89f5e1241546d08128736e56ca3f3d69d
MD5sum: 71f3ce95550e2e8a40e848394a7eb043
Description: ejabberd module to execute shell commands via XMPP (dangerous!)
WARNING: USE THIS MODULE AT YOUR OWN RISK !!!
This module allows ejabberd administrators to remotely execute shell commands
which could compromise both the ejabberd server and the whole machine.
.
This module provides the ejabberd server administrator a method to remotely
execute shell commands through the ejabberd server.
.
It provides a page in the ejabberd Web Admin which only the administrators of
the whole server can access.
.
Three types of commands are possible:
* ejabberd_ctl: makes a call to ejabberd_ctl;
* erlang shell: executes an erlang command;
* system shell: executes a command on the system shell.
The result of the execution will be shown.
.
In the system shell, only non-interactive commands will work correctly,
for example this will work:
ps -all
Don't use commands that start an interactive mode:
DON'T TRY THIS: top
DON'T TRY THIS: vim readme.txt
.
This module does not check if the commands are dangerous or problematic,
so this module is only recommended for experienced ejabberd and Erlang/OTP
administrators. USE THIS MODULE AT YOUR OWN RISK !!!
Description-md5:
Multi-Arch: allowed
Homepage: https://github.com/processone/ejabberd-contrib
Section: net
Priority: optional
Filename: pool/main/e/ejabberd-contrib/ejabberd-mod-shcommands_0.2023.10.04~dfsg0-1_amd64.deb