mirror of https://github.com/CIRCL/AIL-framework
Merge pull request #107 from mokaddem/fix-linkPaste-debug
Fixed Link to download a paste is undefined when in DEBUGpull/110/head
commit
f87c4393c6
|
@ -96,6 +96,6 @@ if __name__ == "__main__":
|
||||||
p.populate_set_out(msg, categ)
|
p.populate_set_out(msg, categ)
|
||||||
|
|
||||||
publisher.info(
|
publisher.info(
|
||||||
'Categ;{};{};{};Detected {} as {}'.format(
|
'Categ;{};{};{};Detected {} as {};{}'.format(
|
||||||
paste.p_source, paste.p_date, paste.p_name,
|
paste.p_source, paste.p_date, paste.p_name,
|
||||||
len(found), categ))
|
len(found), categ), paste.p_path)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,7 @@ function create_log_table(obj_json) {
|
||||||
|
|
||||||
source_link = document.createElement("A");
|
source_link = document.createElement("A");
|
||||||
if (parsedmess[1] == "slexy.org"){
|
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{
|
else{
|
||||||
source_url = "http://"+parsedmess[1]+"/"+parsedmess[3].split(".")[0];
|
source_url = "http://"+parsedmess[1]+"/"+parsedmess[3].split(".")[0];
|
||||||
|
|
Loading…
Reference in New Issue