Saturday 24 March 2012

Running O2 natively on OSX (via mono) - but not 100% stable

ok, you asked, demanded, requested, looked for it ... and finally here it is:

I just got O2 to run on OSx via mono, and here is the proof:

Main GUI



Find an O2 Script



O2 Log Viewer



As you can probably see above I'm controlling which script is executed via the O2_Setup.cs file.

At the moment you can only open the scripts directly since there is some issue with the mono WinForms that crashes when multiple Forms are opened (at least the way O2 does it (with no problems) in Windows))

Ok, so the hard part is now done.

O2 is doing dynamically compilation and most of the issues seem to be on the GUI controls (which we should probably use GTK# when in mono). So for example, the static analysis part should work ok.

If you want to check it out you need to grab the Mono_Branch versions of the main O2 repositories:


And finally, here is first picture of O2 running on another user's box (Dennis Groves), via a GitHub Sync and Mono Develop compilation :)


Running O2 REPL Script environment inside Visual Studio 2010

For the VisualStudio 2010 users, here is how to setup the VisualStudio 2010 AddIn that is included with the latest version of O2 and same examples on how to use it, for example O2's REPL Script environment

In the folder you installed O2, if you go to the O2.Platform.Projects/binaries folder, you should find a file called O2_Platform_VisualStudio_AddIn.AddIn

Friday 23 March 2012

O2 and REPL

One of the (many) great concepts that Dennis Groves introduced me to was: REPL

He said: "Wow, O2 is just a great REPL engine for C# and Security Analysis"

I was like Rewhaaattt????

It turns out that the O2 Scripting environment is actually something called REPL which stands for: Read - Eval  - Print - Loop (see http://en.wikipedia.org/wiki/REPL for more details).

Tuesday 20 March 2012

Installer for O2 Platform v4.0 (first release)

UPDATE: This is now not recommended for first time O2 users. Try the direct download you get from the O2 Download page



Hey, try this out: https://github.com/o2platform/O2_Install

That is an installer for the 4.0 version of the O2 Platform (which is based on the .NET 4.0 Framework)

You can get that installler by doing a git clone of that repository or by downloading the zip file: https://github.com/o2platform/O2_Install/zipball/master

You will see an Install_O2.bat script which if all goes acording to plan will:
Note that you DON'T need to have Windows GIT installed on the Box/VM you try this. I added support for the amazing NGIT (https://github.com/mono/ngit) project to O2, so now O2 has native (C#) support for GIT repositories :)


Let me know if it works or if you had any issues with it

Thanks