View Issue Details

IDProjectCategoryView StatusLast Update
0002321Kali LinuxGeneral Bugpublic2015-06-09 01:46
Reportersteev Assigned Todookie  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0 
Summary0002321: zaproxy has typo in launch script for owasp-zap
Description

Same as with maltego, the script has an incorrect PATH variable in the export line of the launcher. Currently it sets the path to java and $$PATH instead of java and $PATH.

Additional Information

The file can be found in the debian helper-scripts folder in the sources, line 21

Attached Files
0001-Fix-typo-in-arm-commandline-for-owasp-zap.patch (873 bytes)   
From c2bb115626b02a1e74206d5defa0b77e472ef888 Mon Sep 17 00:00:00 2001
From: Steev Klimaszewski <[email protected]>
Date: Mon, 8 Jun 2015 15:04:28 -0500
Subject: [PATCH] Fix typo in arm commandline for owasp-zap

Signed-off-by: Steev Klimaszewski <[email protected]>
---
 debian/helper-script/owasp-zap |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/helper-script/owasp-zap b/debian/helper-script/owasp-zap
index f21e6e5..bfee2e1 100755
--- a/debian/helper-script/owasp-zap
+++ b/debian/helper-script/owasp-zap
@@ -18,5 +18,5 @@ then
 	cd /usr/share/zaproxy/ && export PATH=/usr/lib/jvm/java-7-openjdk-amd64/bin:$PATH && ./zap.sh
 
 else 
-	cd /usr/share/zaproxy/ && export PATH=/usr/lib/jvm/java-7-openjdk-arm*/bin:$$PATH && ./zap.sh
+	cd /usr/share/zaproxy/ && export PATH=/usr/lib/jvm/java-7-openjdk-arm*/bin:$PATH && ./zap.sh
 fi
-- 
1.7.10.4

Activities

steev

steev

2015-06-08 20:08

manager   ~0003387

Attached a patch that fixes the command line for launching owasp-zap on arm. This only changes the script, no changes to the changelog for upload.

dookie

dookie

2015-06-09 01:46

reporter   ~0003388

Fixed in zaproxy_2.4.0-0kali1. It will be in the repos soon.

Thanks for the report.

Issue History

Date Modified Username Field Change
2015-06-08 10:43 steev New Issue
2015-06-08 10:43 steev Status new => assigned
2015-06-08 10:43 steev Assigned To => dookie
2015-06-08 20:08 steev File Added: 0001-Fix-typo-in-arm-commandline-for-owasp-zap.patch
2015-06-08 20:08 steev Note Added: 0003387
2015-06-09 01:46 dookie Note Added: 0003388
2015-06-09 01:46 dookie Status assigned => resolved
2015-06-09 01:46 dookie Fixed in Version => 1.1.1
2015-06-09 01:46 dookie Resolution open => fixed