Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello

i have a app , this app encoded string to base64 , but i think encrypted using aes or rsa

how can i decrypt this string using brutofrce or any way ?


iWX/pVPD5TsO1fZJmSL+0w==


uPPVU/p8ceuRMwGczcZoHA==


i want decode in c#

What I have tried:

Not tried any , because after decode with base64 not see correct byte or string.
Posted
Updated 28-Nov-20 8:34am
Comments
BillWoodruff 28-Nov-20 7:20am    
do you have the password or decryption key ?
Member 14719609 28-Nov-20 7:54am    
i have not any key , i have entered:

myusername encrypted to : iWX/pVPD5TsO1fZJmSL+0w==

mypassword encrypted to : uPPVU/p8ceuRMwGczcZoHA==

allways encoded string will change , after some time again :

myusername encrypted to : OLDb8xNGi9SsAGLjRmymEg==

mypassword encrypted to : JTrWvWrgAQzDSVbwfzUIJQ==

in the first connection to server , server send Two string :

1 - <servertime>2020-08-21 15:26:03

2 - <msg>MIIDeDCCAuGgAwIBAgIEAKSGoTANBgkqhkiG9w0BAQUFADBIMQswCQYDVQQGEwJrcjEQMA4GA1UEChMHeWVzc2lnbjETMBEGA1UECxMKTGljZW5zZWRDQTESMBAGA1UEAxMJeWVzc2lnbkNBMB4XDTAzMDEyMjAzMDgwMFoXDTA0MDEyMjAzMDc1OVowgYYxCzAJBgNVBAYTAmtyMRAwDgYDVQQKEwd5ZXNzaWduMQ8wDQYDVQQLEwZzZXJ2ZXIxEDAOBgNVBAsTB3llc3NpZ24xJDAiBgNVBAsTG3NhbXN1bmdsaWZlaW5zdXJhbmNlLmNvLmx0ZDEcMBoGA1UEAxMTd3d3LnNhbXN1bmdsaWZlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxADjecCb9A5Y+IAZ4vdjiA83OTkuEcU0OPsR9sYvmuxSsmHzFYVV58BIrcW8GYLJhK+Mznadf+q+4jB6t6ouaQER2itjfxaiUnEY/UpR+J+JXkdplEpkLzlH+0IW+LX04ckfzbbOho3J4zDocfJBoM/gRP+kE7hk7EbIXFkRwN8CAwEAAaOCAS4wggEqMB8GA1UdIwQYMBaAFOLsbSzlfZvAnqwBU3m6mo+ahdkLMB0GA1UdDgQWBBTguDUZ29jpo8wsWEk4/gGzONri+DAOBgNVHQ8BAf8EBAMCBSAwGQYDVR0gAQH/BA8wDTALBgkqgxqMmkUBAQMwLwYDVR0RBCgwJqAkBgkqgxqMmkQKAQGgFzAVDBN3d3cuc2Ftc3VuZ2xpZmUuY29tMFIGA1UdHwRLMEkwR6BFoEOGQWxkYXA6Ly8yMDMuMjMzLjkxLjM1OjM4OS9vdT1kcDJwMzU5NSxvdT1MaWNlbnNlZENBLG89eWVzc2lnbixjPWtyMDgGCCsGAQUFBwEBBCwwKjAoBggrBgEFBQcwAYYcaHR0cDovL29jc3AueWVzc2lnbi5vcmc6NDYxMjANBgkqhkiG9w0BAQUFAAOBgQB01AX9wkURoJ8TEfKl/wT+ahccqioj+DBB1LNbmdDNYsIcb3CVOEM6v/i2GQVlVI+J6HeoPzvKmt8si5Ue36iE83oFqWn+wEF0VucUbiJQFWPEi5+x1AM5rgnPoa43CZcNx95IwrEB9vTt31MfA2muh2OlOgjTr9DLXZCF8bPJog==
Richard MacCutchan 28-Nov-20 7:52am    
You first need to check the encryption code to find out how to decrypt it. Without that information and any password it is pretty much impossible.
Member 14719609 28-Nov-20 7:57am    
but this is application , i have not source code to check it.
How can i check or find encrypted method ?
Richard MacCutchan 28-Nov-20 9:44am    
How should we know? We have even less information about this code.

That's not encrypted: it's base64 encoded.
But what is encoded is probably a hashed value of some form - unless you have access to the source code that is encrypting the data you stand pretty much no chance of working out what is stored - especially as that hashed value appears to be salted (the same input does not always give you are same output) and almost certainly is used to fetch data from a DB rather than containing the "raw" information itself.

Without the source - and probably access to the DB - you stand no chance at all of getting "your data" back from the Base64 string you have access to.
 
Share this answer
 
Passwords are usually encrypted with "one way trap door" algorithms, they cannot be decrypted back in reverse order. The server authenticates those only by comparing the two hashes, one that you send and the other that is stored on the server side but there is no decryption step involved when authenticating
 
Share this answer
 
Comments
Member 14719609 28-Nov-20 9:07am    
but this is not only password , this application send and recived 4 time field from server and client , all send and recive data , recived data from server also encrypted and after Recive with windows form decrypted and Show in form.
steveb 28-Nov-20 9:18am    
To decrypt you need to know what algorithm they use SHA256, SHA128, etc. And you need to know the "public key".
Member 14719609 28-Nov-20 11:47am    
No have public key :(
The first step is to convert the base back to a stream of bytes. That's easy.

The hard part is decrypting the stream of bytes. To do this, you MUST know the following:

1) Which algorithm was used to encrypt the data
2) the key to be used to decrypt it

Without that, you're wasting your time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900