...
Anchor |
---|
| utility-udmg-sshkey |
---|
| utility-udmg-sshkey |
---|
|
udmg-sshkey: SSH Key conversion
UDMG Server only accepts the OpenSSH format for SFTP/SSH public keys. The udmg-sshkey
tool allows to convert from other enables the conversion from another format to the OpenSSH format.
The supported input formats are:
...
- Key format
- Key algorithm
- Key size (only for RSA)
- SHA256 fingerprint
- MD5 fingerprint
- Conversion to authorized key line format
Command line usage:
Code Block |
---|
|
udmg-sshkey -h
Usage:
udmg-sshkey [OPTIONS] <parse | version>
Help Options:
-h, --help Show this help message
Available commands:
parse Parse an SSH Public key file
version Print version and exit
udmg-sshkey parse -h
Usage:
udmg-sshkey [OPTIONS] parse [parse-OPTIONS]
Help Options:
-h, --help Show this help message
[parse command options]
-f, --file= The public key file, accepted formats are PKCS8 (x509), OpenSSH (authorized keys), and SSH wire. |
...
Anchor |
---|
| utility-icap-client |
---|
| utility-icap-client |
---|
|
icap-client: checking connectivity to an ICAP server
A simple ICAP client tool, icap-client
, is provided with the UDMG software package to test the connectivity towards an ICAP server and the validity of the configuration options.
...
Code Block |
---|
|
$ /opt/udmg/bin/icap-client -filename eicar.com
2024/03/07 09:30:07 ICAP Status Code: 200
2024/03/07 09:30:07 HTTP Status Code: 403
2024/03/07 09:30:07 Headers: udmg_icap_Istag CI0001-fKM8uYIum6NGTsCfkaivwgAA
2024/03/07 09:30:07 Headers: udmg_icap_X-Infection-Found Type=0; Resolution=2; Threat=Win.Test.EICAR_HDB-1;
2024/03/07 09:30:07 Headers: udmg_icap_X-Violations-Found 1
2024/03/07 09:30:07 Headers: udmg_icap_Encapsulated res-hdr=0, res-body=108
2024/03/07 09:30:07 Headers: udmg_icap_Status OK
2024/03/07 09:30:07 Headers: udmg_icap_Statuscode 200
2024/03/07 09:30:07 Headers: udmg_icap_Server C-ICAP/0.5.3
2024/03/07 09:30:07 Headers: udmg_icap_Connection keep-alive
2024/03/07 09:30:07 Detected |
Example for a not-infected file:
Code Block |
---|
|
$ /opt/udmg/bin/icap-client -filename sample.txt
2024/03/07 09:30:07 Not Detected |