OWASP O2 Platform Blog

How to use the Console output in the C# REPL

The VisualStudio C# REPL РO2 Platform can be downloaded here. From the download link you get a Visual Studio Extension (.vsix file extension).

Image

Since this REPL is a great tool for developers, I wanted to use the Console output feature, the following code snippet shows how to achieve this functionability:

var topPanel = "Util - ConsoleOut".popupWindow(500,300);
topPanel.add_ConsoleOut();
//O2File:API_ConsoleOut.cs
Console.WriteLine("This text should be displayed in the Console");

This code produces the following output:

Image

This is a powerful (and easy) feature that can help us to take advantage of the time ūüôā

November 9, 2012 Posted by | .NET, Uncategorized, VisualStudio | , , | Leave a comment

Real-time Vulnerability Creation Feedback inside VisualStudio

There is a really interesting video that shows how to perform static analysis of code at the compilation time on top of Visual Studio.Net.  The creation of this mechanism is really powerful , because at compilation time, you can find and correct most of the security holes we can create. Just imaging the valued added that this process can provide to a large software development projects?.

The complete information can be found at http://diniscruz.blogspot.com/2012/06/real-time-vulnerability-creation.html?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A+DinisCruz+%28Dinis+Cruz+blog%29

And there is also a reddit thread if you want to get involved (I hope you are want).

June 22, 2012 Posted by | .NET, .NET SAST, VisualStudio | , | Leave a comment

Installing O2’s Visual Studio Add-in, Script environment in Visual Studio IDE

Here is a video on how can we install the OWASP O2 add-in on top of VisuaL Studio , the video can be found at:

http://diniscruz.blogspot.co.uk/2012/05/video-installing-o2s-visualstudio-2010.html

By the way, the Visual Studio add-in is located in your local copy of OWASP O2 Platform, in the O2.Platform.Projects folder there should be a  Visual Studio Project named O2.VisualStudio.AddIn . The .AddIn file can be found in the binaries folder.

Visual Studio Addin

Visual Studio Addin

Once you have installed  the Add-in, you will be able to use this powerful tool on top of Visual Studio IDE.

May 25, 2012 Posted by | .NET, Uncategorized, VisualStudio | , , | 1 Comment

New version of O2, GitHub based, running in OSX and in VisualStudio

I just wrote a number of blog posts about the new version of O2:

March 24, 2012 Posted by | O2 Scripting, OSX, VisualStudio | , | Leave a comment