Skip to content

Commit

Permalink
User File propfile
Browse files Browse the repository at this point in the history
  • Loading branch information
HKirito committed Oct 11, 2021
1 parent cc65467 commit 4395796
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 28 deletions.
Binary file added image/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/image_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 0 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,6 @@
</configuration>
</plugin>

<!-- 打包可运行jar包 -->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-assembly-plugin</artifactId>-->
<!-- <configuration>-->
<!-- <archive>-->
<!-- <manifest>-->
<!-- <mainClass>sanwu.CsRewrite</mainClass>-->
<!-- </manifest>-->
<!-- </archive>-->
<!-- <finalName>cstool</finalName>-->
<!-- <descriptorRefs>-->
<!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
<!-- </descriptorRefs>-->
<!-- </configuration>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>make-assembly</id>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>single</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/sanwu/CsRewrite.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public static void premain(String agentArgs, Instrumentation inst) throws Except
ClassPool classPool = ClassPool.getDefault();
Loader loader = new Loader(classPool);


//插入类路径,进行获取所需修改的类路径
String className = "server.ManageUser";

Expand Down
1 change: 1 addition & 0 deletions src/main/java/sanwu/GoogleAuthenticationTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public static String generateSecretKey() {
random.nextBytes(bytes);
Base32 base32 = new Base32();
return base32.encodeToString(bytes);

}

/**
Expand Down

0 comments on commit 4395796

Please sign in to comment.