-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path0001-adjust-java-install-paths.patch
87 lines (78 loc) · 2.96 KB
/
0001-adjust-java-install-paths.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
From ad527572c4e71ea4293f7278d21cff95ea3239e1 Mon Sep 17 00:00:00 2001
From: Brent Cook <[email protected]>
Date: Tue, 28 Apr 2015 05:38:19 -0500
Subject: [PATCH 1/2] adjust java install paths
---
java/README.md | 6 +++---
java/androidpayload/app/pom.xml | 2 +-
java/androidpayload/library/pom.xml | 2 +-
java/androidpayload/ndkstager/pom.xml | 2 +-
java/pom.xml | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/java/README.md b/java/README.md
index 8daf696..df7fbb1 100644
--- a/java/README.md
+++ b/java/README.md
@@ -12,11 +12,11 @@ mvn -P deploy package
```
to package all the files and copy them into the correct place for Metasploit
-(`../metasploit-framework/data/java`). If you get spurious compilation errors,
-make sure that there is an exclude rule in your antivirus for the Metasploit
+(`../metasploit-framework/data/java`). If you get spurious compilation errors,
+make sure that there is an exclude rule in your antivirus for the Metasploit
directory (or that your antivirus is disabled).
-If the path to your metasploit framework repository is not `../metasploit-framework`,
+If the path to your metasploit framework repository is not `../../metasploit-framework`,
but for example `../msf3`, use
```
diff --git a/java/androidpayload/app/pom.xml b/java/androidpayload/app/pom.xml
index 7746bad..42efc34 100644
--- a/java/androidpayload/app/pom.xml
+++ b/java/androidpayload/app/pom.xml
@@ -8,7 +8,7 @@
<name>AndroidPayload for Metasploit</name>
<properties>
- <deploy.path>../metasploit-framework</deploy.path>
+ <deploy.path>../../metasploit-framework</deploy.path>
</properties>
<dependencies>
<dependency>
diff --git a/java/androidpayload/library/pom.xml b/java/androidpayload/library/pom.xml
index b994489..8c1acf6 100644
--- a/java/androidpayload/library/pom.xml
+++ b/java/androidpayload/library/pom.xml
@@ -8,7 +8,7 @@
<name>Android Meterpreter</name>
<properties>
- <deploy.path>../metasploit-framework</deploy.path>
+ <deploy.path>../../metasploit-framework</deploy.path>
</properties>
<dependencies>
<dependency>
diff --git a/java/androidpayload/ndkstager/pom.xml b/java/androidpayload/ndkstager/pom.xml
index eb19dcb..f9a28cd 100644
--- a/java/androidpayload/ndkstager/pom.xml
+++ b/java/androidpayload/ndkstager/pom.xml
@@ -7,7 +7,7 @@
<name>Android NDK Stager</name>
<properties>
- <deploy.path>../metasploit-framework</deploy.path>
+ <deploy.path>../../metasploit-framework</deploy.path>
</properties>
<dependencies>
<dependency>
diff --git a/java/pom.xml b/java/pom.xml
index f3eae92..7a71e39 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -9,7 +9,7 @@
<url>http://www.metasploit.com/</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <deploy.path>../metasploit-framework</deploy.path>
+ <deploy.path>../../metasploit-framework</deploy.path>
</properties>
<dependencies>
<dependency>
--
2.3.6