diff --git a/bin/Categ.py b/bin/Categ.py index 9449e87c..be0dff17 100755 --- a/bin/Categ.py +++ b/bin/Categ.py @@ -96,6 +96,6 @@ if __name__ == "__main__": p.populate_set_out(msg, categ) publisher.info( - 'Categ;{};{};{};Detected {} as {}'.format( + 'Categ;{};{};{};Detected {} as {};{}'.format( paste.p_source, paste.p_date, paste.p_name, - len(found), categ)) + len(found), categ), paste.p_path) diff --git a/bin/SQLInjectionDetection.py b/bin/SQLInjectionDetection.py index 5e1f1dce..1901d4b6 100755 --- a/bin/SQLInjectionDetection.py +++ b/bin/SQLInjectionDetection.py @@ -78,7 +78,7 @@ def analyse(url, path): else: print "Potential SQL injection:" print urllib2.unquote(url) - to_print = 'SQLInjection;{};{};{};{}'.format(paste.p_source, paste.p_date, paste.p_name, "Potential SQL injection") + to_print = 'SQLInjection;{};{};{};{};{}'.format(paste.p_source, paste.p_date, paste.p_name, "Potential SQL injection", paste.p_path) publisher.info(to_print) diff --git a/var/www/static/js/indexjavascript.js b/var/www/static/js/indexjavascript.js index b85f62b0..5f97ab41 100644 --- a/var/www/static/js/indexjavascript.js +++ b/var/www/static/js/indexjavascript.js @@ -213,7 +213,7 @@ function create_log_table(obj_json) { source_link = document.createElement("A"); if (parsedmess[1] == "slexy.org"){ - soruce_url = "http://"+parsedmess[1]+"/view/"+parsedmess[3].split(".")[0]; + source_url = "http://"+parsedmess[1]+"/view/"+parsedmess[3].split(".")[0]; } else{ source_url = "http://"+parsedmess[1]+"/"+parsedmess[3].split(".")[0];