[uguu] push by ruslan.savchenko - [curlftpscan] treat links as empty files... on 2010-08-30 16:17 GMT

0 views
Skip to first unread message

ug...@googlecode.com

unread,
Aug 30, 2010, 12:17:56 PM8/30/10
to ug...@googlegroups.com
Revision: 5d8cd4cc10
Author: savrus
Date: Mon Aug 30 09:01:30 2010
Log: [curlftpscan] treat links as empty files

ftpparse provides two flags to identyfy file type:
int flagtrycwd; /* 0 if cwd is definitely pointless, 1 otherwise */
int flagtryretr; /* 0 if retr is definitely pointless, 1 otherwise */

curlftpscan interpret them as follows:
directory if flagtrycwd && !flagtryretr
file with size 0 if flagtrycwd && flagtryretr
file with size provided by ftpparse otherwise
http://code.google.com/p/uguu/source/detail?r=5d8cd4cc10

Modified:
/scanners/curlftpscan/cfwk.c
/scanners/curlftpscan/cfwk.h

Reply all
Reply to author
Forward
0 new messages