mirror of
https://github.com/edoardottt/cariddi.git
synced 2026-09-11 20:27:46 +02:00
v1.1.8
This commit is contained in:
+1
-2
@@ -480,8 +480,7 @@ func huntExtensions(target string, severity int) scanner.FileTypeMatched {
|
||||
target = target[:firstIndex]
|
||||
}
|
||||
|
||||
i := strings.LastIndex(target, ".")
|
||||
if i >= 0 && strings.ToLower(target[i:]) == "."+ext.Extension {
|
||||
if strings.ToLower(target[len(target)-len("."+ext.Extension):]) == "."+ext.Extension {
|
||||
extension = scanner.FileTypeMatched{Filetype: ext, URL: copyTarget}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
==========
|
||||
Cariddi v1.1.7
|
||||
Cariddi v1.1.8
|
||||
==========
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ func Beautify() {
|
||||
banner2 := " ___ __ _ _ __(_) __| | __| (_)\n"
|
||||
banner3 := " / __/ _` | '__| |/ _` |/ _` | |\n"
|
||||
banner4 := " | (_| (_| | | | | (_| | (_| | |\n"
|
||||
banner5 := " \\___\\__,_|_| |_|\\__,_|\\__,_|_| v1.1.7\n"
|
||||
banner5 := " \\___\\__,_|_| |_|\\__,_|\\__,_|_| v1.1.8\n"
|
||||
banner6 := ""
|
||||
banner7 := " > github.com/edoardottt/cariddi\n"
|
||||
banner8 := " > edoardoottavianelli.it\n"
|
||||
|
||||
@@ -88,6 +88,10 @@ func GetExtensions() []FileType {
|
||||
{"json", 3},
|
||||
{"zip", 3},
|
||||
{"tar", 3},
|
||||
{"tar.bz2", 3},
|
||||
{"tar.gz", 3},
|
||||
{"rar", 3},
|
||||
{"7z", 3},
|
||||
{"gz", 3},
|
||||
{"dochtml", 3},
|
||||
{"doc", 4},
|
||||
|
||||
Reference in New Issue
Block a user