Thank you, have perused what you wrote and see what to do.
Read some articles and as you said, the header file should not contain any code, only function prototype declarations, *not* function...
Type: Posts; User: ephemeric
Thank you, have perused what you wrote and see what to do.
Read some articles and as you said, the header file should not contain any code, only function prototype declarations, *not* function...
Reading carefully, I see that now. I was mistaken.
Salem, I cannot thank you enough.
I am very grateful for the help.
I will post again when I need help, this site is brilliant.
Cheers!
If I don't comment the include in wrath-injector.c I get:
cc -g -O0 -Wno-implicit-function-declaration -c src/main.c src/wrath-args.c src/wrath-reactor.c src/wrath-injector.c...
If I include wrath-utils.h (safe_malloc) in main.c:
#include <stdlib.h>
#include <signal.h>
#include <libnet.h>
#include "wrath.h"
#include "wrath-utils.h"
robert@archlinux wrath]$ grep -r wrath-utils.h src/
src/wrath-injector.c:#include "wrath-utils.h"
Is there a reason "wrath-utils.h" is not included in main.c but included in another source file?
Please can you correct the misspelling in the title: "Segault" to "Segfault"?
I see safe_malloc() is in wrath-utils.h:
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include...
How can I edit the thread title to fix the misspelling?
Hi,
Wow, quick responses, excellent!
Here is the link for reference purposes only, I didn't mean to imply one must go there: GitHub - NickStephens/WRATH: A TCP hijacking platform
Any advice...
Hi,
I'm not a C programmer, have been a SysAd for quite some time and can write shell scripts so I have some rudimentary programming knowledge.
I have some C code that is available on GitHub. I...