-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete redesign of SharpSword Includes OPSEC safety checks Utilizes MS Interop Word to support word docs ending with .doc* Added ability to check if a document is password protected Added ability to read password protected documents
- Loading branch information
SadPanda
committed
Aug 22, 2023
1 parent
09c2e8e
commit 07ac098
Showing
20 changed files
with
252 additions
and
42 deletions.
There are no files selected for viewing
Binary file added
BIN
+14.5 KB
.vs/SharpSword/FileContentIndex/3ac9c2f5-90a9-4719-a7f5-4dbf52d22850.vsidx
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# SharpSword | ||
Read the contents of DOCX files using Cobalt Strike's Execute-Assembly | ||
|
||
Help: execute-assembly SharpSword.exe | ||
Developed By: @sadpanda_sec & @C0mmand3rOps3c | ||
Description: Read Contents of Word Documents using MS Office Interop (Standalone or with CobaltStrike Execute Assembly) | ||
Usage: SharpSword.exe C:\\Some\\Path\\To\\Document.(doc/docm/docx/etc...) [-checkPassword] -[password <password>] | ||
Examples: | ||
-SharpSword.exe test.docx : read the contents of a word doc | ||
-SharpSword.exe test.docx -checkPassword : checks if the document is password protected | ||
-SharpSword.exe test.docx -password <somepassword> : decrypts the password protected document and reads contents in memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> | ||
<StartArguments>test.doc -checkPassword</StartArguments> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration> |
4 changes: 4 additions & 0 deletions
4
SharpSword/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// <autogenerated /> | ||
using System; | ||
using System.Reflection; | ||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] |
Binary file modified
BIN
+270 Bytes
(100%)
SharpSword/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
SharpSword/obj/Release/.NETFramework,Version=v4.8.AssemblyAttributes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// <autogenerated /> | ||
using System; | ||
using System.Reflection; | ||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] |
Binary file modified
BIN
+156 Bytes
(100%)
SharpSword/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Microsoft.Office.Interop.Word" version="15.0.4797.1004" targetFramework="net48" /> | ||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net45" /> | ||
</packages> |
Binary file not shown.
Binary file added
BIN
+590 KB
...oft.Office.Interop.Word.15.0.4797.1004/Microsoft.Office.Interop.Word.15.0.4797.1004.nupkg
Binary file not shown.
Binary file added
BIN
+928 KB
.../Microsoft.Office.Interop.Word.15.0.4797.1004/lib/net20/Microsoft.Office.Interop.Word.dll
Binary file not shown.
Binary file added
BIN
+928 KB
...t.Office.Interop.Word.15.0.4797.1004/lib/netstandard2.0/Microsoft.Office.Interop.Word.dll
Binary file not shown.