diff --git a/engine/results.go b/engine/results.go index fff75a6..b9b7632 100644 --- a/engine/results.go +++ b/engine/results.go @@ -23,6 +23,6 @@ func ShowResults(results []*QueryResult) { fmt.Fprintln(w, "File\tCount\tFirst match\t") 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) } } diff --git a/fixtures/0/1/3/guide.2.txt b/fixtures/0/1/3/guide.2.txt new file mode 100644 index 0000000..67d9861 --- /dev/null +++ b/fixtures/0/1/3/guide.2.txt @@ -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 +