AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Text - Hex and Hex - text Help

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
SpiderGames



Joined: 09 Jun 2008
Posts: 464
Location: Canada

PostPosted: Sat Aug 23, 2008 3:02 am    Post subject: Text - Hex and Hex - text Help Reply with quote

Text (like words) can be converted to binary. Binary can be converted to Hexidecimal.

And Visversa.

How could I make a Script that has 2 edit box's and swaps TXT - HEX and HEX - TXT?
_________________

Xfire: SpiderGames77
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
SpiderGames



Joined: 09 Jun 2008
Posts: 464
Location: Canada

PostPosted: Sat Aug 23, 2008 3:03 am    Post subject: Reply with quote

PS.

Bin - 10100101011010100100100101...

Hex - 0A D4 6C 98 B2...

Text - Yo
_________________

Xfire: SpiderGames77
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
[VxE]



Joined: 07 Oct 2006
Posts: 1496

PostPosted: Sat Aug 23, 2008 4:57 am    Post subject: Reply with quote

Like this?

Code:
Gui, Add, Edit, r10 w400 vEdit1 gUpdate
Gui, Add, Edit, r10 X+2 w400 vEdit2
Gui, Show
return

Update:
msg =
oif := A_FormatInteger
SetFormat, Integer, h
GuiControlGet, Edit1
Loop, Parse, Edit1
   msg .= StringUpper(SubStr( 0+Asc(A_LoopField), 3 )) " "
GuiControl,, Edit2, % msg
SetFormat, Integer, %oif%
return

StringUpper(string, t="")
{
   StringUpper, string, string, %t%
   return string
}


Just fyi: hex is binary, though superficially condensed to a quarter of its length. In other words, hex and bin are slightly different ways of expressing the same information.
_________________
My Home Thread
More Common Answers: [1]. It's in the FAQ [2]. Ternary ( a ? b : c ) guide [3]. Post code inside [code][/code] tags !
Back to top
View user's profile Send private message
Guest






PostPosted: Sat Aug 23, 2008 9:57 am    Post subject: Reply with quote

omg vxe your a genious
Back to top
SpiderGames



Joined: 09 Jun 2008
Posts: 464
Location: Canada

PostPosted: Sat Aug 23, 2008 12:40 pm    Post subject: Reply with quote

yes I know that but..

Ok.

I like hacking.

When you "Sniff" information it is in HEX.

If you convert it into TEXT the varriables are muc easyer to change. Then all I have to do Is edit the text convert it into HEX And inject it into what im hacking.
Ur script converts TEXT - HEX how can I make it convert Hex - TEXT now?
_________________

Xfire: SpiderGames77
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group