Two Books by My Students – Odoo ERP in Finland, Wi-Fi Penetration Testing


My students published two books: Wi-fi Penetration Testing for Beginners and Avoimen lähdekoodin ERP – Odoo Suomessa.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Comments Off on Two Books by My Students – Odoo ERP in Finland, Wi-Fi Penetration Testing

Configuration Management Course is Finished

Jussi controls 2071 slaves with Salt.


My students have created many interesting projects on configuration management course.

The feedback was excellent, 4.6 out of 5. The most common feedback (mode) was 5 out of 5. Thank you!

Jussi Isosompppi controlled 2071 slave computers with Salt.
Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Comments Off on Configuration Management Course is Finished

Cracking WPA2 Wireless Networks with WPS

My students Kermorvant, Jääskeläinen, Kurenmaa and Eulenberger broke WPA2 protected wireless LAN using WPS attack.
They’ve also broken WEP and brute forced bad WPA and WPA2 passwords. And they show how to buy and configure network cards for this.


Moral of the story: don’t use WEP, use WPA2. Don’t use WPS. And also encrypt end to end with SSH, PGP or other strong encryption. For more security content, read project intrusion blog and come to Penetration Testing course.
Obviously, it’s illegal to break into other peoples networks. Using the tools mentioned requires separated lab environment and other precautions.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , | Comments Off on Cracking WPA2 Wireless Networks with WPS

Clickable Table of Contents for Markdown – Ctags with Gedit

MarkDown is a very fast way to write text. You just mark headings with hash “#”. Empty line creates paragraph.
This tutorial shows how you can create a clickable table of contents of your MarkDown document – right inside your text editor. This makes it easier to edit long documents.
Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Comments Off on Clickable Table of Contents for Markdown – Ctags with Gedit

Versionable, Plain Text Reference Management – Git, PanDoc and BibTex

When you’re writing peer-reviewed articles, you must have references. Good news: you can have everything in plain text files, even the citation and reference management.


I have only used this exact BibTex setup for a while. However, having written five books in plain text (e.g. MarkDown) and with version control software, I could not imagine using old-fashioned word processor.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | Comments Off on Versionable, Plain Text Reference Management – Git, PanDoc and BibTex

Control Windows with Salt


This long article explores Windows management with Salt.
First, it shows you how to automatically install software to Windows, control Windows boxes behind NAT and firewall and remotely run arbitrary PowerShell commands on Windows.

$ sudo salt '*' pkg.install gedit,firefox,steam,vlc
$ sudo salt winslave cmd.run 'Get-ChildItem C:' shell='powershell'

Later, more complicated features are looked at.
Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , | 5 Comments

Money Moving with Odoo, the Open Source ERP

I bought some candy from Odoo ERP based web shop.
Update: they now have PayPal integration, too.


My students Emre Olgun, Roni Selander and Konsta Vaarala are running Odoo, the open source ERP. Enterprise Resource Planning (ERP) is a single system to control everything on the business side of a company, from sales to HR.

If you know Finnish, read more on OpenSourceERP2018.wordpress.com blog. They have both technical and business related articles.

Posted in Uncategorized | Tagged , , , , , , , , | Comments Off on Money Moving with Odoo, the Open Source ERP

Simple Secrets in Salt Pillars

This is a simple example for storing secrets in Salt Pillars. If you have a hundred slaves machines, you don’t need to trust them all.

Following this tutorial requires working salt master-slave installation and salt states.
Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Comments Off on Simple Secrets in Salt Pillars

Configure a Live USB in Two (2) Commands – terokarvinen/sirotin

You boot a computer form your USB stick and give two commands. It’s configured.
Install your programs, your settings, your configuration – automatically. Start from Sirotin, fork it, make it your own.

wget https://raw.githubusercontent.com/terokarvinen/sirotin/master/run.sh
bash run.sh
 

Fork me on GitHub: terokarvinen/sirotin.

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Configure a Live USB in Two (2) Commands – terokarvinen/sirotin

Secrets in Salt Pillars – SSH Port Change

Salt helps you configure 1, 10, 100 or more computers. Secrets, such as encryption keys, must be given to authorized slaves only. In Salt, secrets are kept in pillars.
If you are just starting with pillars, do pillars tutorial first. This short listing of configuration files and commands is meant for people who already know salt. If you’re just getting started, see salt master-slave installation and salt states.



Continue reading

Posted in Uncategorized | Tagged , , , , , | Comments Off on Secrets in Salt Pillars – SSH Port Change