Skip to content

Instantly share code, notes, and snippets.

View brendanmullan's full-sized avatar

Brendan Mullan brendanmullan

View GitHub Profile
@gautiermichelin
gautiermichelin / Eml2csv.sh
Created May 11, 2015 13:00
Eml2csv : shell script to extract To/From/Subject/Date from eml files inside a folder
#!/bin/bash
FILES=*.eml
TARGET=./emails.csv
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
echo "To\tFrom\tSubj\tDate" >> $TARGET
for f in $FILES
do
echo "Processing $f file..."
@dodyw
dodyw / findbot.pl
Last active October 11, 2019 10:30
Perl script to find suspicious scripts. This script is taken from http://cbl.abuseat.org/findbot.pl
#!/usr/bin/perl
# The above line may need to be changed to point at your version of Perl
#
# This script attempts to find malicious files/scripts on your machine.
# It specifically looks for spambots that we're aware of, as well
# as "suspicious" constructs in various scripting languages.
#
# Normally it should be run as root.
#
# By default, findbot.pl scans the directories /tmp, /usr/tmp, /home and