Skip to content

Commit ffdd3c0

Browse files
committed
bug fix
1 parent ed733e8 commit ffdd3c0

File tree

63 files changed

+558
-63
lines changed

Some content is hidden

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

63 files changed

+558
-63
lines changed

WordlistSolver/MainWindow.xaml.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ public class MyButton
3838
{
3939
public Button button;
4040

41-
public MyButton(string text, int x, int y, int fontsize)
41+
public MyButton(string text, int x, int y, int fontsize, RoutedEventHandler handler, string name)
4242
{
4343
button = new Button();
4444
button.Height = fontsize;
4545
button.Width = 70;
4646
//button.FontSize = fontsize;
47-
button.Name = int.Parse(text.Split(' ')[1]).ToString();
47+
button.Name = name.Replace(" ","_");
48+
button.Click += handler;
4849
button.FontFamily = new FontFamily("Segoe Ui");
4950
button.BorderThickness = new Thickness(0, 0, 0, 0);
5051
button.Background = new SolidColorBrush(Color.FromRgb(179, 194, 242));
@@ -172,7 +173,7 @@ void make_output()
172173
MyLabel mylabel = new MyLabel((i + 1) + ". " + space + posible_words[i], x, y, fontsize);
173174
LabelGrid.Children.Add(mylabel.label);
174175

175-
MyButton copybutton = new MyButton("Copy " + (i + 1) + ".", 30, y, fontsize);
176+
MyButton copybutton = new MyButton("Copy " + (i + 1) + ".", 30, y, fontsize, ClickCopyButton, posible_words[i]);
176177

177178
LabelGrid.Children.Add(copybutton.button);
178179
}
@@ -293,9 +294,10 @@ private void UseLabelsClick(object sender, RoutedEventArgs e)
293294
make_output();
294295
}
295296

296-
private void ClickCopyButton()
297+
public void ClickCopyButton(object sender, EventArgs e)
297298
{
298-
299+
string wordtocopy = ((Button)sender).Name.Replace("_"," ");
300+
Clipboard.SetText(wordtocopy);
299301
}
300302
}
301303
}

WordlistSolver/Properties/PublishProfiles/ClickOnceProfile.pubxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
44
-->
55
<Project>
66
<PropertyGroup>
7-
<ApplicationRevision>9</ApplicationRevision>
7+
<ApplicationRevision>10</ApplicationRevision>
88
<ApplicationVersion>1.0.0.*</ApplicationVersion>
99
<BootstrapperEnabled>True</BootstrapperEnabled>
1010
<Configuration>Release</Configuration>
@@ -30,7 +30,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
3030
<UpdateMode>Foreground</UpdateMode>
3131
<UpdateRequired>False</UpdateRequired>
3232
<WebPageFileName>Publish.html</WebPageFileName>
33-
<History>True|2022-02-25T22:27:04.6661207Z;True|2022-02-25T23:19:16.9740730+01:00;True|2022-02-25T23:17:27.4701453+01:00;True|2022-02-20T17:08:12.5788444+01:00;True|2022-02-20T14:29:58.1137630+01:00;True|2022-02-20T13:28:57.8519651+01:00;True|2022-02-20T13:28:20.4201960+01:00;True|2022-02-20T12:56:15.7354121+01:00;</History>
33+
<History>True|2022-02-25T22:30:06.7666498Z;True|2022-02-25T23:27:04.6661207+01:00;True|2022-02-25T23:19:16.9740730+01:00;True|2022-02-25T23:17:27.4701453+01:00;True|2022-02-20T17:08:12.5788444+01:00;True|2022-02-20T14:29:58.1137630+01:00;True|2022-02-20T13:28:57.8519651+01:00;True|2022-02-20T13:28:20.4201960+01:00;True|2022-02-20T12:56:15.7354121+01:00;</History>
3434
</PropertyGroup>
3535
<ItemGroup>
3636
<BootstrapperPackage Include="Microsoft.NetCore.DesktopRuntime.6.0.x64">

WordlistSolver/Properties/PublishProfiles/ClickOnceProfile.pubxml.user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
44
-->
55
<Project>
66
<PropertyGroup>
7-
<History>True|2022-02-25T22:30:06.7666498Z;True|2022-02-25T23:27:04.6661207+01:00;True|2022-02-25T23:19:16.9740730+01:00;True|2022-02-25T23:17:27.4701453+01:00;True|2022-02-20T17:08:12.5788444+01:00;True|2022-02-20T14:29:58.1137630+01:00;True|2022-02-20T13:28:57.8519651+01:00;True|2022-02-20T13:28:20.4201960+01:00;True|2022-02-20T12:56:15.7354121+01:00;</History>
7+
<History>True|2022-03-01T12:46:17.9744445Z;True|2022-02-25T23:30:06.7666498+01:00;True|2022-02-25T23:27:04.6661207+01:00;True|2022-02-25T23:19:16.9740730+01:00;True|2022-02-25T23:17:27.4701453+01:00;True|2022-02-20T17:08:12.5788444+01:00;True|2022-02-20T14:29:58.1137630+01:00;True|2022-02-20T13:28:57.8519651+01:00;True|2022-02-20T13:28:20.4201960+01:00;True|2022-02-20T12:56:15.7354121+01:00;</History>
88
</PropertyGroup>
99
</Project>
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
40 Bytes
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
3+
<assemblyIdentity name="Word List Solver.application" version="1.0.0.9" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
4+
<description asmv2:publisher="Word List Solver" asmv2:product="Word List Solver" xmlns="urn:schemas-microsoft-com:asm.v1" />
5+
<deployment install="true" mapFileExtensions="true" />
6+
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
7+
<framework targetVersion="4.5" profile="Full" supportedRuntime="4.0.30319" />
8+
</compatibleFrameworks>
9+
<dependency>
10+
<dependentAssembly dependencyType="install" codebase="Word List Solver.dll.manifest" size="5173">
11+
<assemblyIdentity name="Word List Solver.exe" version="1.0.0.9" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
12+
<hash>
13+
<dsig:Transforms>
14+
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
15+
</dsig:Transforms>
16+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
17+
<dsig:DigestValue>CG2G57EF4bHED6m5FfrMqKoPA2xLgRl8ZbjzHhvVyfA=</dsig:DigestValue>
18+
</hash>
19+
</dependentAssembly>
20+
</dependency>
21+
</asmv1:assembly>
3.5 KB
Binary file not shown.
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
3+
<asmv1:assemblyIdentity name="Word List Solver.exe" version="1.0.0.9" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
4+
<description asmv2:iconFile="question-mark.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
5+
<application />
6+
<entryPoint>
7+
<assemblyIdentity name="Launcher" version="5.0.0.0" language="neutral" processorArchitecture="msil" />
8+
<commandLine file="Launcher.exe" parameters="" />
9+
</entryPoint>
10+
<trustInfo>
11+
<security>
12+
<applicationRequestMinimum>
13+
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
14+
<defaultAssemblyRequest permissionSetReference="Custom" />
15+
</applicationRequestMinimum>
16+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
17+
<!--
18+
UAC Manifest Options
19+
If you want to change the Windows User Account Control level replace the
20+
requestedExecutionLevel node with one of the following.
21+
22+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
23+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
24+
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
25+
26+
If you want to utilize File and Registry Virtualization for backward
27+
compatibility then delete the requestedExecutionLevel node.
28+
-->
29+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
30+
</requestedPrivileges>
31+
</security>
32+
</trustInfo>
33+
<dependency>
34+
<dependentOS>
35+
<osVersionInfo>
36+
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
37+
</osVersionInfo>
38+
</dependentOS>
39+
</dependency>
40+
<dependency>
41+
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
42+
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
43+
</dependentAssembly>
44+
</dependency>
45+
<dependency>
46+
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Launcher.exe" size="14336">
47+
<assemblyIdentity name="Launcher" version="5.0.0.0" language="neutral" processorArchitecture="msil" />
48+
<hash>
49+
<dsig:Transforms>
50+
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
51+
</dsig:Transforms>
52+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
53+
<dsig:DigestValue>JMrRKge7O3SmzQ7/FBCVgcn/4hY7c61rINE1zubbmYw=</dsig:DigestValue>
54+
</hash>
55+
</dependentAssembly>
56+
</dependency>
57+
<file name="question-mark.ico" size="10188">
58+
<hash>
59+
<dsig:Transforms>
60+
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
61+
</dsig:Transforms>
62+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
63+
<dsig:DigestValue>3nzEGIYWi2kb75gQiIzoZnZ/PoBA8BSxNs4yQUrR/RQ=</dsig:DigestValue>
64+
</hash>
65+
</file>
66+
<file name="Word List Solver.deps.json" size="440">
67+
<hash>
68+
<dsig:Transforms>
69+
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
70+
</dsig:Transforms>
71+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
72+
<dsig:DigestValue>aMFSOyRPm+OgtgTBkjdsA/O9nmOmr6Mcp2v7/lrkZS8=</dsig:DigestValue>
73+
</hash>
74+
</file>
75+
<file name="Word List Solver.dll" size="84992">
76+
<hash>
77+
<dsig:Transforms>
78+
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
79+
</dsig:Transforms>
80+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
81+
<dsig:DigestValue>JuaWlq9FI9TqKfkFyWeaCqLYnhxHe9bYFpt0X7zC8SU=</dsig:DigestValue>
82+
</hash>
83+
</file>
84+
<file name="Word List Solver.exe" size="159744">
85+
<hash>
86+
<dsig:Transforms>
87+
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
88+
</dsig:Transforms>
89+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
90+
<dsig:DigestValue>SKCzF2rVRs8vBp+vSoX3SOWbyVHRsBRud3isWE79wBo=</dsig:DigestValue>
91+
</hash>
92+
</file>
93+
<file name="Word List Solver.runtimeconfig.json" size="372">
94+
<hash>
95+
<dsig:Transforms>
96+
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
97+
</dsig:Transforms>
98+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
99+
<dsig:DigestValue>HsoPDHAHCqg7tgnkt0mybctECXhDJgMnJjlHIiJKCYo=</dsig:DigestValue>
100+
</hash>
101+
</file>
102+
</asmv1:assembly>
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)