Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ddwightx committed Mar 25, 2019
0 parents commit 5573cb3
Show file tree
Hide file tree
Showing 346 changed files with 22,503 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 Daquanne Dwight

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
14 changes: 14 additions & 0 deletions PRIVACY
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
PRIVACY STATEMENT
Last updated March 25, 2019

Reshaper is distributed through GitHub and the Windows Store (Microsoft). The privacy policies of those entities need to be read to fully understand usage of your information.
Microsoft Privacy Statement - https://privacy.microsoft.com/en-us/privacystatement
GitHub Privacy Statemnt - https://help.github.com/en/articles/github-privacy-statement

Reshaper does not collect any personal information for distrubtion to its developers or third parties. As a network traffic debugging tool, Reshaper allows you to establiash network connections to machines of third parties you specify in the app's configuration. While connected, transmission of information to and from our App is at your own risk.

We will update this policy as necessary to account for app changes ans to stay compliant with relevant laws. The updated version will be indicated by an updated date and the updated version will be effective as soon as it is accessible.

If you have questions or comments about this policy, you may email us at [email protected]


20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Reshaper
Traffic debugger for text based protocols over TCP/IP

![ReshaperScreenshot](https://user-images.githubusercontent.com/48854453/54864904-00e29c00-4d34-11e9-8120-a9b6df6f6eea.png)

## Features
- View, manipulate, and trigger actions on incoming and outgoing TCP/IP proxy traffic using configurable rules
- JavaScript engine integration
- Extensible using the Managed Extensibility Framework

## To Do
- Improve native HTTP support
- Improve UI visuals and usability
- Add usage and dev documentation

## Contributions
Contributions are encouraged, especially those that address the To Do items. Issues and Pull Requests welcome. Also help us spread the word.

## License
MIT License. See [LICENSE](https://raw.githubusercontent.com/synfron/Reshaper/master/LICENSE)
71 changes: 71 additions & 0 deletions Reshaper.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28606.126
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Reshaper", "Reshaper\Reshaper.csproj", "{07A60572-ED13-40B5-9E5B-7A916A6DA13E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperCore", "ReshaperCore\ReshaperCore.csproj", "{1CFAFA78-E77A-4E75-8949-BE86AA620071}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperTests", "ReshaperTests\ReshaperTests.csproj", "{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperScript", "ReshaperScript\ReshaperScript.csproj", "{4DFE46FF-0359-4E4B-9F94-591A17629213}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperUI", "ReshaperUI\ReshaperUI.csproj", "{0CD611F5-5AB4-4300-9DAA-3930AE096A30}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|x86.ActiveCfg = Debug|Any CPU
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|x86.Build.0 = Debug|Any CPU
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|Any CPU.Build.0 = Release|Any CPU
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|x86.ActiveCfg = Release|Any CPU
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|x86.Build.0 = Release|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|x86.ActiveCfg = Debug|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|x86.Build.0 = Debug|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|Any CPU.Build.0 = Release|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|x86.ActiveCfg = Release|Any CPU
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|x86.Build.0 = Release|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|x86.ActiveCfg = Debug|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|x86.Build.0 = Debug|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|Any CPU.Build.0 = Release|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|x86.ActiveCfg = Release|Any CPU
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|x86.Build.0 = Release|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|x86.ActiveCfg = Debug|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|x86.Build.0 = Debug|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|Any CPU.Build.0 = Release|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|x86.ActiveCfg = Release|Any CPU
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|x86.Build.0 = Release|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|x86.ActiveCfg = Debug|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|x86.Build.0 = Debug|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|Any CPU.Build.0 = Release|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|x86.ActiveCfg = Release|Any CPU
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FDC5AFE9-A318-45B1-A8AD-16EF1689DC18}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions Reshaper/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
</configuration>
8 changes: 8 additions & 0 deletions Reshaper/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Application x:Class="Reshaper.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Reshaper">
<Application.Resources>
<ResourceDictionary Source="pack://application:,,,/ReshaperUI;component/Display/Xaml/Themes/Common/Style.xaml"></ResourceDictionary>
</Application.Resources>
</Application>
30 changes: 30 additions & 0 deletions Reshaper/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System.Windows;
using ReshaperCore;

namespace Reshaper
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private readonly Bootstrapper bootstrapper;

public App()
{
bootstrapper = new Bootstrapper();
}

protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
bootstrapper.Init();
}

protected override void OnExit(ExitEventArgs e)
{
bootstrapper.Shutdown();
base.OnExit(e);
}
}
}
Binary file added Reshaper/Assets/badgelogo.scale-100.ico
Binary file not shown.
63 changes: 63 additions & 0 deletions Reshaper/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

117 changes: 117 additions & 0 deletions Reshaper/Properties/Resources.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
26 changes: 26 additions & 0 deletions Reshaper/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Reshaper/Properties/Settings.settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
Loading

0 comments on commit 5573cb3

Please sign in to comment.