Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text Flip [TuT]
#21
Ill use this in my future projects thank you
Reply
#22
Thanks for source code......
[Image: 20r9vh4.jpg]
Reply
#23
Thank you very much for this but I need a code for unflipping the text if possible, thanks

NVM the unflip code, I already figured out how to do

For the unflip code
add two new textboxes (textbox3 and textbox4)
then put this to the unflip button
Code:
Dim str As String, Newstr As String = Nothing
        str = TextBox3.Text
        For Each StrText As String In str
            Select Case True
                Case StrText = "p"
                    StrText = "b"
                Case StrText = "b"
                    StrText = "p"
                Case StrText = "d"
                    StrText = "q"
                Case StrText = "q"
                    StrText = "d"
                Case StrText = "n"
                    StrText = "u"
                Case True
                    For I = 0 To V.Length - 1
                        StrText = StrText.Replace(X.ElementAt(I), _
                        V.ElementAt(I))
                    Next
            End Select
            Newstr &= StrText

        Next
        TextBox4.Text = Newstr
        TextBox4.Text = StrReverse(TextBox4.Text)
Reply
#24
Thanks a lot for the share mate.
I will try it now.
~ven0m
[Image: 3dtextven0mhf.png]
Reply
#25
You know this whole thing could be simplified down to something like this:
Code:
Dim X() As Char = "¿/˙'\‾¡zʎxʍʌnʇsɹbdouɯlʞɾıɥƃɟǝpɔqɐ".ToCharArray, _
V As String = "?\.,/_!zyxwvutsrqponmlkjihgfedcba"

Dim InputString As String = "Testing#123"
MsgBox(StrReverse(New String((From Obj As Char In InputString.ToCharArray()
                                            Select If(V.IndexOf(Obj) <> -1, X(V.IndexOf(Obj)), Obj)).ToArray)))

Try that on for size lol. Lets see if anyone can tell me how my example even works Smile

It's missing the flipped text for uppercase letters though, I don't have those.

Edit: Could be a function too:
Code:
Private Shared Function TextFlip(InputString As String) As String
    Dim X() As Char = "¿/˙'\‾¡zʎxʍʌnʇsɹbdouɯlʞɾıɥƃɟǝpɔqɐ".ToCharArray, _
        V As String = "?\.,/_!zyxwvutsrqponmlkjihgfedcba"
    Return StrReverse(New String((From Obj As Char In InputString.ToCharArray()
                                        Select If(V.IndexOf(Obj) <> -1, X(V.IndexOf(Obj)), Obj)).ToArray))
End Function

C# Example that i've made:
Code:
private string TextFlip(string InputString)
{
    char[] X = @"¿/˙'\‾¡zʎxʍʌnʇsɹbdouɯlʞɾıɥƃɟǝpɔqɐ".ToCharArray();
    string V = @"?\.,/_!zyxwvutsrqponmlkjihgfedcba";

    return new string((from char obj in InputString.ToCharArray()
               select (V.IndexOf(obj) != -1) ? X[V.IndexOf(obj)] : obj).Reverse().ToArray());

}
Reply
#26
Just as a suggestion, you could put this in function form and add it to malware you create... An example being a keylogger.

The user making the keylogger submits their email, which you want to be secure, so you can use this + the string reversed.

Then, when it comes time, unflip and unreverse the text for it to be used.

Just another way to keep things secure.
Reply
#27
(04-20-2012, 01:06 AM)killermanjaro65 Wrote: Just as a suggestion, you could put this in function form and add it to malware you create... An example being a keylogger.

The user making the keylogger submits their email, which you want to be secure, so you can use this + the string reversed.

Then, when it comes time, unflip and unreverse the text for it to be used.

Just another way to keep things secure.

People don't create malware on SF. Huh

And that's exactly what I did here: http://www.supportforums.net/showthread....#pid277662

It's put into a function, but with also more optimized code
Reply
#28
(04-20-2012, 02:42 PM)AceInfinity Wrote: People don't create malware on SF. Huh

And that's exactly what I did here: http://www.supportforums.net/showthread....#pid277662

It's put into a function, but with also more optimized code

I'm talking about the coders that come here from HF... They could use this in their malware, but it's just an option.
Reply
#29
(04-22-2012, 09:21 PM)killermanjaro65 Wrote: I'm talking about the coders that come here from HF... They could use this in their malware, but it's just an option.

We don't talk about Malware here anyways because it's against the rules to discuss development of anything of that nature. Lots of people come from that forum, but it doesn't mean the discussion here has to be geared towards the same ideas.
Reply
#30
Great, easy tutorial! I will just make one for myself as i'm always googling "flip my text"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [TUT] How to make a simple WebBrowser in VB 2010! [TUT] - [ Pictures] Statics 95 61,883 10-07-2012, 06:56 AM
Last Post: a99
  [TUT]Auto-Update System[TUT] HB Virus 3 2,427 01-07-2012, 02:21 PM
Last Post: Mastermrz
  TextBox2.Text | Transfer Text to ListBox Die 3 2,672 01-02-2012, 06:09 PM
Last Post: AceInfinity
  [TUT]Enable and Disable TaskManger in vb.net [TUT] HB Virus 4 3,174 12-19-2011, 10:10 AM
Last Post: euverve
  Text Converter. Turn your text upside down! Red X 29 8,700 08-01-2011, 07:46 AM
Last Post: Red X

Forum Jump:


Users browsing this thread: 5 Guest(s)