Author: Skilla Repok

  • Secure Firewall for OpenVPN

    Creating a secure firewall is essential for any openvpn configuration. First of all, I’d strongly recommend grabbing a copy of Linux Firewalls. Its got a great section on iptables, with a look at all the commands available to you as well as an example firewall configuration. I have setup an openVPN which has a configuration…

  • wxpython Segmentation Fault

    In some of my wx python apps, I have come across this error. It usually appears like this on the command line Segmentation Fault (core dumped) The most common reason for me getting this error, has been when a non-main thread tries to directly manipulate something in wx. Be it to Hide() a window, or…

  • Part 3: Setting up the schedule

    Part3: Setting up the schedule So you’ve got the python screen capturer and emailer sorted. Now all we need to do is combine the two and set up a process to perform on a regular basis. 1. ScreenMailer First, we’ll combine the two. When this module is run, it should grab a screen image and…

  • Part 2: Python Emailer

    Part 2: Python Emailer If you want to send emails using python’s smtplib, this is a good example. The method sendMail takes 8 arguments and is able to send attached emails to an address. Currently, this is only tested using my gmail account as the sender, but it should work elsewhere. #emailer.py import os.path import…

  • Linux Windows Usage Surveillance in Python

    Lets say you want to keep track of a computers usage, for remote working. It should deliver hourly shots of computer usage to an email address that you’ll give it. It will also deliver screen shots every 2 minutes, but you can choose whether it does that or not! Part 1: Python Screen Capture Part…