The VisualStudio C# REPL – O2 Platform can be downloaded here. From the download link you get a Visual Studio Extension (.vsix file extension).
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:
This is a powerful (and easy) feature that can help us to take advantage of the time 🙂
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).
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:
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.
Once you have installed the Add-in, you will be able to use this powerful tool on top of Visual Studio IDE.
I just wrote a number of blog posts about the new version of O2:
- Installer for O2 Platform v4.0 (first release) – GitHub based
- O2 and REPL – O2 script environment is REPL
- Running O2 REPL Script environment inside Visual Studio 2010 – you can write O2 scripts inside Visual Studio
- Running O2 natively on OSX (via mono) – but not 100% stable – first PoC of running O2 under mono on OSX