-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added flags, file input, and accepts UNC paths
- Loading branch information
1 parent
de54740
commit 62792a9
Showing
60 changed files
with
13,294 additions
and
108 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="CommandLineParser" version="2.8.0" targetFramework="net45" /> | ||
<package id="Costura.Fody" version="4.1.0" targetFramework="net45" /> | ||
<package id="DotNetZip" version="1.13.7" targetFramework="net46" /> | ||
<package id="Fody" version="6.1.1" targetFramework="net45" developmentDependency="true" /> | ||
<package id="Fody" version="6.3.0" targetFramework="net45" developmentDependency="true" /> | ||
<package id="SharpZipLib" version="1.2.0" targetFramework="net45" /> | ||
</packages> |
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,15 +1,15 @@ | ||
# MiddleOut | ||
|
||
## This tool was created to compress files through the command line and will work with Cobalt Strike's execute-assembly. | ||
|
||
To use, add in the files to compress (any amount), the second to last flag is the zip file name, and the final flag is an optional password. | ||
|
||
For some examples: | ||
To use, pass in the files to compress (any amount) or pass it a text file of files, and supply an optional password. MiddleOut also accepts UNC paths as well. | ||
|
||
`MiddleOut.exe test.txt this.txt file.exe zipArchive.zip` | ||
|
||
`MiddleOut.exe test.txt this.txt file.exe zipArchive.zip SecurePassword123` | ||
## This tool was created to compress files through the command line and will work with Cobalt Strike's execute-assembly. | ||
|
||
`MiddleOut.exe * zipArchive.zip` | ||
## Usage | ||
|
||
`MiddleOut.exe someDirectory\test.txt someOtherDirectory\* zipArchive.zip` | ||
``` | ||
MiddleOut.exe | ||
MiddleOut.exe -i test.txt | ||
MiddleOut.exe -i test.txt,another.txt -o output.zip | ||
MiddleOut.exe -i ..\..\SomeFolder\* -o outputfile.zip | ||
MiddleOut.exe -f filesToCompress.txt -o output.zip -p password | ||
``` |
Binary file renamed
BIN
+9.25 KB
packages/Fody.6.1.1/.signature.p7s → ...es/CommandLineParser.2.8.0/.signature.p7s
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2005 - 2015 Giacomo Stelluti Scala & Contributors | ||
|
||
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. |
Oops, something went wrong.