This file contains hidden or 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
package my.crypto; | |
import org.bouncycastle.util.encoders.Hex; | |
import javax.crypto.BadPaddingException; | |
import javax.crypto.Cipher; | |
import javax.crypto.IllegalBlockSizeException; | |
import javax.crypto.NoSuchPaddingException; | |
import java.math.BigInteger; | |
import java.nio.charset.StandardCharsets; |
This file contains hidden or 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
#include <iostream> | |
/** | |
* rc4初始化函数(init) | |
* @param S | |
* @param key 密钥key | |
* @param key_len | |
*/ | |
void rc4_init(unsigned char *S, unsigned char *key, unsigned long key_len); |
This file contains hidden or 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
package my.crypto; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Base64; | |
/** | |
* @ClassName Base | |
* @Description Base64自定义加解密示例 | |
* @Author Palmer | |
* @Date 2022/2/3 |
This file contains hidden or 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
package my.crypto; | |
import javax.crypto.BadPaddingException; | |
import javax.crypto.Cipher; | |
import javax.crypto.IllegalBlockSizeException; | |
import javax.crypto.NoSuchPaddingException; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.nio.charset.StandardCharsets; |
This file contains hidden or 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
package my.crypto; | |
import javax.crypto.*; | |
import javax.crypto.spec.DESKeySpec; | |
import javax.crypto.spec.DESedeKeySpec; | |
import javax.crypto.spec.IvParameterSpec; | |
import java.nio.charset.StandardCharsets; | |
import java.security.InvalidAlgorithmParameterException; | |
import java.security.InvalidKeyException; | |
import java.security.NoSuchAlgorithmException; |
This file contains hidden or 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
/** | |
* @ClassName MyMail | |
* @Description 封装好的半成品MyMail | |
* @Author Palmer | |
* @Date 2021/11/27 | |
**/ | |
public class MyMail { | |
private String mUserAddr; | |
private String mPassword; | |
private IMAPStore mStore = null; |
This file contains hidden or 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
#ifndef _MYCRTPTO_ | |
#define _MYCRTPTO_ | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> |
This file contains hidden or 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
// 被hook的app的包名 | |
String hookedPackageName = "com.xekvhaDYe.androie"; | |
// app里面的Activity | |
String hookedActivityName = "com.xekvhaDYu.android.a.MainActivity"; | |
if (hookedPackageName.equals(lpparam.packageName)) { | |
XposedBridge.log("has hooked..."); | |
XposedBridge.log("inner => " + lpparam.processName); | |
Class ActivityThread = XposedHelpers.findClass("android.app.ActivityThread", lpparam.classLoader); | |
XposedBridge.hookAllMethods(ActivityThread, "performLaunchActivity", new XC_MethodHook() { | |
@Override |
This file contains hidden or 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
DIM objShell | |
DIM command | |
set objShell=wscript.createObject("wscript.shell") | |
' 相关运行的cmd命令 | |
command="java -javaagent:BurpLoaderKeygen.jar -noverify -jar burpsuite_pro_v2021.7.jar" | |
iReturn=objShell.Run(command, 0, TRUE) |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<TriggerCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<Triggers> | |
<Trigger> | |
<Guid>gBH/MZ7ynUCRjBBVAZxEbw==</Guid> | |
<Name>On KeePass start: Auto Save buttons, initialize</Name> | |
<Events> | |
<Event> | |
<TypeGuid>1M7NtUuYT/KmqeJVJh7I6A==</TypeGuid> | |
<Parameters /> |