From b062f507a8be7a63b6180dfda9bf572a73c49225 Mon Sep 17 00:00:00 2001 From: Swissky Date: Tue, 14 Nov 2017 13:24:19 +0100 Subject: [PATCH] zsh:1: command not found: q --- functions.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/functions.py b/functions.py index 2eed545..a2ca71b 100644 --- a/functions.py +++ b/functions.py @@ -38,7 +38,7 @@ def display(path,payload,vulnerability,line,declaration_text,declaration_line, c print "\033[1mCode \033[0m " + "\t"+vuln # Declared at line 1 : $dest = $_GET['who']; - declared = "" + declared = "Undeclared \033[0m"+ declaration_text+" in the file" if not "$_" in colored: # Check for not $dest="constant"; $dest='cste'; $dest=XX; @@ -46,9 +46,8 @@ def display(path,payload,vulnerability,line,declaration_text,declaration_line, c if declaration_text != "": declared = "Line n°\033[0;92m"+declaration_line+"\033[0m : "+ declaration_text - else: - declared = "Undeclared \033[0m"+ declaration_text+" in the file" - print "\033[1mDeclaration \033[0m " + "\t"+declared + + print "\033[1mDeclaration \033[0m " + "\t"+declared # Small delimiter print ""