-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
69 lines (51 loc) · 2.64 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
General purpose glFTPd binary logs utility
This tool serves as an I/O mechanism between user's scripts and
binary logs or online users data from the shared memory segment.
Additionally, it can traverse a filesystem directory tree much the
same way as it would other sources, honoring all of the the extensive
filtering options available, making it a powerfull filesystem search
application.
Check /scripts folder in this repo for examples on what can be done
with this tool. This is a C source project, scripts are NOT required
for any part of glutil to function. However, scripts depend on
glutil to read/write binary log/shm/filesystem/config data.
Scripts are NOT maintained and tested on different evironments.
That said, they should work fine on most newer linux environments
and provide scripters with a base for porting to theirown platforms.
See ./glutil --help for full list of options with short descriptions.
MAIN FEATURES:
- Import individual/missing records or rebuild entire dirlog based
on file-system and nukelog data (read below)
- Rebuild existing binary glFTPd logs (see full list below)
using regex/custom filtering methods and sorting
- Display various binary glFTPd logs/online users/config data
(filtered/sorted) using custom formatting and pre-processing
hooks (-print, -execv)
- Execute external tools/scripts for each data record matched, passing
along argument strings converted from binary data to shell (-execv)
- Write to any binary log, using an ASCII formatted text or binary
source
- Calculate CRC32 of files
INSTALLATION:
- Unpack and compile:
git clone https://github.com/nixnodes/glutil.git
cd glutil
cp /glroot/bin/sources/glconf.h src/
./configure --prefix=/glroot && make
Some warnings might pop up (should be safe)
glconf.h (found in /bin/sources) is needed to compile properly,
make sure to put it into 'src/' folder.
- Install:
make install
SUPPORTED glFTPd BINARY LOGS (with default paths):
- Directory log (/ftp-data/logs/dirlog)
- Nuke log (/ftp-data/logs/nukelog)
- Dupe file (/ftp-data/logs/dupefile)
- Last-online log (/ftp-data/logs/laston.log)
- Oneliners file (/ftp-data/logs/oneliners.log)
- Online users (shared memory segment)
glutil specific binary logs:
- Internet Movie Data Base log (/ftp-data/logs/imdb.log)
- TVRAGE info log (/ftp-data/logs/tv.log)
- Game info log (/ftp-data/logs/game.log)
Credits : Bsugar for the original idea, design and beta testing