add some fixtures
parent
9efb70b41a
commit
aa6dd43775
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue