Skip to content

Commit

Permalink
Merge pull request #1 from phith0n/master
Browse files Browse the repository at this point in the history
增加maven编译配置文件
  • Loading branch information
c0ny1 committed Mar 16, 2019
2 parents 16d338f + 9ab0ea4 commit 1d42c22
Show file tree
Hide file tree
Showing 46 changed files with 52 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

/target/
/.idea/
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

本插件主要用于分块传输绕WAF,不了解分块传输绕WAF的请阅读文末的文章。

## 编译

```
mvn package
```

## 插件使用

![菜单](doc/menu.png)
Expand Down
41 changes: 41 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.burp</groupId>
<artifactId>chunked-coding-converter</artifactId>
<version>1.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>

</project>
File renamed without changes.
2 changes: 1 addition & 1 deletion src/burp/Config.java → src/main/java/burp/Config.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package burp;

public class Config {
public static int splite_len = 2;
public static Integer splite_len = 2;
public static boolean isComment = true;
public static boolean act_on_all_tools = false;
public static boolean act_on_target = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void actionPerformed(ActionEvent e) {
btSave.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Config.splite_len = (int)spSplitLen.getValue();
Config.splite_len = (Integer) spSplitLen.getValue();
Config.isComment = cbComment.isSelected();
Config.act_on_all_tools = chkAllTools.isSelected();
Config.act_on_target = chkTarget.isSelected();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1d42c22

Please sign in to comment.