Thread: v0.2 is up
View Single Post
Old 08-25-2008, 04:04 AM   #7
julien
Human being with feelings
 
Join Date: Jul 2006
Posts: 16
Default It works

Hi,

I managed to compile assniffer 0.2 on Debian. I had to add the following in http.cpp:

#include <ctype.h>
char MAX_PATH;

The diff:
--- source/assniffer/http.cpp 2006-10-29 00:38:26.000000000 +0200
+++ new_working_debian/assniffer/http.cpp 2008-08-25 13:01:57.000000000 +0200
@@ -22,7 +22,7 @@
#include <stdlib.h>
#include <time.h>
#include "platform.h"
-
+#include <ctype.h>
#include "pcap.h"
#include "http.h"

@@ -457,6 +457,7 @@
{
if(m_cookie[0] && g_config_cookie)
{
+ char MAX_PATH;
char fn[MAX_PATH*2];
sprintf(fn,"%s/cookies.txt", g_config_leadpath);
FILE *fh = fopen(fn,"ab");


Justin: Could you please create a new version with this update?

Thanks,
Julien
julien is offline   Reply With Quote