Merge branch 'fix-linkPaste-debug' into production

This commit is contained in:
Mokaddem 2017-02-15 13:43:03 +01:00
commit e98e92b0d4

View file

@ -78,7 +78,7 @@ def analyse(url, path):
else: else:
print "Potential SQL injection:" print "Potential SQL injection:"
print urllib2.unquote(url) 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) publisher.info(to_print)