More recently than ever people have been approaching me for help with learning a programming language. More often than not I will refer them to PERL or PHP depending on their program requirements. Surprisingly the best technique, that I have found, to help someone learn a new language is through writing an IRC bot. This requires someone to learn about not only the PERL basics, such as setting variables and working with scopes, but also pushes them to dive into other stuff like working with sockets and regular expressions. I’ve found that with a short primer from the getting started section of PerlMonks` tutorials, and simply learning to understand the documentation for various libraries listed on CPAN, all of the people whom I’ve introduced PERL to have been able to pick it up rather easily.

When threading in PERL it is often useful to have a master process checking up on threaded processes to make sure they are doing their job correctly, or to gather data from the threaded process. At any rate the design pattern that I often find useful is called Boss & Worker. In this pattern we have one ( or more ) threads that act as a boss, and this (or these) thread(s) will spawn child threads which carry out a set task.First, as with any threaded program, we will need to pull in libraries such as threads, and strict:

WordPress custom menusIn my last post, I showed you the basics to making your own WordPress theme, this time I would like to dive a little deeper into what makes a WordPress theme such as custom menus and widget areas.

I find it surprising that many themes still don’t support custom menus, however after this tutorial you will not only understand how to implement these into your own theme, but also how to modify other themes to also support custom menus.

I will be assuming that you have already read and followed the guidelines set out in my previous post, and that you have even gone ahead and tinkered around a bit on your own.

As usual, if you need any extra help feel free to leave a comment and myself or someone else may be able to assist you.

miniX WordPress theme by xniteIn this tutorial I will show you the basics of how to write your own WordPress themes. This guide assumes that you already have a fair amount of experience with HTML, CSS, and PHP. In case you do not, this guide won’t help you much, you should brush up on those things before moving on to this guide.

A script reporting vulnerable servers used in NTP reflection attackEarlier this month I wrote about how I took offensive security measures in order to shutdown the emerging NTP reflection / DRDoS threat. Today I am happy to announce that of the 2,917 reported NTP servers which were observed as being used in NTP reflection attacks, 1,956 (67.06%) of them have been either shutdown or patched to disallow monlist.

cloudflare-illustration-of-ntp-amplification-attackCloudFlare & Arbor Networks have both reported the attack against a CloudFlare hosted website reached a peak of between 325Gbps & 400Gbps. Previously the largest ever recorded DDoS attack has been against SpamHaus with 300Gbps.

NTP monlist reply packet in wireshark

NTP monlist reply packet in wireshark

realmofthemadgod_hacked

AfraidIRC chat embedded into web page on realmofthemadgod.com

hacker-keyboardOn January 20th Naoki Hiroshima discovered that his PayPal & GoDaddy accounts had been breached, and domains stolen.

The hacker had control over his email, websites, and online finances, while Naoki was powerless to protect himself. He was at the mercy of the attacker who stole his accounts.

ntp-amplification-attack-wiresharkIn this first month of 2014 there has been a new threat in the world of DrDoS.

Reflected NTP attacks appear to be increasing in popularity over DNS reflection (2013’s favorite reflected attack method), but will NTP amplification rise above DNS amplification in popularity?

Robert Whitney
I'm a geek, gamer and breaker of things.
Opinions expressed here, even 💩 ones, are my own and do not represent those of my employer or associates.
Referral Links

Using my referral links is the best way to help me pay for my projects and development servers and get something out of it for yourself.

Copyright©2011 - 2018, Robert Whitney; All rights reserved.
Aeon Address: WmtnQAoEJsfbcjyMJLmfW8SJ3j5VCGGjX4k3hHrc4XbhVcz6dxifHs65h2w3y5gq8Qf4D4tgzb6VxEtggSq5hR8s1CzN1cLeK