diff options
| author | spv420 <unomilliono@gmail.com> | 2022-04-23 18:22:31 -0400 |
|---|---|---|
| committer | spv420 <unomilliono@gmail.com> | 2022-04-23 18:22:31 -0400 |
| commit | 245a3831d7266913b0281bfa19058b59ac80818b (patch) | |
| tree | d20043b79a8df535a7df9b1d19c249e6ebd2d5a1 /src/stage0_primitives.c | |
| parent | 8526f9689b7bbeb09a14fbd159ef6d1871909df4 (diff) | |
big b0i
Diffstat (limited to 'src/stage0_primitives.c')
| -rw-r--r-- | src/stage0_primitives.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/stage0_primitives.c b/src/stage0_primitives.c deleted file mode 100644 index b54cb1a..0000000 --- a/src/stage0_primitives.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * stage0_primitives - */ - -#include <stdint.h> -#include <stdio.h> - -#include "stage0_primitives.h" -#include "ip_tools.h" -#include "common.h" -#include <string.h> -#include "shit.h" - -//#define DNS4_OFFSET 0xb6c10 - -char* write32_slid(uint32_t where, - uint32_t what) { - char* where_ip = NULL; - char* what_ip = NULL; - char* ret = NULL; - - uint32_t where_ = where - DNS4_OFFSET; - where_ >>= 2; - where_ += 0x80000000; - - where_ip = uint32_t_to_ip(where_); - what_ip = uint32_t_to_ip(what); - - asprintf(&ret, "mode_cfg{" - "wins41.3.3.7;" - "wins41.3.3.7;" - "wins41.3.3.7;" - "wins41.3.3.7;" - "wins4255.255.255.255;" - "wins4%s;" - "dns4%s;" - "}", - where_ip, - what_ip); - - strcpy(fuck_memory_leaks, ret); - - free(ret); - - return fuck_memory_leaks; -}
\ No newline at end of file |
