Skip to content

Commit

Permalink
抛弃过期的旧依赖
Browse files Browse the repository at this point in the history
抛弃过期的旧依赖,引用新的依赖
修复一处代码不规范问题
  • Loading branch information
0Chencc committed Jan 22, 2022
1 parent 3b70d8a commit 9b7cd27
Show file tree
Hide file tree
Showing 14 changed files with 462 additions and 301 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,5 @@ gradle-app.setting
# End of https://www.toptal.com/developers/gitignore/api/macos,gradle,intellij+all

#Users
test
test
*.jfd
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'org.ctfcracktools'
version '1.1.1'
version '1.1.2'
buildscript {
ext.kotlin_version = '1.4.10'

Expand Down Expand Up @@ -37,7 +37,7 @@ dependencies {
compile group: 'org.python', name: 'jython', version: '2.7.1b3'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
compile group: 'commons-codec', name: 'commons-codec', version: '1.10'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
compile group: 'org.apache.commons', name: 'commons-text', version: '1.9'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}

Expand Down
6 changes: 4 additions & 2 deletions src/burp/BurpExtender.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

import burp.ui.MainUi;

/**
* @author linchen
*/
public class BurpExtender implements IBurpExtender, ITab {
private IBurpExtenderCallbacks callbacks;
private static PrintWriter stdout;
Expand All @@ -14,8 +17,7 @@ public class BurpExtender implements IBurpExtender, ITab {
public void registerExtenderCallbacks(final IBurpExtenderCallbacks callbacks)
{
this.callbacks = callbacks;
String version = "1.1.1";
callbacks.setExtensionName(String.format("DaE (%s) - CTFCrackTools's Burpsuite Plugin - Decode and Encode", version));
callbacks.setExtensionName(String.format("DaE (%s) - CTFCrackTools's Burpsuite Plugin - Decode and Encode", Config.VERSION));
// 定义输出
stdout = new PrintWriter(callbacks.getStdout(), true);
stdout.println("@Author: 0chencc");
Expand Down
26 changes: 26 additions & 0 deletions src/burp/Config.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package burp;

import burp.fuction.PythonFunc;
import burp.fuction.PythonFunc;

import java.io.File;

/**
* @author linchen
*/
public class Config {
public final static String VERSION = "1.1.2";
public final static String SLOGAN = "";
public final static String ABOUT =
"Author:0chen(@0chencc)\n" +
"Twitter:@0chencc\n" +
"GitHub:https://github.com/0Chencc\n" +
"Wechat Official Accounts(公众号):XizhouPoetry\n" +
"Repository Url:https://github.com/0Chencc/CTFCrackTools\n" +
"米斯特安全团队招CTF选手,有意向联系[email protected]";
public final static File PLUGIN_FILE = new File("ctfcracktools_plugins.json");
public final static File SETTING_FILE = new File("ctfcracktools_setting.json");

public static PythonFunc pyFunc = new PythonFunc();

}
33 changes: 33 additions & 0 deletions src/burp/fuction/CodeMode.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package ctfcracktools.fuction

class CodeMode {
companion object{
const val CRYPTO_FENCE = "Fence"
const val CRYPTO_CAESAR = "CaesarCode"
const val CRYPTO_PIG = "PigCode"
const val CRYPTO_ROT13 = "ROT13"
const val CRYPTO_HEX_2_STRING = "Hex2String"
const val CRYPTO_STRING_2_HEX = "String2Hex"
const val CRYPTO_UNICODE_2_ASCII = "Unicode2Ascii"
const val CRYPTO_ASCII_2_UNICODE = "Ascii2Unicode"
const val CRYPTO_REVERSE = "Reverse"

const val DECODE_MORSE = "MorseDecode"
const val DECODE_BACON = "BaconDecode"
const val DECODE_BASE64 = "Base64Decode"
const val DECODE_BASE32 = "BASE32Decode"
const val DECODE_URL = "UrlDecode"
const val DECODE_UNICODE = "UnicodeDecode"
const val DECODE_HTML = "HtmlDecode"
const val DECODE_VIGENERE = "VigenereDeCode"

const val ENCODE_MORSE = "MorseEncode"
const val ENCODE_BACON = "BaconEncode"
const val ENCODE_BASE64 = "Base64Encode"
const val ENCODE_BASE32 = "Base32Encode"
const val ENCODE_URL = "UrlEncode"
const val ENCODE_UNICODE = "UnicodeEncode"
const val ENCODE_HTML = "HtmlEncode"
const val ENCODE_VIGENERE = "VigenereEnCode"
}
}
Loading

0 comments on commit 9b7cd27

Please sign in to comment.