Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Multipe references fixes

  • Loading branch information...
commit 1c688e28ae170b9d094a6e430209126b5a54c7ef 1 parent 2edb52c
@DinisCruz DinisCruz authored
Showing with 10,696 additions and 10,682 deletions.
  1. +3 −3 3rdParty/Microsoft/HtmlAgilityPack/HtmlAgilityPack - Filter Html Code (using IE).h2
  2. +2 −1  3rdParty/Microsoft/VisualStudio/Inside VisualStudio 2010/VS_2010 - Chrome (Wpf).h2
  3. +2 −1  3rdParty/Microsoft/VisualStudio/Inside VisualStudio 2010/VS_2010 - TeamMentor.h2
  4. +8 −6 3rdParty/NMap/Tool - Take Screenshots of NMap Web Ports.h2
  5. +3,634 −3,634 3rdParty/NMap/nmap.cs
  6. +6,969 −6,969 3rdParty/NMap/xsd_fromNmap_didnt_work/NMap.cs
  7. +10 −10 3rdParty/OWASP/MediaWiki_Website/Demos/script - taking screenshots of htmls pages.h2
  8. +7 −6 3rdParty/OWASP/OWASP_Summit_2011/OWASP Summit 2011 (Custom O2).h2
  9. +5 −5 3rdParty/OWASP/OpenSAMM/Tool - view SAMM-1.0-XML-0.3-en_US.xml data.h2
  10. +1 −0  3rdParty/Snoop/PoC - Start WPF process and inject Snoop into it.h2
  11. +4 −4 3rdParty/{_Installers/Snoop.cs → Snoop/Snoop_Installer.cs}
  12. +3 −3 3rdParty/SoSNet/PoC - Control set_Text via SoS v2.h2
  13. +3 −3 3rdParty/SoSNet/PoC - Control set_Text via SoS.h2
  14. +1 −1  3rdParty/SoSNet/SoSNet_ExtensionMethods.cs
  15. +32 −32 3rdParty/SoSNet/Util - SosNet - Create test exe and inject code via debugger.h2
  16. +2 −2 3rdParty/SoSNet/Util - Start SoSNet (O2 Version).h2
  17. +10 −2 3rdParty/_Installers/Installer_SosNet.cs
View
6 3rdParty/Microsoft/HtmlAgilityPack/HtmlAgilityPack - Filter Html Code (using IE).h2
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<H2>
- <SourceCode>//var topPanel = "HtmlAgilityPack - Filter Html Code".popupWindow();
-var topPanel = panel.clear().add_Panel();
+ <SourceCode>var topPanel = "HtmlAgilityPack - Filter Html Code".popupWindow();
+//var topPanel = panel.clear().add_Panel();
var treeView = topPanel.insert_Right("XPath query result")
.add_TreeView_for_HtmlTags();
@@ -9,7 +9,7 @@ var ie = topPanel.add_GroupBox("Browser").add_WebBrowser().silent(true);
ie.open("http://demo.testfire.net").waitForCompleted();
-var htmlContent = ie.html();
+var htmlContent = ie.html();
var query = "//tr";
View
3  3rdParty/Microsoft/VisualStudio/Inside VisualStudio 2010/VS_2010 - Chrome (Wpf).h2
@@ -21,6 +21,7 @@ return "done";
//O2Ref:PresentationCore.dll
//O2Ref:WindowsBase.dll
//O2Ref:System.Xaml.dll
-</SourceCode>
+
+//O2Tag:SkipGlobalCompilation</SourceCode>
<ReferencedAssemblies />
</H2>
View
3  3rdParty/Microsoft/VisualStudio/Inside VisualStudio 2010/VS_2010 - TeamMentor.h2
@@ -21,6 +21,7 @@ return "done";
//O2Ref:PresentationCore.dll
//O2Ref:WindowsBase.dll
//O2Ref:System.Xaml.dll
-</SourceCode>
+
+//O2Tag:SkipGlobalCompilation</SourceCode>
<ReferencedAssemblies />
</H2>
View
14 3rdParty/NMap/Tool - Take Screenshots of NMap Web Ports.h2
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
-<H2>
+<?xml version="1.0"?>
+<H2>
<SourceCode>var topPanel = O2Gui.open&lt;Panel&gt;("Tool - Take Screenshots of NMap Web Ports",1200,400);
topPanel.insert_LogViewer();
//var topPanel = panel.clear().add_Panel();
@@ -83,14 +83,16 @@ actionsPanel.add_Link("take screnshots of all pages", takeScreenShotsOfAllPages)
.append_Link("stop execution", ()=&gt; stopExecution = true)
.append_Link("View Folder with Screenshots", ()=&gt; targetFolder.startProcess());
-
-loadNmapXmlFile(@"o2platform.com.xml".local());
+//if ("o2platform.com.xml".local().fileExists())
+// loadNmapXmlFile(@"o2platform.com.xml".local());
return "ok";
+
+//using tempuri.org.nmap
//O2File:nmap.cs
//O2File:API_Cropper.cs
//O2File:WatiN_IE_ExtensionMethods.cs
//O2Ref:O2_Misc_Microsoft_MPL_Libs.dll
//O2Ref:WatiN.Core.1x.dll
-</SourceCode>
- <ReferencedAssemblies />
+</SourceCode>
+ <ReferencedAssemblies />
</H2>
View
7,268 3rdParty/NMap/nmap.cs
3,634 additions, 3,634 deletions not shown
View
13,938 3rdParty/NMap/xsd_fromNmap_didnt_work/NMap.cs
6,969 additions, 6,969 deletions not shown
View
20 3rdParty/OWASP/MediaWiki_Website/Demos/script - taking screenshots of htmls pages.h2
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
-<H2>
+<?xml version="1.0"?>
+<H2>
<SourceCode>//panel.clear();
//var topPanel = panel;
var topPanel = O2Gui.open&lt;Panel&gt;("Script - taking screenshots of htmls pages",800,600);
@@ -17,7 +17,7 @@ for(int i = 0 ; i &lt; 1000; i++)
}
//var files = targetFolder.files("*.html").sort();
-var browser = topPanel.add_Browser();
+var browser = topPanel.add_WebBrowser();
var openOnSliderChange = true;
var slider = browser.insert_Above&lt;TrackBar&gt;(30);
slider.insert_Right&lt;Button&gt;(150)
@@ -27,8 +27,9 @@ slider.insert_Right&lt;Button&gt;(150)
for(int i =0; i &lt; files.size(); i++)
{
var filePath = files[i];
- slider.Value = i;
- browser.openSync(filePath);
+ slider.Value = i;
+ browser.waitForCompleted();
+ //browser.openSync(filePath);
var bitmap = topPanel.bitmap();
bitmap.save(filePath +".jpg");
}
@@ -53,9 +54,8 @@ slider.Scroll += (sender,e) =&gt;
{
showPageWithID(slider.Value);
};
-showPageWithID(0);
-//using O2.External.IE.ExtensionMethods
-//O2Ref:O2_External_IE.dll
-//O2File:API_Cropper.cs</SourceCode>
- <ReferencedAssemblies />
+showPageWithID(0);
+
+//O2File:API_Cropper.cs</SourceCode>
+ <ReferencedAssemblies />
</H2>
View
13 3rdParty/OWASP/OWASP_Summit_2011/OWASP Summit 2011 (Custom O2).h2
@@ -32,13 +32,14 @@ ribbon.add_Tab_MiscTools();
return webPages.group("Web Pages").buttons()[0].click();
//O2File:CustomO2.cs
-
-//O2Ref:WindowsFormsIntegration.dll
-//O2Ref:RibbonControlsLibrary.dll
-//O2Ref:PresentationCore.dll
-//O2Ref:PresentationFramework.dll
-//O2Ref:WindowsBase.dll
+//O2Ref:O2_FluentSharp_WPF.dll
+//O2Ref:WindowsFormsIntegration.dll
+//O2Ref:RibbonControlsLibrary.dll
+
+//O2Ref:PresentationCore.dll
+//O2Ref:PresentationFramework.dll
+//O2Ref:WindowsBase.dll
//O2Ref:System.Xaml.dll</SourceCode>
<ReferencedAssemblies />
</H2>
View
10 3rdParty/OWASP/OpenSAMM/Tool - view SAMM-1.0-XML-0.3-en_US.xml data.h2
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
-<H2>
+<?xml version="1.0"?>
+<H2>
<SourceCode>//panel.clear();
//var topPanel = panel.add_Panel();
var topPanel = O2Gui.open&lt;Panel&gt;("SAMM Xml",400,400);
@@ -25,7 +25,7 @@ foreach(var businessFunction in samm.businessfunctions[0].businessfunction)
businessFunctions_TreeView.selectFirst();
return samm;
-//O2File:Ref:SAMM-1.0-XML-0.3-en_US.cs
-//O2Ref:O2_Misc_Microsoft_MPL_Libs.dll</SourceCode>
- <ReferencedAssemblies />
+//O2File:SAMM-1.0-XML-0.3-en_US.cs
+//O2Ref:O2_Misc_Microsoft_MPL_Libs.dll</SourceCode>
+ <ReferencedAssemblies />
</H2>
View
1  3rdParty/Snoop/PoC - Start WPF process and inject Snoop into it.h2
@@ -26,6 +26,7 @@ var arguments = string.Concat(new object[]
return fileName.startProcess(arguments);
+//Installer:Snoop_Installer.cs!Snoop\Snoop.exe
//using Snoop;
//O2Ref:Snoop\Snoop.exe</SourceCode>
<ReferencedAssemblies />
View
8 3rdParty/_Installers/Snoop.cs → 3rdParty/Snoop/Snoop_Installer.cs
@@ -13,16 +13,16 @@ public class Install_Snoop_Test
{
public void test()
{
- new Snoop().start();
+ new Snoop_Installer().start();
}
}
- public class Snoop : Tool_API
+ public class Snoop_Installer : Tool_API
{
- public Snoop() : this(true)
+ public Snoop_Installer() : this(true)
{
}
- public Snoop(bool installNow)
+ public Snoop_Installer(bool installNow)
{
config("Snoop", "Snoop v2.7.1", "Snoop.zip");
Install_Uri = "https://github.com/downloads/cplotts/snoopwpf/Snoop.zip".uri();
View
6 3rdParty/SoSNet/PoC - Control set_Text via SoS v2.h2
@@ -28,8 +28,8 @@ sosController.detach();
return ""Detached"";
//O2File:SoSNet_ExtensionMethods.cs
//O2Tag_DontAddExtraO2Files
-//O2Ref:SosNet\SOS.Net.exe
-//O2Ref:SOS.Net.Core.dll
+//O2Ref:SosNet\Debug\SOS.Net.exe
+//O2Ref:SosNet\Debug\SOS.Net.Core.dll
";
Func&lt;Process&gt; startTestProcess =
@@ -83,7 +83,7 @@ return "done";
//using System.Diagnostics
//O2File:SoSNet_ExtensionMethods.cs
-//O2Ref:SosNet\SOS.Net.exe
+//O2Ref:SosNet\Debug\SOS.Net.exe
//O2Tag_DontAddExtraO2Files
//O2Ref:SOS.Net.Core.dll</SourceCode>
<ReferencedAssemblies />
View
6 3rdParty/SoSNet/PoC - Control set_Text via SoS.h2
@@ -27,8 +27,8 @@ sosController.detach();
return ""Detached"";
//O2File:SoSNet_ExtensionMethods.cs
//O2Tag_DontAddExtraO2Files
-//O2Ref:SosNet\SOS.Net.exe
-//O2Ref:SOS.Net.Core.dll
+//O2Ref:SosNet\Debug\SOS.Net.exe
+//O2Ref:SosNet\Debug\SOS.Net.Core.dll
";
Func&lt;Process&gt; startTestProcess =
@@ -76,7 +76,7 @@ return "done";
//using System.Diagnostics
//O2File:SoSNet_ExtensionMethods.cs
-//O2Ref:SosNet\SOS.Net.exe
+//O2Ref:SosNet\Debug\SOS.Net.exe
//O2Tag_DontAddExtraO2Files
//O2Ref:SOS.Net.Core.dll</SourceCode>
<ReferencedAssemblies />
View
2  3rdParty/SoSNet/SoSNet_ExtensionMethods.cs
@@ -13,7 +13,7 @@
using SOS.Net.Core.Cdb;
using SOS.Net.Core.Cdb.Commands;
-//Installer:Installer_SosNet.cs!SosNet\SOS.Net.Core.dll
+//Installer:Installer_SosNet.cs!SosNet\Debug\SOS.Net.Core.dll
//O2Ref:SosNet\Debug\SOS.Net.Core.dll
//O2Ref:SosNet\Debug\SOS.Net.exe
View
64 3rdParty/SoSNet/Util - SosNet - Create test exe and inject code via debugger.h2
@@ -7,8 +7,8 @@ var exeToDebug = "exeToDebug".o2Cache&lt;string&gt;(()=&gt;{
var code = @"using System;
using System.Diagnostics;
public class Program
- {
- public string here = ""Here"";
+ {
+ public string here = ""Here"";
public string innerMsg = ""[OLA]"";
public string msg1 = ""[hello]"";
public int count = 0;
@@ -38,7 +38,7 @@ var exeToDebug = "exeToDebug".o2Cache&lt;string&gt;(()=&gt;{
}";
return code.createExe(true);
- });
+ });
if (exeToDebug.isNull())
return "compilation error";
@@ -57,47 +57,47 @@ controller.field("settings",settings);
Action attach =
()=&gt;{
- controller.AttachToProcess(process.Id.str());
+ controller.AttachToProcess(process.Id.str());
controller.setDefaultController();
controller.loadSoS();
"Attached at the moment:{0}".info(controller.Attached);
};
var o2Timer = new O2Timer("get data").start();
-
+
attach();
-var result = controller.ExecuteCommand("!help");
+var result = controller.ExecuteCommand("!help");
-result = controller.ExecuteCommand("!DumpHeap");
+result = controller.ExecuteCommand("!DumpHeap");
-var script = controller.script_Me();
-script.Code =
-@"sosController.setDefaultController();
-var result = sosController.type_In_Heap(""Program"")
- .instances().first()
- .instance_Fields();
-return result;
-//return sosController.types_In_Heap();
-//return sosController.sos_Help();
-
-//O2Ref:SOS.Net.exe
-//O2Ref:SOS.Net.Core.dll
-//O2Tag_DontAddExtraO2Files
-//O2File:SoSNet_ExtensionMethods.cs
+var script = controller.script_Me();
+script.Code =
+@"sosController.setDefaultController();
+var result = sosController.type_In_Heap(""Program"")
+ .instances().first()
+ .instance_Fields();
+return result;
+//return sosController.types_In_Heap();
+//return sosController.sos_Help();
+
+//O2Ref:SOS.Net.exe
+//O2Ref:SOS.Net.Core.dll
+//O2Tag_DontAddExtraO2Files
+//O2File:SoSNet_ExtensionMethods.cs
";
//controller.Detach();
-script.onClosed(
- ()=&gt;{
- "Parent Form closed, so detaching".info();
- controller.detach();
- process.closeInNSeconds(2);
+script.onClosed(
+ ()=&gt;{
+ "Parent Form closed, so detaching".info();
+ controller.detach();
+ process.closeInNSeconds(2);
});
-o2Timer.stop();
-
-script.insert_Right(40).add_LogViewer()
- .insert_Above(45,"Execute SoS Command")
+o2Timer.stop();
+
+script.insert_Right(40).add_LogViewer()
+ .insert_Above(45,"Execute SoS Command")
.add_TextBox().fill().set_Text("!help").onEnter((text)=&gt;"{0}".info(text.sosExec()));
return controller;
@@ -112,8 +112,8 @@ return controller;
//using SOS.Net.Core.Cdb
//using SOS.Net.Core.Cdb.Commands
//O2File:SoSNet_ExtensionMethods.cs
-//O2Ref:SosNet\SOS.Net.Core.dll
-//O2Ref:SosNet\SOS.Net.exe
+//O2Ref:SosNet\Debug\SOS.Net.Core.dll
+//O2Ref:SosNet\Debug\SOS.Net.exe
//O2Tag_DontAddExtraO2Files</SourceCode>
<ReferencedAssemblies />
</H2>
View
4 3rdParty/SoSNet/Util - Start SoSNet (O2 Version).h2
@@ -44,8 +44,8 @@ return sos;
//using SOS.Net
//using SOS.Net.Core.Cdb
-//O2Ref:SosNet\SOS.Net.Core.dll
-//O2Ref:SosNet\SOS.Net.exe
+//O2Ref:SosNet\Debug\SOS.Net.Core.dll
+//O2Ref:SosNet\Debug\SOS.Net.exe
/*
View
12 3rdParty/_Installers/Installer_SosNet.cs
@@ -7,7 +7,6 @@
using O2.XRules.Database.Utils;
//O2File:Tool_API.cs
-//_O2File:API_NGit.cs
//O2File:_Extra_methods_Roslyn_API.cs
//O2File:API_MSBuild.cs
@@ -17,6 +16,11 @@
//O2Ref:Roslyn.Services.dll
//O2Ref:Roslyn.Compilers.dll
//O2Ref:Roslyn.Compilers.CSharp.dll
+
+//O2Ref:NGit.dll
+//O2Ref:NSch.dll
+//O2Ref:Mono.Security.dll
+//O2Ref:Sharpen.dll
namespace O2.XRules.Database.APIs
{
public class Installer_SosNet_Test
@@ -41,13 +45,17 @@ public Installer_SosNet(bool install)
public void download_Update_and_Install()
{
+ //ensure this dll is loaded in memory
+ "O2_FluentSharp_NGit.dll".assembly().Location.info();
+
//use the O2 Fork:
config("SosNet",
"https://github.com/o2platform/O2_Fork_SoS_Net.git".uri(),
"Sos.Net.exe");
var codeDir = this.Install_Dir.pathCombine("O2_Fork_SoS_Net");
+
if (codeDir.dirExists().isFalse())
- {
+ {
this.Install_Uri.git_Clone(codeDir);
}
else
Please sign in to comment.
Something went wrong with that request. Please try again.