Skip to content

Commit 5573cb3

Browse files
committed
Initial commit
0 parents  commit 5573cb3

File tree

346 files changed

+22503
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+22503
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 Daquanne Dwight
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

PRIVACY

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
PRIVACY STATEMENT
2+
Last updated March 25, 2019
3+
4+
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.
5+
Microsoft Privacy Statement - https://privacy.microsoft.com/en-us/privacystatement
6+
GitHub Privacy Statemnt - https://help.github.com/en/articles/github-privacy-statement
7+
8+
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.
9+
10+
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.
11+
12+
If you have questions or comments about this policy, you may email us at support@synfron.com
13+
14+

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Reshaper
2+
Traffic debugger for text based protocols over TCP/IP
3+
4+
![ReshaperScreenshot](https://user-images.githubusercontent.com/48854453/54864904-00e29c00-4d34-11e9-8120-a9b6df6f6eea.png)
5+
6+
## Features
7+
- View, manipulate, and trigger actions on incoming and outgoing TCP/IP proxy traffic using configurable rules
8+
- JavaScript engine integration
9+
- Extensible using the Managed Extensibility Framework
10+
11+
## To Do
12+
- Improve native HTTP support
13+
- Improve UI visuals and usability
14+
- Add usage and dev documentation
15+
16+
## Contributions
17+
Contributions are encouraged, especially those that address the To Do items. Issues and Pull Requests welcome. Also help us spread the word.
18+
19+
## License
20+
MIT License. See [LICENSE](https://raw.githubusercontent.com/synfron/Reshaper/master/LICENSE)

Reshaper.sln

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.28606.126
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Reshaper", "Reshaper\Reshaper.csproj", "{07A60572-ED13-40B5-9E5B-7A916A6DA13E}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperCore", "ReshaperCore\ReshaperCore.csproj", "{1CFAFA78-E77A-4E75-8949-BE86AA620071}"
9+
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperTests", "ReshaperTests\ReshaperTests.csproj", "{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperScript", "ReshaperScript\ReshaperScript.csproj", "{4DFE46FF-0359-4E4B-9F94-591A17629213}"
13+
EndProject
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReshaperUI", "ReshaperUI\ReshaperUI.csproj", "{0CD611F5-5AB4-4300-9DAA-3930AE096A30}"
15+
EndProject
16+
Global
17+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18+
Debug|Any CPU = Debug|Any CPU
19+
Debug|x86 = Debug|x86
20+
Release|Any CPU = Release|Any CPU
21+
Release|x86 = Release|x86
22+
EndGlobalSection
23+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
24+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|x86.ActiveCfg = Debug|Any CPU
27+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Debug|x86.Build.0 = Debug|Any CPU
28+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|Any CPU.Build.0 = Release|Any CPU
30+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|x86.ActiveCfg = Release|Any CPU
31+
{07A60572-ED13-40B5-9E5B-7A916A6DA13E}.Release|x86.Build.0 = Release|Any CPU
32+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|x86.ActiveCfg = Debug|Any CPU
35+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Debug|x86.Build.0 = Debug|Any CPU
36+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|Any CPU.ActiveCfg = Release|Any CPU
37+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|Any CPU.Build.0 = Release|Any CPU
38+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|x86.ActiveCfg = Release|Any CPU
39+
{1CFAFA78-E77A-4E75-8949-BE86AA620071}.Release|x86.Build.0 = Release|Any CPU
40+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|x86.ActiveCfg = Debug|Any CPU
43+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Debug|x86.Build.0 = Debug|Any CPU
44+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
45+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|Any CPU.Build.0 = Release|Any CPU
46+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|x86.ActiveCfg = Release|Any CPU
47+
{1B8A8089-9E76-46C6-A8F9-5574B561F4BA}.Release|x86.Build.0 = Release|Any CPU
48+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
49+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|Any CPU.Build.0 = Debug|Any CPU
50+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|x86.ActiveCfg = Debug|Any CPU
51+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Debug|x86.Build.0 = Debug|Any CPU
52+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|Any CPU.ActiveCfg = Release|Any CPU
53+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|Any CPU.Build.0 = Release|Any CPU
54+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|x86.ActiveCfg = Release|Any CPU
55+
{4DFE46FF-0359-4E4B-9F94-591A17629213}.Release|x86.Build.0 = Release|Any CPU
56+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
57+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|Any CPU.Build.0 = Debug|Any CPU
58+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|x86.ActiveCfg = Debug|Any CPU
59+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Debug|x86.Build.0 = Debug|Any CPU
60+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|Any CPU.ActiveCfg = Release|Any CPU
61+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|Any CPU.Build.0 = Release|Any CPU
62+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|x86.ActiveCfg = Release|Any CPU
63+
{0CD611F5-5AB4-4300-9DAA-3930AE096A30}.Release|x86.Build.0 = Release|Any CPU
64+
EndGlobalSection
65+
GlobalSection(SolutionProperties) = preSolution
66+
HideSolutionNode = FALSE
67+
EndGlobalSection
68+
GlobalSection(ExtensibilityGlobals) = postSolution
69+
SolutionGuid = {FDC5AFE9-A318-45B1-A8AD-16EF1689DC18}
70+
EndGlobalSection
71+
EndGlobal

Reshaper/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
5+
</startup>
6+
</configuration>

Reshaper/App.xaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Application x:Class="Reshaper.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:Reshaper">
5+
<Application.Resources>
6+
<ResourceDictionary Source="pack://application:,,,/ReshaperUI;component/Display/Xaml/Themes/Common/Style.xaml"></ResourceDictionary>
7+
</Application.Resources>
8+
</Application>

Reshaper/App.xaml.cs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
using System.Windows;
2+
using ReshaperCore;
3+
4+
namespace Reshaper
5+
{
6+
/// <summary>
7+
/// Interaction logic for App.xaml
8+
/// </summary>
9+
public partial class App : Application
10+
{
11+
private readonly Bootstrapper bootstrapper;
12+
13+
public App()
14+
{
15+
bootstrapper = new Bootstrapper();
16+
}
17+
18+
protected override void OnStartup(StartupEventArgs e)
19+
{
20+
base.OnStartup(e);
21+
bootstrapper.Init();
22+
}
23+
24+
protected override void OnExit(ExitEventArgs e)
25+
{
26+
bootstrapper.Shutdown();
27+
base.OnExit(e);
28+
}
29+
}
30+
}
19.5 KB
Binary file not shown.

Reshaper/Properties/Resources.Designer.cs

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Reshaper/Properties/Resources.resx

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!--
4+
Microsoft ResX Schema
5+
6+
Version 2.0
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
11+
associated with the data types.
12+
13+
Example:
14+
15+
... ado.net/XML headers & schema ...
16+
<resheader name="resmimetype">text/microsoft-resx</resheader>
17+
<resheader name="version">2.0</resheader>
18+
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19+
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20+
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21+
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22+
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23+
<value>[base64 mime encoded serialized .NET Framework object]</value>
24+
</data>
25+
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26+
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27+
<comment>This is a comment</comment>
28+
</data>
29+
30+
There are any number of "resheader" rows that contain simple
31+
name/value pairs.
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
37+
mimetype set.
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
41+
extensible. For a given mimetype the value must be set accordingly:
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
45+
read any of the formats listed below.
46+
47+
mimetype: application/x-microsoft.net.object.binary.base64
48+
value : The object must be serialized with
49+
: System.Serialization.Formatters.Binary.BinaryFormatter
50+
: and then encoded with base64 encoding.
51+
52+
mimetype: application/x-microsoft.net.object.soap.base64
53+
value : The object must be serialized with
54+
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55+
: and then encoded with base64 encoding.
56+
57+
mimetype: application/x-microsoft.net.object.bytearray.base64
58+
value : The object must be serialized into a byte array
59+
: using a System.ComponentModel.TypeConverter
60+
: and then encoded with base64 encoding.
61+
-->
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63+
<xsd:element name="root" msdata:IsDataSet="true">
64+
<xsd:complexType>
65+
<xsd:choice maxOccurs="unbounded">
66+
<xsd:element name="metadata">
67+
<xsd:complexType>
68+
<xsd:sequence>
69+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
70+
</xsd:sequence>
71+
<xsd:attribute name="name" type="xsd:string" />
72+
<xsd:attribute name="type" type="xsd:string" />
73+
<xsd:attribute name="mimetype" type="xsd:string" />
74+
</xsd:complexType>
75+
</xsd:element>
76+
<xsd:element name="assembly">
77+
<xsd:complexType>
78+
<xsd:attribute name="alias" type="xsd:string" />
79+
<xsd:attribute name="name" type="xsd:string" />
80+
</xsd:complexType>
81+
</xsd:element>
82+
<xsd:element name="data">
83+
<xsd:complexType>
84+
<xsd:sequence>
85+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87+
</xsd:sequence>
88+
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91+
</xsd:complexType>
92+
</xsd:element>
93+
<xsd:element name="resheader">
94+
<xsd:complexType>
95+
<xsd:sequence>
96+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97+
</xsd:sequence>
98+
<xsd:attribute name="name" type="xsd:string" use="required" />
99+
</xsd:complexType>
100+
</xsd:element>
101+
</xsd:choice>
102+
</xsd:complexType>
103+
</xsd:element>
104+
</xsd:schema>
105+
<resheader name="resmimetype">
106+
<value>text/microsoft-resx</value>
107+
</resheader>
108+
<resheader name="version">
109+
<value>2.0</value>
110+
</resheader>
111+
<resheader name="reader">
112+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113+
</resheader>
114+
<resheader name="writer">
115+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116+
</resheader>
117+
</root>

Reshaper/Properties/Settings.Designer.cs

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Reshaper/Properties/Settings.settings

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
3+
<Profiles>
4+
<Profile Name="(Default)" />
5+
</Profiles>
6+
<Settings />
7+
</SettingsFile>

0 commit comments

Comments
 (0)