From fab6c5b4f6a83b85a297936fe5e97656a3f8a9c6 Mon Sep 17 00:00:00 2001 From: CPunch Date: Sat, 30 Jul 2022 23:16:00 -0500 Subject: [PATCH] typos --- CONTRIBUTING.md | 2 +- README.md | 2 +- bot/src/bot.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5bca039..b91e32e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ Looking for some simple tasks that need to get done for that sweet 'contributor' - Import more WinAPI manually using the method listed below ## Bot: Windows API Imports Obfuscation -Laika uses the fairly common technique of importing several API functions during runtime to help lower AV detection rates. In short, this just removes our library function from our IAT (Import Address Table), making it harder for AV to know what APIs we're loading and using. The logic for importing API is in `bot/win/winobf.c`. To add another API to our import list, first make the function typedef & function pointer definition in `bot/include/obf.h`, for example: +Laika uses the fairly common technique of importing several API functions during runtime to help lower AV detection rates. In short, this just removes our library function from our IAT (Import Address Table), making it harder for AV to know what APIs we're loading and using. The logic for importing API is in `lib/win/winobf.c`. To add another API to our import list, first make the function typedef & function pointer definition in `lib/include/obf.h`, for example: ```C typedef HINSTANCE(WINAPI *_ShellExecuteA)(HWND, LPCSTR, LPCSTR, LPCSTR, LPCSTR, INT); diff --git a/README.md b/README.md index 7d41940..e65f548 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Some notable features thus far: ## Why? -I started this project to practice my systems programming skills, specifically networking related things. The networking code in this project (under `/lib`) is probably what I'm most proud of in this project. After that I start trying to learn some common obfuscation methods I've seen used in the wild. I've used this project mostly to improve my skills of managing a 'larger' project. Things relating to having a consistent code style, documenting features and development tasks are really important skills to have when managing a codebase like this. +I started this project to practice my systems programming skills, specifically networking related things. The networking code in this project (under `/lib`) is probably what I'm most proud of in this project. After that I started trying to learn some common obfuscation methods I've seen used in the wild. I've used this project mostly to improve my skills of managing a 'larger' project. Things relating to having a consistent code style, documenting features and development tasks are really important skills to have when managing a codebase like this. ## How do I use this? diff --git a/bot/src/bot.c b/bot/src/bot.c index 9635f00..39e0507 100644 --- a/bot/src/bot.c +++ b/bot/src/bot.c @@ -79,7 +79,6 @@ struct sLaika_bot *laikaB_newBot(void) struct sLaika_bot *bot = laikaM_malloc(sizeof(struct sLaika_bot)); struct hostent *host; char *tempINBuf; - size_t _unused; int i; laikaP_initPList(&bot->pList);