diff --git a/crawler/colly.go b/crawler/colly.go index 4443c2a..dc0b7a1 100644 --- a/crawler/colly.go +++ b/crawler/colly.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package crawler diff --git a/crawler/requests.go b/crawler/requests.go index ce46c4f..bfda779 100644 --- a/crawler/requests.go +++ b/crawler/requests.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package crawler diff --git a/crawler/useragents.go b/crawler/useragents.go index 6cf8d5f..3ea6eca 100644 --- a/crawler/useragents.go +++ b/crawler/useragents.go @@ -20,6 +20,7 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Author: edoardottt, https://www.edoardoottavianelli.it + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE * Disclaimer *: Code partially taken from: https://github.com/gocolly/colly/blob/v1.2.0/extensions/random_user_agent.go @@ -34,7 +35,7 @@ import ( "time" ) -//Firefox versions +//Firefox versions var ffVersions = []float32{ 58.0, 57.0, @@ -54,7 +55,7 @@ var chromeVersions = []string{ "37.0.2062.124", } -//Operating system +//Operating system var osStrings = []string{ "Macintosh; Intel Mac OS X 10_10", "Windows NT 10.0", diff --git a/input/check.go b/input/check.go index 7af5b90..468fbf7 100644 --- a/input/check.go +++ b/input/check.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package input diff --git a/input/flags.go b/input/flags.go index 71aa880..b24bf61 100644 --- a/input/flags.go +++ b/input/flags.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package input diff --git a/input/input.go b/input/input.go index 70a263d..2017acd 100644 --- a/input/input.go +++ b/input/input.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package input diff --git a/main.go b/main.go index 568def8..d0b1fa6 100644 --- a/main.go +++ b/main.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package main diff --git a/output/beautify.go b/output/beautify.go index 48d2665..42c8e56 100644 --- a/output/beautify.go +++ b/output/beautify.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package output diff --git a/output/color.go b/output/color.go index ccfcc5b..3ceee88 100644 --- a/output/color.go +++ b/output/color.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package output @@ -29,7 +31,7 @@ import ( "github.com/fatih/color" ) -//EncapsulateGreen takes as input a string and +//EncapsulateGreen takes as input a string and //print a green prefix func EncapsulateGreen(inp string) { // Create a custom print function for convenience @@ -38,7 +40,7 @@ func EncapsulateGreen(inp string) { fmt.Println(inp) } -//EncapsulateRed takes as input a string and +//EncapsulateRed takes as input a string and //print a red prefix func EncapsulateRed(inp string) { // Create a custom print function for convenience @@ -47,7 +49,7 @@ func EncapsulateRed(inp string) { fmt.Println(inp) } -//EncapsulateYellow takes as input a string and +//EncapsulateYellow takes as input a string and //print a yellow prefix func EncapsulateYellow(inp string) { // Create a custom print function for convenience @@ -56,7 +58,7 @@ func EncapsulateYellow(inp string) { fmt.Println(inp) } -//EncapsulateCustomGreen takes as input a string and +//EncapsulateCustomGreen takes as input a string and //print it with the green color func EncapsulateCustomGreen(alert string, inp string) { // Create a custom print function for convenience @@ -65,7 +67,7 @@ func EncapsulateCustomGreen(alert string, inp string) { fmt.Println(inp) } -//EncapsulateCustomRed takes as input a string and +//EncapsulateCustomRed takes as input a string and //print it with the red color func EncapsulateCustomRed(alert string, inp string) { // Create a custom print function for convenience @@ -74,7 +76,7 @@ func EncapsulateCustomRed(alert string, inp string) { fmt.Println(inp) } -//EncapsulateCustomYellow takes as input a string and +//EncapsulateCustomYellow takes as input a string and //print it with the yellow color func EncapsulateCustomYellow(alert string, inp string) { // Create a custom print function for convenience diff --git a/output/examples.go b/output/examples.go index 693a1f4..c854db0 100644 --- a/output/examples.go +++ b/output/examples.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package output diff --git a/output/help.go b/output/help.go index 3a679e6..374891b 100644 --- a/output/help.go +++ b/output/help.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package output diff --git a/output/html.go b/output/html.go index 5617472..dc69b19 100644 --- a/output/html.go +++ b/output/html.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package output diff --git a/output/output.go b/output/output.go index 3cdd969..7c3a002 100644 --- a/output/output.go +++ b/output/output.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package output diff --git a/output/txt.go b/output/txt.go index 235c90f..119ea5f 100644 --- a/output/txt.go +++ b/output/txt.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package output diff --git a/scanner/endpoints.go b/scanner/endpoints.go index 554b64e..9126660 100644 --- a/scanner/endpoints.go +++ b/scanner/endpoints.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package scanner diff --git a/scanner/errors.go b/scanner/errors.go index 2f1b3fd..a402137 100644 --- a/scanner/errors.go +++ b/scanner/errors.go @@ -12,8 +12,12 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. + @Repository: https://github.com/edoardottt/cariddi + @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package scanner diff --git a/scanner/extensions.go b/scanner/extensions.go index d7e7422..93fc0d3 100644 --- a/scanner/extensions.go +++ b/scanner/extensions.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package scanner @@ -43,7 +45,7 @@ type FileTypeMatched struct { func GetExtensions() []FileType { //extensions contains a list of known extensions //and the TYPICAL (also say `in general`) associated severity. - //Why in general? Because a python file can be anything, it can + //Why in general? Because a python file can be anything, it can //contain secret data or not. var extensions = []FileType{ {"key", 1}, diff --git a/scanner/scanner.go b/scanner/scanner.go index 6df45f8..28ebd0c 100644 --- a/scanner/scanner.go +++ b/scanner/scanner.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package scanner diff --git a/scanner/secrets.go b/scanner/secrets.go index cc17c2b..0406c36 100644 --- a/scanner/secrets.go +++ b/scanner/secrets.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package scanner @@ -27,7 +29,7 @@ package scanner // Name = the name that identifies the secret // Description // Regex = The regular expression matching the secret -// FalsePositives = A list of known false positives +// FalsePositives = A list of known false positives // PoC = cli command to check if the secret is valid or not type Secret struct { Name string diff --git a/utils/files.go b/utils/files.go index 0f6be86..7ed4569 100644 --- a/utils/files.go +++ b/utils/files.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package utils diff --git a/utils/slice.go b/utils/slice.go index 8f1a71f..d114858 100644 --- a/utils/slice.go +++ b/utils/slice.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package utils diff --git a/utils/urls.go b/utils/urls.go index 8eac797..e1ac93b 100644 --- a/utils/urls.go +++ b/utils/urls.go @@ -19,6 +19,8 @@ along with this program. If not, see http://www.gnu.org/licenses/. @Repository: https://github.com/edoardottt/cariddi @Author: edoardottt, https://www.edoardoottavianelli.it + + @License: https://github.com/edoardottt/cariddi/blob/main/LICENSE */ package utils