Ninetynine is a creative design & coding agency

Author Archive

Analyzing Malicious SSH Login Attempts

without comments

While I was upgrading openssh to 5.x (to make it easier to setup chroot jails for users),
I came across the ssh login attempts from bots.

grep -ir 'invalid user' /var/log/*

Example output

/var/log/auth.log.0:Aug 15 18:14:40 sshd[20296]: Invalid user production from 85.214.40.85
/var/log/auth.log.0:Aug 15 18:14:42 sshd[20296]: Failed password for invalid user production from 85.214.40.85 port 54327 ssh2

That’s when I noticed usernames like

minecraft, eggbreaker2 ,batman ,sir , queen, elmo, frenzy, christmas, idiot, birdseed, einstein123, breast, knight, cookie, eminem, asshole123, googol, denied

and decided to make some graphs with the data.
Using perl I extracted the information from the log files.
This is what I got from ~20.000 failed attempts (spread over couple days)

Popular usernames

Existing usernames

Existing usernames top 20

Read the rest of this entry »

Written by michiel

August 18th, 2011 at 12:37 am

Posted in Server,Ubuntu

Doc? v3.0 BETA released

with 3 comments

Yesterday we’ve released a public beta from the new Doc? (v3.0)
Go and check it out at www.airdoc.be!

Doc? Air Local Livedocs

Here are some of the most important new features :

  • Minimize/Close to tray (WINDOWS)
  • Local Books
  • Online Books Download
  • Inline Search
  • Performance Upgrade (SQLITE)
  • Custom tree icons
  • Complete design makeover

Take a look on our website to learn more …


Written by michiel

December 27th, 2009 at 12:43 pm

Posted in AIR,AS3,Doc?,Flex

Tagged with , ,

Flex: TabNavigator Label Jump (Quick Fix)

without comments

Hey,

Somethings been bugging me while skinning a flex application :

The label from the selected tab from the TabNavigator component is 1px lower than the other tabs. As you can see in the example.
(It has something to to with the bottom border I’m guessing).

This can help as a visual support you are on a different tab, but I found it rather annoying, so here is my fix for it.
A quick fix by changing the “paddingTop” property.

View source is enabled so can download the example there.
http://ninetynine.be/blog/wp-content/uploads/2009/12/srcview/index.html

This movie requires Flash Player 9

Code after the jump.

Read the rest of this entry »

Written by michiel

December 20th, 2009 at 1:38 pm

Posted in AIR,AS3,Flex

Tagged with , ,

MamppControl : Xampp/Mampp Tray Launcher

without comments

MamppControl

MamppControl

Hey,

Yesterday I had some spare time, so I decided to take a look at the Cocoa collection of frameworks, APIs, and accompanying runtimes that make up the development layer of Mac OS X.
I’ve created this first application with XCode in Objective-C and named it MamppControl.

It allows you to start, stop, reload Mampp from the tray, with a handy tray icon & menu.
Mampp is the other name for Xampp on Mac.

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start.

More information about Xampp here.

I know that there is a launcher includes in the xampp package, but it has no tray icon and stay’s visible in the dock.

Read the rest of this entry »

Written by michiel

May 24th, 2009 at 4:21 pm

Posted in Mac OSX,Tutorials,Xampp

Tagged with

Flex: Runtime font embedding using compiled CSS with loader

with one comment

A missing feature in Flex is the ability to load fonts at runtime.

‘Why is this useful?’, you could ask. Well one situation is you’re creating an online rich text editor, and you want to add a font
to the font list. You would only have to edit the css and upload the new swf instead of the whole application. Or you want a client
to be able to add fonts without him having the source code from the application.

Luckily it’s possible in Flex to load runtime CSS compiled as an SWF with the StyleManager class.
StyleManager on LiveDocs

Fonts.css Example :

1
2
3
4
@font-face {
    src:url("fonts/Arial.ttf");
    fontFamily:"Arial";
}

How to compile the CSS to SWF?
Read the rest of this entry »

Written by michiel

April 13th, 2009 at 9:57 pm

Posted in AIR,AS3,CSS,Flex,Tutorials

Tagged with , ,

Growl messages with AIR

with one comment

For an AIR application that I’m creating (more about that later), I needed some way to show the users some event happened while the application was running in the background. So what’s better on Mac OS than showing growl notifications ;) ?

Growl message with as3

Adobe has worked together with the Growl team to add support for AIR and flash applications.
Mike Chambers has put together an open source project named as3growl which provides an API to work with the new Growl build.

Read the rest of this entry »

Written by michiel

March 31st, 2009 at 4:21 pm

Posted in AIR,AS3,Flex,Mac OSX

Tagged with , , , ,