Commit Graph

245 Commits (c137d0c700aa361a85c32ee9a33cf925e4c4bdf2)

Author SHA1 Message Date
Pawel Kurowski 12cf67a5b8 Merge branch 'OsVersion' into 'master'
Os version

Closes #2

See merge request C3/C3!175
2020-03-23 08:55:05 +00:00
Grzegorz Rychlik 079835c362 Workaorund the async callback after-free 2020-03-20 14:37:11 +01:00
Grzegorz Rychlik 3baed23752 Remove default ctor for HostInfo - force to call static method for gatering info 2020-03-20 11:20:20 +01:00
Grzegorz Rychlik 9e3811450d Remove os version manifest 2020-03-19 18:22:29 +01:00
Grzegorz Rychlik f11fee9304 Replace static GetVersion with dynamically resolved RtlGetVersion 2020-03-19 18:21:28 +01:00
Grzegorz Rychlik 183fa6465b Remove error-inducing ostream& operator <<
HostInfo can be implicitly constructed from ByteView and can be output to ostream so
`ostream << ByteView{};` results in runtime crash'
2020-03-19 18:13:16 +01:00
Grzegorz Rychlik 73b6f12a4e Merge branch 'ByteVectorUpgrade' into 'master'
Byte vector upgrade

See merge request C3/C3!174
2020-03-19 17:07:30 +00:00
Grzegorz Rychlik bb55932227 Merge branch 'SimpifySlack' into 'master'
Slightly simplify slack code

Closes #6

See merge request C3/C3!160
2020-03-19 17:06:25 +00:00
Grzegorz Rychlik e543664c6d [Slack] Replace deprecated web API methods
Resolves #6
2020-03-19 16:53:00 +01:00
Grzegorz Rychlik 09f431c981 [Slack] Flatten ReadReplies method, remove WriteReplyLarge from header 2020-03-19 16:45:27 +01:00
Grzegorz Rychlik ba11be9fe0 [Slack] Minor optimization to GetMessagesByDirection 2020-03-19 14:58:53 +01:00
Grzegorz Rychlik 2c153ef3e1 [Slack] return only timestamp and text from ReadReplies 2020-03-19 14:44:39 +01:00
Grzegorz Rychlik de4cbd3376 [Slack] Return multiple packtest from OnReceiveFromChannel 2020-03-19 11:25:32 +01:00
Pawel Kurowski 73a9aba7db ByteConverter specialization can write to provided buffer 2020-03-18 13:37:29 +01:00
Pawel Kurowski 83478fa403 Do not send szCSDVersion and wSuiteMask in OSVERSIONINFOEXA 2020-03-17 11:58:04 +01:00
Pawel Kurowski e5a2d3e541 Fix broken Write exceptions handling 2020-03-16 18:06:52 +01:00
Grzegorz Rychlik b6db1d0cd3 Workaround shellcode crash on relay exit 2020-03-16 11:20:52 +01:00
Pawel Kurowski 4a7870d0e3 Better exception safety during Read/Write 2020-03-13 18:26:25 +01:00
Grzegorz Rychlik 3d2d44a24c Update versioning header and build script 2020-03-13 15:59:55 +01:00
Pawel Kurowski 16c7753e7c Fix clang build failure 2020-03-13 15:44:27 +01:00
Pawel Kurowski fc53b803ae Upgrade ByteVector to new version. 2020-03-13 14:13:19 +01:00
Grzegorz Rychlik 74a9b053f2 [Slack Channel] Use built in chunking 2020-03-12 16:39:24 +01:00
Grzegorz Rychlik 98b171b06d Slightly simplify slack code 2020-03-12 16:39:24 +01:00
Pawel Kurowski 37e357fc21 Fix gateway crash on nullptr std::string_view 2020-03-11 17:00:48 +01:00
Pawel Kurowski 148f62a03d Remove HasConstructor.h 2020-03-11 16:00:11 +01:00
Grzegorz Rychlik 6b3c6ba46a Add Clang build configurations 2020-03-10 14:26:30 +01:00
Grzegorz Rychlik 0065374c98 Fix post-merge problems for clang-cl 2020-03-06 16:37:14 +01:00
Grzegorz Rychlik ce232a9af6 Merge branch 'ClangMsvcCompat' 2020-03-06 15:23:57 +01:00
Grzegorz Rychlik 304866ca32 Merge branch 'Obfuscation' 2020-03-06 14:38:55 +01:00
Pawel Kurowski 1a894ef5a4 namespace Obfuscator 2020-03-06 13:52:09 +01:00
Pawel Kurowski 5c4af5d770 OBF will support both char and wchar_t 2020-03-06 13:40:15 +01:00
Grzegorz Rychlik e5b8252cbf Fix VirtualFree parameters (MEM_RELEASE must be used with 0 size) 2020-03-06 12:08:32 +01:00
Grzegorz Rychlik 4dc603770a Fix the terminating null character 2020-03-06 10:12:43 +00:00
Grzegorz Rychlik 4dcae34974 Retarget C3 to VS2019 and Win10 SDK 2020-03-06 09:44:28 +01:00
Grzegorz Rychlik 7769300ef2 Change MWR namespace to FSecure 2020-03-05 16:30:50 +01:00
Grzegorz Rychlik 62985f09e4 Overhaul string obfuscation
Use a single obfuscation method (xor with variable increment)
2020-03-05 15:42:15 +01:00
Grzegorz Rychlik 698b3d4ac7 Remove empty string obfuscation 2020-03-05 12:14:07 +01:00
Grzegorz Rychlik 3426f8da5b Separate per-platform temporary location 2020-03-05 11:54:57 +01:00
Grzegorz Rychlik 031f3edf7e Fix rwdi lib linking, restore default inlining 2020-03-05 10:02:15 +01:00
Grzegorz Rychlik c43aeb89be Update SecureString 2020-03-04 17:46:01 +01:00
Grzegorz Rychlik 1c4261f717 Fix crash in Debug 2020-03-04 17:43:30 +01:00
Grzegorz Rychlik 5c21558cfc Add examples to ChannelLinter help 2020-03-02 17:01:57 +01:00
Grzegorz Rychlik 781e7f7f78 Change ChannelLinter test data to binary 2020-03-02 17:01:35 +01:00
Grzegorz Rychlik 14daf81fad Fix nullptr dereference in logging 2020-03-02 14:13:26 +01:00
Andras Toth 3d67d0eacb fix favicon colour 2020-03-02 12:50:04 +00:00
Andras Toth 902251805e yarn build 2020-03-02 12:02:16 +00:00
Andras Toth 2a1b716637 fix labs colours 2020-03-02 12:01:28 +00:00
Pawel Kurowski 94e6186004 Fix compilation warnings 2020-02-28 16:50:45 +01:00
Pawel Kurowski bae365b02c Ensure existence of required channel constructor (only MSVC)
Declaring constructor = default was allowing aggressive optimization.
Compiler would skip both channel registration, and static asserts.
2020-02-28 10:59:23 +01:00
Grzegorz Rychlik 91dc3a1163 Update zlib to 1.2.11-f690224aeb (from vcpkg) 2020-02-27 10:28:12 +01:00