add some fixtures

pull/3/head
sundowndev 2020-04-13 00:59:23 +01:00
parent 9efb70b41a
commit aa6dd43775
2 changed files with 39 additions and 1 deletions

View File

@ -23,6 +23,6 @@ func ShowResults(results []*QueryResult) {
fmt.Fprintln(w, "File\tCount\tFirst match\t") fmt.Fprintln(w, "File\tCount\tFirst match\t")
for _, v := range results { for _, v := range results {
fmt.Fprintf(w, "%v\t%v\t%v\t", v.File, v.Count, v.FirstMatch) fmt.Fprintf(w, "%v\t%v\t%v\t\n", v.File, v.Count, v.FirstMatch)
} }
} }

View File

@ -0,0 +1,38 @@
Ideally, you should be able to just type:
./configure
make
make install
For Kali Linux, you might also need to do:
apt install libssl1.0-dev
It needs an older SSL version due to OpenSSH code for the SSH module.
For Ubuntu, you might also need to add the -lrt flag to the LDFLAGS variable in the Makefile,
if you get the undefined reference to `clock_gettime' error:
LDFLAGS = -Lnbase -Lnsock/src -Lopensshlib $(DBGFLAGS) $(STATIC) -lrt
Ideally, you should be able to just type:
./configure
make
make install
For Kali Linux, you might also need to do:
apt install libssl1.0-dev
It needs an older SSL version due to OpenSSH code for the SSH module.
For Ubuntu, you might also need to add the -lrt flag to the LDFLAGS variable in the Makefile,
if you get the undefined reference to `clock_gettime' error:
LDFLAGS = -Lnbase -Lnsock/src -Lopensshlib $(DBGFLAGS) $(STATIC) -lrt