Get Summary of Sharepoint Task Status via Powershell

You might need to run this as administrator if your task size exceeds the soft limit. Add-PSSnapin Microsoft.SharePoint.PowerShell $sharepointSite = “http://my.sharepoint.website”; $spWeb = Get-SPWeb $sharepointSite; $spSite = Get-SPSite $sharepointSite; $result = New-Object PSObject; foreach($item in $spWeb.Lists[“Tasks”].Items) { $status = $item[“Status”].ToString(); Read more ›

Categories

Rate limit the SSH Bruteforce

The following iptables will help limit the bruteforce attacks on your ssh port. With the recent exploit found in BASH, there’s been renewed interest in exploitable CGI/Web and SSH ports. sudo /sbin/iptables -N LOGDROP sudo /sbin/iptables -A LOGDROP -j LOG Read more ›

Categories

BadUSB: Next Gen Virus Using Old Tactics

There’s been proof of concept work on firmware virus. This is something similar to boot sector virus’ and bios virus’ many years back pre-internet. http://arstechnica.com/security/2014/07/this-thumbdrive-hacks-computers-badusb-exploit-makes-devices-turn-evil/ Not sure if I can trust connecting any usb devices now. =)

Categories

Postfix emails to file.

I’ve been working on archiving emails. In my pursuit to find the easiest possible solution I came across smtp-sink. As posted on: http://blog.malowa.de/2011/04/postfix-as-spam-trap-server.html Also another interesting post: http://serverfault.com/questions/451240/how-do-i-set-up-postfix-to-store-e-mail-in-a-file-instead-of-relaying-it mentions using php as an executable script that would get called to Read more ›

Categories