Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obfuscate email addresses so spammers don't collect them as easily. #1

Open
therealromster opened this issue Mar 18, 2015 · 5 comments
Milestone

Comments

@therealromster
Copy link

I would like to see email addresses posted in irc, for those that post them without first obfuscating them to be done when it's logged for display by the irc logger.

Something like foo at bar dash example dot com

Easy enough for a human to use should they need too. but hard for a bot.

Although the best way would be to use a small javascript code to hide it from spam bot parsers.

<script language=JavaScript>
<!--
document.write("foo" + "@" + "bar" + "-" + "example" + "." + "com");
//-->
</script>
@prologic
Copy link
Member

Absolutely great idea. and Trivial to add too by creating a "filter" component to intercept log messages before they get stored on disk.

Alternatively this would be done on the fly in a new Web UI / Log Viewer. The former approach would mean you could not get at the real email addresses at all if you obfuscated it too much.

@prologic prologic added this to the next milestone Mar 18, 2015
@pdurbin
Copy link

pdurbin commented Mar 18, 2015

I'd probably favor persisting the data "as is" and having email addresses filtered out by some UI or script.

@therealromster
Copy link
Author

Perhaps even have a show email links with some kapacha picture if you wanted to go that far.

@prologic
Copy link
Member

Agreed. Right now irclogger uses irclog2html -- So either this would have to be extended or used in conjunction with some static site generation tools or a complete Web UI written (in circuits.web ofc!) from the ground up.

@prologic
Copy link
Member

This is what the update scripts looks like right now:

#!/bin/bash

export PATH="$HOME/bin:$PATH"

for dir in *; do
    if [ -d $dir ]; then
        logs2html -t "IRC Logs for $dir " -p "IRC Logs for $dir " $dir
    fi
done

which is run via crond:

*/5 * * * * cd $HOME/irclogger/tmp/irclogs && ./update

All this could be improved and brought back into the daemon itself really.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants