aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/ExploitFixes.cpp
AgeCommit message (Collapse)Author
2022-08-24Adjust folder structure (#242)BobTheBob
* Adjust folder structure * change launcher directory name
2022-08-08Fix most clang/mingw issues (#226)pg9182
- Fix include case. - Replace MSVC-specific align with standard alignas. - Type fixes. - Delete operator noexcept. - A few other minor issues. - clang-format everything. - Use c++20 instead of c++17. - Rewrite ERROR macro for launcher_wsock32_proxy. - Use a plain ifstream for the audio.cpp wavStream. Note: When compiling with clang, you'll need -municode. Related to #212.
2022-07-05Fix KHook hooking order to prevent missed hooks (#213)KittenPopo
2022-07-05Move #include top of file in ExploitFixes (#218)Maya
* Move Include in ExploitFixes * Formatting
2022-06-26Switch IsValveMod back to use a EnablerHook (#210)Maya
* Switch IsValveMod back to use a EnablerHook KHook version no worky * Formatting >:(
2022-06-22Fix rejection of legitimately-invalid UserCmds (#203)v1.8.2-rc1KittenPopo
2022-06-22ExploitFixes: Fix respawn exploit and block other Portal 2 commands (#204)KittenPopo
* Implement SpecialClientCommand hook (fix respawn exploit, etc.) This replaces the old function_containing_emit_hook (who made it??? why is it so messy??? why is it in snake case???) * Remove extra indents * Blacklist additional commands * Clarify (supposed) purpose of blocked commands
2022-06-19Move LZSS exploit segfault fix hook to ExploitFixes.cpp (#195)KittenPopo
* Move LZSS exploit fix hook to ExploitFixes.cpp * Formatting changes for clang-format
2022-06-15Fix bug where emit wouldn't be blocked if uppercase (#192)v1.8.1-rc2Emma Miler
* Fix bug where emit wouldnt be blocked if uppercase * Moved emit blocker to ExploitFixes.cpp * Format change * Use `strnicmp` instead of a custom functions * Resolve merge conflicts * Format changes
2022-06-14Guard against GetEntByIndex read out of bounds (#191)Tom Barham
* Guard against GetEntByIndex read out of bounds * Move to ExploitFixes.cpp * format * Log out of bounds access
2022-04-13Format projectNorthstar
2022-04-13Fix formatting to stop clang-format failing in CI (#143)GeckoEidechse
2022-03-28More exploit fixes by KIttenPopo (#126)GeckoEidechse
* Quick fix for a bug I caused * Typo * Update kitten-fixes branch to my repo (#122) * Added string hash macro * Added convenient vtfunc macro * Made lil ConCommand creation macro * Fixed multiple NET_SetConVar exploits * Quick fixerino * Fix convar struct (and other things) * Revive clang-format (but good, i think) * Update .clang-format * Reformatted code to meet .clang-format requirements * Minor formatting fixes * Fixed Northstar "crashing" when console is closed * Update .clang-format * Quick fix for a bug I caused * Typo * NSMem Update * ExplotFixes: Only block excessive convar counts if server * Update ExploitFixes.cpp * Update ExploitFixes.cpp * Updated bytepatch format * reformatted all code for clang-format * Updated my clang-format to v13.0.0 * 3 fixes in 1 - ANTITAMPER fixed - NSMem simplification update - Fixed bad byte string in serverauthentication.cpp * Improved ExploitFixes logging and NET_SetConVar patch * clang-format unironically sabotaged my code * Made ns_exploitfixes_log on by default * Fixed IsMemoryReadable (oops) Co-authored-by: KittenPopo <Pokeberry123@gmail.com>
2022-03-26Major exploit fixes and some minor bug fixes/improvements (#117)v1.6.0-rc3KittenPopo
* Added main exploit fixes * Fixed typo in sigscanning.cpp * Fully implemented * Added proper includes for new files * Update README.md * typo * spare me my sanity (fixed ridiculous code) * Added rest of KittenMemUtils * Rename KittenMemUtils * Removed all messy memory edits, implemented NSMem instead * Update NorthstarDedicatedTest.vcxproj * [1] Move everything from securitypatches to ExploitFixes * [2] Move everything from securitypatches to ExploitFixes * Fixed module offsets in stack trace * Fixed UTF8 Parsing (Multiplayer Crash) * Implemented UT8 fix * Update NorthstarDedicatedTest.vcxproj * Update hookutils.cpp * Small fixes * all my homies hate clang-format * Temporarily restore README.md * Added string hash macro * Added convenient vtfunc macro * Made lil ConCommand creation macro * Fixed multiple NET_SetConVar exploits * Quick fixerino * Fix convar struct (and other things) * Revive clang-format (but good, i think) * Update .clang-format * Reformatted code to meet .clang-format requirements * Minor formatting fixes * Fixed Northstar "crashing" when console is closed * Update .clang-format
2022-03-23Implement KittenPopo exploit fixes (and sanity changes) (#112)KittenPopo
* Added main exploit fixes * Fixed typo in sigscanning.cpp * Fully implemented * Added proper includes for new files * Update README.md * typo * spare me my sanity (fixed ridiculous code) * Added rest of KittenMemUtils * Rename KittenMemUtils * Removed all messy memory edits, implemented NSMem instead * Update NorthstarDedicatedTest.vcxproj * [1] Move everything from securitypatches to ExploitFixes * [2] Move everything from securitypatches to ExploitFixes * Fixed module offsets in stack trace * Fixed UTF8 Parsing (Multiplayer Crash) * Implemented UT8 fix * Update NorthstarDedicatedTest.vcxproj * Update hookutils.cpp * Small fixes * all my homies hate clang-format * Temporarily restore README.md