OWASP O2 Platform Blog

Creating custom O2 Versions

With the latests changes to O2’s APIs  it is now possible to easily create new O2 GUIs (this was created to support the O2 Subscription model which is focused on creating/suporting Custom O2’s).

This is very useful when creating an O2 for a particular:

  • Project /Application
  • Security Consultant 
  • APIs, Websites, Frameworks or Tools.

When creating a new Custom O2, the _Scripts\_Custom_O2s\_template (Custom O2).h2 script file is a good template to start :

 

var title = "Custom O2"; 
 
var ribbon = CustomO2.create(title);   // stand alone version
//var ribbon = CustomO2.create(panel.clear().add_Panel(),title);   // use when inside 'Quick Development GUI'
 
var hacmeBankDemos = ribbon.add_Tab("Custom O2");
hacmeBankDemos.add_RibbonGroup("Group")
      .add_RibbonButton_Script("IE Automation","ascx_IE_ScriptExecution.cs");    

//ribbon.add_Tab_BrowserAutomation();
ribbon.add_Tab_MiscTools();

//O2File:CustomO2.cs 

//O2Ref:WindowsFormsIntegration.dll
//O2Ref:RibbonControlsLibrary.dll

November 2, 2010 - Posted by | O2 Internals

1 Comment »

  1. […] a comment » In sequence to the  Creating custom O2 Versions post, here is an example of a Custom O2 that is focused on a particular Security Consultant’s […]

    Pingback by Example of Custom O2 focused on a security consultant’s need « O2Platform.com for Developers | November 2, 2010 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: