Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

RC4 Password Encrypter [Secure]


[-]==[About]==[-]

In this thread - Here - A user released an unsecure program.

So as I was bored I made my own, Originally posted - Here

And was asked to release it, So here it is.

[-]==[Information]==[-]

It uses RC4 Encryption with a password to save your accounts.

The accounts are saved to the settings (Still encrypted) and re-added upon execution.

The site is shown in a listview unencrypted but the username and passwords are shown still encrypted.

You can select the item and decrypt the password using your encryption key to get a message box of your account details.

[-]==[Pictures]==[-]

[Image: sK3FVWj.png]

[Image: urV5tSU.png]

[-]==[GIF]==[-]

  (Click to View)

[-]==[Download]==[-]

This was created in about 20 minutes while bored, It's honestly horribly coded...

Download - Here

Post to keep the thread alive.




[Image: vjPWhyy.gif]
Nice release. I was searching how to do RC4 for .NET. I would love to have it. Thanks.
if u use the public old rc4 (string) then u gona have problem with unicode better use the byte one
(May 24, 2014 11:58 PM)Only3 Wrote:  if u use the public old rc4 (string) then u gona have problem with unicode better use the byte one

Shit, Good point.

I will do so later, Can't be bothered with it now.
[Image: vjPWhyy.gif]
Why didn't you put the source of the encryption?
Code
Public Function rc4(ByVal message As String, ByVal password As String) As String
      Dim num As Integer = 0
      Dim num1 As Integer = 0
      Dim stringBuilder As System.Text.StringBuilder = New System.Text.StringBuilder()
      Dim empty As String = String.Empty
      Dim numArray(257) As Integer
      Dim numArray1(257) As Integer
      Dim length As Integer = password.Length
      Dim num2 As Integer = 0
      While num2 <= 255
      Dim charArray As Char = password.Substring(num2 Mod length, 1).ToCharArray()(0)
      numArray1(num2) = Strings.Asc(charArray)
      numArray(num2) = num2
      Math.Max(Interlocked.Increment(num2), num2 - 1)
      End While
      Dim num3 As Integer = 0
      Dim num4 As Integer = 0
      While num4 <= 255
      num3 = (num3 + numArray(num4) + numArray1(num4)) Mod 256
      Dim num5 As Integer = numArray(num4)
      numArray(num4) = numArray(num3)
      numArray(num3) = num5
      Math.Max(Interlocked.Increment(num4), num4 - 1)
      End While
      num2 = 1
      While num2 <= message.Length
      Dim num6 As Integer = 0
      num = (num + 1) Mod 256
      num1 = (num1 + numArray(num)) Mod 256
      num6 = numArray(num)
      numArray(num) = numArray(num1)
      numArray(num1) = num6
      Dim num7 As Integer = numArray((numArray(num) + numArray(num1)) Mod 256)
      Dim chr As Char = message.Substring(num2 - 1, 1).ToCharArray()(0)
      Dim num8 As Integer = Strings.Asc(chr) Xor num7
      stringBuilder.Append(Strings.Chr(num8))
      Math.Max(Interlocked.Increment(num2), num2 - 1)
      End While
      empty = stringBuilder.ToString()
      stringBuilder.Length = 0
      Return empty
    End Function
(May 25, 2014 04:35 AM)evolution74 Wrote:  Why didn't you put the source of the encryption?
Code
Public Function rc4(ByVal message As String, ByVal password As String) As String
      Dim num As Integer = 0
      Dim num1 As Integer = 0
      Dim stringBuilder As System.Text.StringBuilder = New System.Text.StringBuilder()
      Dim empty As String = String.Empty
      Dim numArray(257) As Integer
      Dim numArray1(257) As Integer
      Dim length As Integer = password.Length
      Dim num2 As Integer = 0
      While num2 <= 255
      Dim charArray As Char = password.Substring(num2 Mod length, 1).ToCharArray()(0)
      numArray1(num2) = Strings.Asc(charArray)
      numArray(num2) = num2
      Math.Max(Interlocked.Increment(num2), num2 - 1)
      End While
      Dim num3 As Integer = 0
      Dim num4 As Integer = 0
      While num4 <= 255
      num3 = (num3 + numArray(num4) + numArray1(num4)) Mod 256
      Dim num5 As Integer = numArray(num4)
      numArray(num4) = numArray(num3)
      numArray(num3) = num5
      Math.Max(Interlocked.Increment(num4), num4 - 1)
      End While
      num2 = 1
      While num2 <= message.Length
      Dim num6 As Integer = 0
      num = (num + 1) Mod 256
      num1 = (num1 + numArray(num)) Mod 256
      num6 = numArray(num)
      numArray(num) = numArray(num1)
      numArray(num1) = num6
      Dim num7 As Integer = numArray((numArray(num) + numArray(num1)) Mod 256)
      Dim chr As Char = message.Substring(num2 - 1, 1).ToCharArray()(0)
      Dim num8 As Integer = Strings.Asc(chr) Xor num7
      stringBuilder.Append(Strings.Chr(num8))
      Math.Max(Interlocked.Increment(num2), num2 - 1)
      End While
      empty = stringBuilder.ToString()
      stringBuilder.Length = 0
      Return empty
    End Function

That's not the source used, But thanks for posting it anyway.
[Image: vjPWhyy.gif]
this one seems very interesting for me
Sure is not:
  (Click to View)
(May 25, 2014 05:27 AM)evolution74 Wrote:  Sure is not:

Use spoilers on images.

And it's not, The decompiler must have edited it.
[Image: vjPWhyy.gif]
very very thanks .... nice share ...
(May 25, 2014 05:37 AM)$lick Wrote:  And it's not, The decompiler must have edited it.

What is more believable?
1) A top decompiler edited the code for no reason
or
2) You don't want people to know you want to look good by using a free code from google
(May 25, 2014 05:58 AM)evolution74 Wrote:  What is more believable?
1) A top decompiler edited the code for no reason
or
2) You don't want people to know you want to look good by using a free code from google

Are you somewhat retarded?

That is NOT The code I use, Ask anybody that I have given the source too.

EDIT: Also it says all over the program and all over the thread and even the fucking title of both that it uses RC4 I did not create RC4, Now please leave this thread.
[Image: vjPWhyy.gif]
:) you're stupid you know?
PS: You made my day coz I like to fuck with people
(May 25, 2014 05:58 AM)evolution74 Wrote:  What is more believable?
1) A top decompiler edited the code for no reason
or
2) You don't want people to know you want to look good by using a free code from google

What are you saying? First of all .NET Reflector is much better than JustDecompile because .NET Reflector was the first stable decompiler. Second he didn't reinvented RC4 so anyone posted originally maybe?

(May 25, 2014 06:26 AM)evolution74 Wrote:  :) you're stupid you know?
PS: You made my day coz I like to fuck with people
We don't need more people like you thanks.
(May 25, 2014 06:26 AM)evolution74 Wrote:  :) you're stupid you know?
PS: You made my day coz I like to fuck with people

You're the stupid one here.

The code you posted was still wrong and all your statements are false.

You won't last here very long acting like a twat.
[Image: vjPWhyy.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by MiguelSanchezFeb 1, 2022 08:17 AM 0 161 Feb 1, 2022 08:17 AM
Last Post: MiguelSanchez
[C#] by VikhedgehogMay 3, 2018 06:26 AM 2 450 May 3, 2018 06:26 AM
Last Post: SlowMehMo
[C#] by DecimJun 30, 2017 07:12 AM 20 1,394 Jun 30, 2017 07:12 AM
Last Post: AmericanExpress