Skip to content

Commit

Permalink
Feature #30: Adding thirdparty dependencies to the MITM feature as
Browse files Browse the repository at this point in the history
eclipe-plugins and linking related maven poms
  • Loading branch information
mv2a committed Feb 20, 2015
1 parent 979ff89 commit ca524f9
Show file tree
Hide file tree
Showing 12 changed files with 403 additions and 388 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ dSploit/build/
# PDT-specific
.buildpath
/obj

#logs
*.log
4 changes: 4 additions & 0 deletions plugins/cm-mitm/JArpPoison/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ Bundle-ManifestVersion: 2
Bundle-Name: JArpPoison
Bundle-SymbolicName: JArpPoison
Bundle-Version: 1.0.0.qualifier
Export-Package: jarppoison
Import-Package: jpcap,
jpcap.api,
jpcap.packet
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
32 changes: 11 additions & 21 deletions plugins/cm-mitm/JArpPoison/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,19 @@
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.leaobr</groupId>
<artifactId>jarppoison</artifactId>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.robotninjas</groupId>
<artifactId>jpcap</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<name>THIRDPARTY MITM LIBRARY</name>
<url>http://github.com/leaobr/JArpPoison.git</url>
<description>Uses Jpcap along with libjpcap or (winpcap) to perform mitm actions in a network</description>
<artifactId>JArpPoison</artifactId>
<packaging>eclipse-plugin</packaging>
<scm>
<url>scm:git:git://github.com/leaobr/JArpPoison.git</url>
<developerConnection>scm:git:ssh://git@github.com/leaobr/JArpPoison.git</developerConnection>
</scm>
<parent>
<groupId>net.leaobr.cm.plugins.cm-mitm</groupId>
<artifactId>cm-mitm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
</project>
Binary file removed plugins/cm-mitm/JArpPoison/steal.log
Binary file not shown.
1 change: 1 addition & 0 deletions plugins/cm-mitm/jpcap/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Bundle-ActivationPolicy: lazy
Export-Package: jpcap,
jpcap.api,
jpcap.packet
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
23 changes: 10 additions & 13 deletions plugins/cm-mitm/jpcap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,19 @@
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.robotninjas</groupId>
<name>THIRDPARTY JPCAP LIBRARY</name>
<url>http://jpcap.sourceforge.net/</url>
<description>Jpcap is a Java library for capturing and sending network packets. Jpcap is based on libpcap/winpcap.</description>
<artifactId>jpcap</artifactId>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<packaging>eclipse-plugin</packaging>
<scm>
<url>scm:git:git://github.com/leaobr/jpcap.git</url>
<developerConnection>scm:git:ssh://git@github.com/leaobr/jpcap.git</developerConnection>
</scm>
<parent>
<groupId>net.leaobr.cm.plugins.cm-mitm</groupId>
<artifactId>cm-mitm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
</project>
31 changes: 16 additions & 15 deletions plugins/cm-mitm/jpcap/src/main/java/jpcap/api/CaptureException.java
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
package jpcap.api;

@SuppressWarnings("serial")
public class CaptureException extends RuntimeException {
public CaptureException() {
super();
}
public CaptureException() {
super();
}

public CaptureException(String message) {
super(message);
}
public CaptureException(String message) {
super(message);
}

public CaptureException(String message, Throwable cause) {
super(message, cause);
}
public CaptureException(String message, Throwable cause) {
super(message, cause);
}

public CaptureException(Throwable cause) {
super(cause);
}
public CaptureException(Throwable cause) {
super(cause);
}

protected CaptureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
protected CaptureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package jpcap.packet;

/**
* This class represents datalink layer packet.
*/
public abstract class DatalinkPacket implements java.io.Serializable {
}
package jpcap.packet;

/**
* This class represents datalink layer packet.
*/
@SuppressWarnings("serial")
public abstract class DatalinkPacket implements java.io.Serializable {
}
Loading

0 comments on commit ca524f9

Please sign in to comment.