Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made clear enc key is 32 byte #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SharpSocksImplant/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private static void StartSocks(string[] args)
},
{
"k=|encryption-key=",
"The encryption key, leave blank to be asked",
"The encryption key (32 byte), leave blank to be asked",
v => key = v
},
{
Expand Down Expand Up @@ -269,4 +269,4 @@ private static void Banner()
COMMS.BannerMessage("\r\nSharpSocks Proxy Client\r\n=======================\r\n");
}
}
}
}
4 changes: 2 additions & 2 deletions SharpSocksServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private static SharpSocksConfig ParseArgs(string[] args)
var optSocksServerUri = app.Option("-s|--socksserveruri", "IP:Port for SOCKS to listen on, default is *:43334", CommandOptionType.SingleValue);
var optCmdChannelId = app.Option("-c|--cmdid", "Command Channel Identifier, needs to be shared with the server", CommandOptionType.SingleValue);
var optHttpServer = app.Option("-l|--httpserveruri", "Uri to listen on, default is http://127.0.0.1:8081", CommandOptionType.SingleValue);
var optEncKey = app.Option("-k|--encryptionkey", "The encryption key used to secure comms", CommandOptionType.SingleValue);
var optEncKey = app.Option("-k|--encryptionkey", "The encryption key used to secure comms (32 bytes)", CommandOptionType.SingleValue);
var optSessionCookie = app.Option("-sc|--sessioncookie", "The name of the cookie to pass the session identifier", CommandOptionType.SingleValue);
var optPayloadCookie = app.Option("-pc|--payloadcookie", "The name of the cookie to pass smaller requests through", CommandOptionType.SingleValue);
var optSocketTimeout = app.Option("-st|--socketTimeout", "How long should SOCKS sockets be held open for, default is 30s", CommandOptionType.SingleValue);
Expand All @@ -77,4 +77,4 @@ private static SharpSocksConfig ParseArgs(string[] args)
return config;
}
}
}
}