Data Loss Prevention

 View Only

DLP Python custom plugin 

Nov 16, 2016 07:57 AM

This is a sample custom plugin written in python which compute number of email recipient. You could use it as a skeleton for your own needs.

In this zip file, you will find:
- Sample.py : main script
- test_script.bat : a windows script to easily test your script as if it was called by DLP
- Etc directory contains configuration file
- Lib directory contain a DLP library which could be reused for all your DLP plugins as it contgains all common functions.
- Log directory will contain log file when you will activate this functionality

 

PS : Archive is now updated to correct password issue.

Statistics
0 Favorited
7 Views
1 Files
0 Shares
5 Downloads
Attachment(s)
zip file
Sample.zip   3 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Nov 21, 2017 07:39 AM

on linux env :

test_script.sh

#!/bin/bash
export CURRENTDIR=`pwd`
export PYTHONPATH=/usr/lib/python2.7/site-packages:$CURRENTDIR/lib:$CURRENTDIR/:$CURRENTDIR/etc

python sample.py sender="toto@yahoo.com" protocol="SMTP" attachment="yes" subject="test" attachment-name1="lolo.cfg" recipient-email1="ioio3@foo.com" recipient-email12="stephane.fichet-prestataire@ca-cib.com" recipient-email3="ioio3@ca-cib.com"

Jan 16, 2017 10:22 AM

making a website different lot of url create generate my past experience is not good about php website develop now a day word press making better and easy understandable as compare Python

Jan 05, 2017 06:12 AM

Hi Stephane,

 

Sorry to bother you, but it seems that the new zip also have a password :(

Jan 05, 2017 02:01 AM

waouh, sorry for this i have posted wrong archive :(

I will update this asap.

Jan 01, 2017 06:32 AM

Hello, Can you please provide the password for the zip file?

Thanks.

Nov 25, 2016 09:50 AM

Hi,

 

Password for zip, pls ...

Related Entries and Links

No Related Resource entered.