[IntelMQ-users] Modify expert get the value of data

Mika Silander mika.silander at csc.fi
Wed Oct 19 10:52:58 CEST 2022


Hi Guillaume, 

Not entirely sure as to why you need to decode parts of your Modify expert's configurations, but in intelmq/lib/utils.py you have the base64_encode and base64_decode functions that may be of use to you. 
Testing and experimenting what decoded and encoded data looks like can also be achieved on the command line, e.g. (on Ubuntu with the base64 executable provided by the coreutils package): 

echo "a text sample" | base64 | base64 -d - 

gives 

a text sample 

I hope this helps. 

Br, Mika 


From: "Guillaume GRANJON DE LEPINEY via IntelMQ-users" <intelmq-users at lists.cert.at> 
To: "intelmq-users at lists.cert.at" <intelmq-users at lists.cert.at> 
Sent: Wednesday, 19 October, 2022 11:28:31 
Subject: [IntelMQ-users] Modify expert get the value of data 



Hello, 



This may be a silly question, but I can't find the answer. 

Is it possible to get the decoded value (not base 64) of my data in a configuration file of the bot intelmq.bots.experts.modify.expert? 



I would like to do something like that with the decoded value: 





Regards, 



Guillaume GRANJON de LÉPINEY | [ mailto:ggranjon at excellium-services.be | ggranjon at excellium-services.be ] | PGP Key ID: [ https://pgp.circl.lu/pks/lookup?search=0xE2FD5ED1&fingerprint=on&op=index | 
0xE2FD5ED1 ] 
CERT-XLM | [ mailto:cert at excellium-services.com | cert at excellium-services.com ] | PGP Key ID: [ http://pgp.circl.lu/pks/lookup?op=vindex&fingerprint=on&search=0x67B311E5D74E5AC0 | 
0xD74E5AC0 ] 

Excellium Services Belgium N.V. | Orion Bldg, Belgicastraat 13, B-1930 Zaventem, Belgium 
Mobile: +32 4 71 98 57 65 

Emergency: +352 262 039 64 708 | [ mailto:emergency at excellium-services.com | emergency at excellium-services.com ] | PGP Key ID: [ https://excellium-services.com/assets/EMERGENCY_PKEY.asc | 0x42662EFE ] 

[ https://excellium-services.com/en/CERT-XLM/ | https://excellium-services.com/en/CERT-XLM/ ] 

[ https://www.trusted-introducer.org/directory/teams/cert-xlm.html | https://www.trusted-introducer.org/directory/teams/cert-xlm.html ] 

[ https://www.first.org/members/teams/cert-xlm | https://www.first.org/members/teams/cert-xlm ] 


This email is confidential and may contain legally privileged information. If you are not the intended recipient, you should not copy, distribute, disclose or use the information it contains, please e-mail the sender immediately and delete this message from your system. Note: e-mails are susceptible to corruption, interception and unauthorised amendment; we do not accept liability for any such changes, or for their consequences. You should be aware that we may monitor your e-mails and their content. Excellium Services SA. 
-- 
List settings: 
https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-users 
IntelMQ Documentation: https://intelmq.readthedocs.io/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20221019/5d829baf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6959 bytes
Desc: image001.png
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20221019/5d829baf/attachment.png>


More information about the IntelMQ-users mailing list